Skip to content
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

Closed
ren-zhijun-oracle opened this issue Jul 30, 2004 · 8 comments
Assignees

Comments

@ren-zhijun-oracle
Copy link
Contributor

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]

@ren-zhijun-oracle
Copy link
Contributor Author

@javaserverfaces Commented
Reported by youngm

@ren-zhijun-oracle
Copy link
Contributor Author

@javaserverfaces Commented
Was assigned to rogerk

@ren-zhijun-oracle
Copy link
Contributor Author

@javaserverfaces Commented
rogerk said:
This sounds like a symptom of a related bug that has been fixed.
I'll take a look.

-roger

@ren-zhijun-oracle
Copy link
Contributor Author

@javaserverfaces Commented
rogerk said:
Can't duplicate this problem. As I suspected, it may have been
fixed with the resolution of issue #12:
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=12

This fix was checked into the workspace sometime around July 22, 2004.

-roger

@ren-zhijun-oracle
Copy link
Contributor Author

@javaserverfaces Commented
Marked as incomplete on Wednesday, April 19th 2006, 5:44:32 am

@ren-zhijun-oracle
Copy link
Contributor Author

@javaserverfaces Commented
@manfredriem said:
Closing issue out

@ren-zhijun-oracle
Copy link
Contributor Author

@javaserverfaces Commented
This issue was imported from java.net JIRA JAVASERVERFACES-25

@ren-zhijun-oracle
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants