Javascript error with f:subview and jsp:include
Hi,
I have tried to include one jsp page with jsf components into another jsp page with jsf components. But somehow I get a Javascript error.
I have of course included the jsp:include into an f:subview like this:
<f:subview id="tree" rendered="#{tabsBacker.treeRendered}">
<jsp:include page="mission.jsp" />
</f:subview>
In mission.jsp, all non-jsf tags are surrounded by f:verbatim tags (otherwise, JBoss would complain anyway).
The Javascript error says: "elements.form1:_link_hidden_ is null".
"form1" is the name of the form in my jsp page which includes the other one.
As soon as I remove the jsp:include thing, everything works fine. The include happens in a t:panelTabbedPane, and (probably as a result of the javascript error), the tab where the included page should be shown, can't be displayed. I can click on the tab, the page is reloaded, but nothing else happens.
The error occurs in IE and in Firefox.
Can anyone help me to solve this problem?
Kind regards,
Wiebke

