2 Replies Latest reply on Jun 14, 2011 11:23 AM by Marcos Simón

    rich:component with parameters

    Marcos Simón Newbie

      Hi,

       

      I try to send some parameters into rich:component this way:

       

      The call

      #{rich:component('popupCargando')}.show(event, {'key1':'value1'},{'key2':'value2'});

       

      And the popuPanel

      <rich:popupPanel modal="true" moveable="false" autosized="true" id="popupCargando" domElementAttachment="form"

                onshow="alert(event.parameters.key1)">

       

      </rich:popupPanel> 

       

       

      This is a bit example, I want to use these params to be showed into the popupPanel, but I don't know how.

       

      I have searched but I have just only found this threads below:

      http://community.jboss.org/message/58563

      http://community.jboss.org/message/46605

       

       

      Any help will be appreciated.

       

      Thanks,

       

      Marcos