You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "James McCarthy (JIRA)" <de...@myfaces.apache.org> on 2006/06/28 17:19:31 UTC
[jira] Created: (TOMAHAWK-508) panelNavigation2 Repeating Entries
panelNavigation2 Repeating Entries
----------------------------------
Key: TOMAHAWK-508
URL: http://issues.apache.org/jira/browse/TOMAHAWK-508
Project: MyFaces Tomahawk
Type: Bug
Components: Panel Navigation2
Versions: 1.1.4-SNAPSHOT
Environment: Tomcat 5.5 MyFaces 1.1.3, Facelets 1.1.10
Reporter: James McCarthy
The navigation items are repeated if the panelNavigation2 tag is enclosed within a form and an action within another form refreshes to the same view. I have noticed this with JSP based tiles and with Facelet templates. The following is a simple Facelets page that will reproduce the problem. Note the two separate h:form tags. This is common when inside a template element but shown here to reproduce the problem in its simplest use.
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:t="http://myfaces.apache.org/tomahawk">
<head>
<title>Test Page</title>
</head>
<body>
<div id="wrap">
<div class="topnav" id="nav">
<h:form id="navigationForm">
<t:panelNavigation2><t:navigationMenuItem itemLabel="This Will Repeat" /></t:panelNavigation2>
</h:form>
<h:form id="rootForm">
<h:commandLink>Repeat</h:commandLink>
</h:form>
</div>
</div>
</body>
</html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-508) panelNavigation2 Repeating Entries
Posted by "Stephan Bublava (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-508?page=comments#action_12438685 ]
Stephan Bublava commented on TOMAHAWK-508:
------------------------------------------
Hmm, it seems that both tickets have been closed as duplicates of each other. One should be re-opened, since the problem still occurs with the lastest nightly build.
> panelNavigation2 Repeating Entries
> ----------------------------------
>
> Key: TOMAHAWK-508
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-508
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Panel Navigation2
> Affects Versions: 1.1.4-SNAPSHOT
> Environment: Tomcat 5.5 MyFaces 1.1.3, Facelets 1.1.10
> Reporter: James McCarthy
> Assigned To: Martin Marinschek
>
> The navigation items are repeated if the panelNavigation2 tag is enclosed within a form and an action within another form refreshes to the same view. I have noticed this with JSP based tiles and with Facelet templates. The following is a simple Facelets page that will reproduce the problem. Note the two separate h:form tags. This is common when inside a template element but shown here to reproduce the problem in its simplest use.
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:t="http://myfaces.apache.org/tomahawk">
> <head>
> <title>Test Page</title>
> </head>
> <body>
> <div id="wrap">
> <div class="topnav" id="nav">
> <h:form id="navigationForm">
> <t:panelNavigation2><t:navigationMenuItem itemLabel="This Will Repeat" /></t:panelNavigation2>
> </h:form>
> <h:form id="rootForm">
> <h:commandLink>Repeat</h:commandLink>
> </h:form>
> </div>
> </div>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-508) panelNavigation2 Repeating Entries
Posted by "Achim Breunig (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-508?page=comments#action_12420319 ]
Achim Breunig commented on TOMAHAWK-508:
----------------------------------------
I could reproduce this problem with the 1.1.5-SNAPSHOT when using the STATE_SAVING_METHOD 'client'.
When I switched to STATE_SAVING_METHOD 'server' it works fine.
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
> panelNavigation2 Repeating Entries
> ----------------------------------
>
> Key: TOMAHAWK-508
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-508
> Project: MyFaces Tomahawk
> Type: Bug
> Components: Panel Navigation2
> Versions: 1.1.4-SNAPSHOT
> Environment: Tomcat 5.5 MyFaces 1.1.3, Facelets 1.1.10
> Reporter: James McCarthy
>
> The navigation items are repeated if the panelNavigation2 tag is enclosed within a form and an action within another form refreshes to the same view. I have noticed this with JSP based tiles and with Facelet templates. The following is a simple Facelets page that will reproduce the problem. Note the two separate h:form tags. This is common when inside a template element but shown here to reproduce the problem in its simplest use.
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:t="http://myfaces.apache.org/tomahawk">
> <head>
> <title>Test Page</title>
> </head>
> <body>
> <div id="wrap">
> <div class="topnav" id="nav">
> <h:form id="navigationForm">
> <t:panelNavigation2><t:navigationMenuItem itemLabel="This Will Repeat" /></t:panelNavigation2>
> </h:form>
> <h:form id="rootForm">
> <h:commandLink>Repeat</h:commandLink>
> </h:form>
> </div>
> </div>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (TOMAHAWK-508) panelNavigation2 Repeating Entries
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-508?page=all ]
Martin Marinschek resolved TOMAHAWK-508.
----------------------------------------
Resolution: Duplicate
Assignee: Martin Marinschek
Duplicate of TOMAHAWK-673
> panelNavigation2 Repeating Entries
> ----------------------------------
>
> Key: TOMAHAWK-508
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-508
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Panel Navigation2
> Affects Versions: 1.1.4-SNAPSHOT
> Environment: Tomcat 5.5 MyFaces 1.1.3, Facelets 1.1.10
> Reporter: James McCarthy
> Assigned To: Martin Marinschek
>
> The navigation items are repeated if the panelNavigation2 tag is enclosed within a form and an action within another form refreshes to the same view. I have noticed this with JSP based tiles and with Facelet templates. The following is a simple Facelets page that will reproduce the problem. Note the two separate h:form tags. This is common when inside a template element but shown here to reproduce the problem in its simplest use.
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:t="http://myfaces.apache.org/tomahawk">
> <head>
> <title>Test Page</title>
> </head>
> <body>
> <div id="wrap">
> <div class="topnav" id="nav">
> <h:form id="navigationForm">
> <t:panelNavigation2><t:navigationMenuItem itemLabel="This Will Repeat" /></t:panelNavigation2>
> </h:form>
> <h:form id="rootForm">
> <h:commandLink>Repeat</h:commandLink>
> </h:form>
> </div>
> </div>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-508) panelNavigation2 Repeating Entries
Posted by "Abhilash Kumar (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-508?page=comments#action_12435178 ]
Abhilash Kumar commented on TOMAHAWK-508:
-----------------------------------------
This issue is duplicated by me (sorry.. i didn't see this post ) as TOMAHAWK-673. In my post, i have written step by step instructions to recreate this problem with myfaces-example-simple-1.1.5-SNAPSHOT.war.
> panelNavigation2 Repeating Entries
> ----------------------------------
>
> Key: TOMAHAWK-508
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-508
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Panel Navigation2
> Affects Versions: 1.1.4-SNAPSHOT
> Environment: Tomcat 5.5 MyFaces 1.1.3, Facelets 1.1.10
> Reporter: James McCarthy
>
> The navigation items are repeated if the panelNavigation2 tag is enclosed within a form and an action within another form refreshes to the same view. I have noticed this with JSP based tiles and with Facelet templates. The following is a simple Facelets page that will reproduce the problem. Note the two separate h:form tags. This is common when inside a template element but shown here to reproduce the problem in its simplest use.
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:t="http://myfaces.apache.org/tomahawk">
> <head>
> <title>Test Page</title>
> </head>
> <body>
> <div id="wrap">
> <div class="topnav" id="nav">
> <h:form id="navigationForm">
> <t:panelNavigation2><t:navigationMenuItem itemLabel="This Will Repeat" /></t:panelNavigation2>
> </h:form>
> <h:form id="rootForm">
> <h:commandLink>Repeat</h:commandLink>
> </h:form>
> </div>
> </div>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Reopened: (TOMAHAWK-508) panelNavigation2 Repeating Entries
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-508?page=all ]
Martin Marinschek reopened TOMAHAWK-508:
----------------------------------------
Assignee: (was: Martin Marinschek)
> panelNavigation2 Repeating Entries
> ----------------------------------
>
> Key: TOMAHAWK-508
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-508
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Panel Navigation2
> Affects Versions: 1.1.4-SNAPSHOT
> Environment: Tomcat 5.5 MyFaces 1.1.3, Facelets 1.1.10
> Reporter: James McCarthy
>
> The navigation items are repeated if the panelNavigation2 tag is enclosed within a form and an action within another form refreshes to the same view. I have noticed this with JSP based tiles and with Facelet templates. The following is a simple Facelets page that will reproduce the problem. Note the two separate h:form tags. This is common when inside a template element but shown here to reproduce the problem in its simplest use.
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:t="http://myfaces.apache.org/tomahawk">
> <head>
> <title>Test Page</title>
> </head>
> <body>
> <div id="wrap">
> <div class="topnav" id="nav">
> <h:form id="navigationForm">
> <t:panelNavigation2><t:navigationMenuItem itemLabel="This Will Repeat" /></t:panelNavigation2>
> </h:form>
> <h:form id="rootForm">
> <h:commandLink>Repeat</h:commandLink>
> </h:form>
> </div>
> </div>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira