[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2330) list.xhtml - Create Button disappearing when navigating

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Mar 11 08:23:09 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2330?page=all ]

Pete Muir updated JBSEAM-2330:
------------------------------

    Fix Version/s: 2.1.0.GA

> list.xhtml - Create Button disappearing when navigating
> -------------------------------------------------------
>
>                 Key: JBSEAM-2330
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2330
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.0.0.GA
>            Reporter: Dupont Dupont
>             Fix For: 2.1.0.GA
>
>
> When using seam-gen (2.0.0) I have the following issue : in list page, button 'Create entity' can disappear.
> To reproduce the problem, you'll need 2 associated entities (i.e. @ManyToOne) :
> 1 - navigate to entity A list.
> 2 - click 'Create entity A' button.
> 3 - click 'Select entity B' button.
> 4 - on entity B edit page, just click on the menu link 'Entity A List'
> 5 - you're back to 'Entity A List' page, but the 'Create entity A' button just disappeared. 
> This issue is because Create button is rendered only if 'from' parameter is empty : 
> <s:div styleClass="actionButtons" rendered="#{empty from}">	
> This isn't the case in interaction 4->5.
> Modifying menu.xhtml to force from parameter to '' and resolves this issue :
> changed from 
> <s:link view="/CustomerList.xhtml" 
>        value="Customer List" 
>  propagation="none"/>	
> to : 
> <s:link view="/CustomerList.xhtml" 
>        value="Customer List" 
>  propagation="none">
>  	<f:param name="from" value=""/>
> </s:link>	

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list