-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with subviews, verbatim, form, and client state management #29
Comments
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented -roger |
@javaserverfaces Commented This fix was checked into the workspace sometime around July 22, 2004. -roger |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
|
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: