myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mads Peter Henderson (JIRA)" <incubator-...@incubator.apache.org>
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
         URL: http://issues.apache.org/jira/browse/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.

Example:
<x:commandNavigation id="my_id"
                     value="my_text"
                     action="my_action"
                     rendered="#{a_boolean_expression}">
 <f:param name="my_param_id" value="#{myBean.my_non_null_attribute}" />
</x:commandNavigation>

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.

Thanks
Mads

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message