Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Problems with subviews, verbatim, form, and client state management #29

Closed
javaserverfaces opened this issue Jul 30, 2004 · 7 comments
Closed

Comments

@javaserverfaces
Copy link
Collaborator

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]

@javaserverfaces
Copy link
Collaborator Author

Reported by youngm

@javaserverfaces
Copy link
Collaborator Author

Was assigned to rogerk

@javaserverfaces
Copy link
Collaborator Author

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

-roger

@javaserverfaces
Copy link
Collaborator Author

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

@javaserverfaces
Copy link
Collaborator Author

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

@javaserverfaces
Copy link
Collaborator Author

@manfredriem said:
Closing issue out

@javaserverfaces
Copy link
Collaborator Author

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

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

No branches or pull requests

2 participants