You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
I have 2 pages main.jsp and menu.jsp. main.jsp includes menu.jsp. menu.jsp has a
form with a commandlink. The commandlink submits an action that then navigates
to some third page. When I click on the command link instead of navigating to
the third page main.jsp is reloaded and the command link has dissappeared.
If I try the exact same example using Server side state management everything
works fine.
If I remove the verbatim tags everything works fine.
If I move the verbatim tags below the command link everything works fine.
I originally posted this in the forum:
http://forum.java.sun.com/thread.jsp?forum=427&thread=541780
I have 2 pages main.jsp and menu.jsp. main.jsp includes menu.jsp. menu.jsp has a
form with a commandlink. The commandlink submits an action that then navigates
to some third page. When I click on the command link instead of navigating to
the third page main.jsp is reloaded and the command link has dissappeared.
If I try the exact same example using Server side state management everything
works fine.
If I remove the verbatim tags everything works fine.
If I move the verbatim tags below the command link everything works fine.
Anyone have any ideas?
main.jsp
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
See if this works.
<jsp:include page="menu.jsp" flush="false"/>
</f:view>
menu.jsp
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:subview id="menu">
<f:verbatim>Test Text</f:verbatim>
<h:form>
<h:commandLink action="error"><h:outputText value="test"/></h:commandLink>
</h:form>
</f:subview>
Environment
Operating System: All
Platform: All
Affected Versions
[1.1]
The text was updated successfully, but these errors were encountered: