myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Herbert (Commented) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOMAHAWK-508) panelNavigation2 Repeating Entries
Date Mon, 19 Dec 2011 13:05:30 GMT

    [ https://issues.apache.org/jira/browse/TOMAHAWK-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172249#comment-13172249
] 

Benjamin Herbert commented on TOMAHAWK-508:
-------------------------------------------

The bug still appears with version 1.1.11. 

Maybe someone can adjust the "Affects Version/s:" field, so this issue does not get forgotten.
                
> panelNavigation2 Repeating Entries
> ----------------------------------
>
>                 Key: TOMAHAWK-508
>                 URL: https://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, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message