You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2006/09/19 07:33:24 UTC
[jira] Resolved: (TOMAHAWK-508) panelNavigation2 Repeating Entries
[ 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