webtier@glassfish.java.net

Composite components pass variables

From: <webtier_at_javadesktop.org>
Date: Mon, 15 Mar 2010 08:45:05 PDT

I have a problem. I need to pass variables to action method at my composite components. As far as I understand cc.attrs is request scoped. When I click on button

<h:commandButton value="test" action="#{controller.testAction(cc.attrs.name)}"/>

i receive null instead of name. So how to pass name to my controller bean? Please somebody help me
[Message sent by forum member 'neverminddenis' (zhupinskij_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=391961