myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mads Peter Henderson (JIRA)" <>
Subject [jira] Created: (MYFACES-100) Rendered attribute breaks param for commandnavigation
Date Thu, 03 Feb 2005 17:23:19 GMT
Rendered attribute breaks param for commandnavigation

         Key: MYFACES-100
     Project: MyFaces
        Type: Bug
    Versions: 1.0.8 beta    
    Reporter: Mads Peter Henderson
    Priority: Minor

When adding an f:param to an x:commandNavigation tag with a declared rendered attribute, the
parameter is not passed in the command.

<x:commandNavigation id="my_id"
 <f:param name="my_param_id" value="#{myBean.my_non_null_attribute}" />

Does not place a "my_param_id" parameter in the request when the user clicks the menu link.
Removinging the rendered attribute out however works fine.

Work around, use jsp-scriplets to place "if" statements around the commandNavigation instead
of using the rendered attribute, this however causes a lot of warnings in the log.


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message