This content has been marked as final.
Show 4 replies
-
1. Re: a4j:actionparam inside dynamically genrated menu
masterhard Apr 23, 2008 4:17 AM (in response to masterhard)Update: If I replace
<a4j:actionparam value="#{item}" assignTo="#{bean.selectedComputer2Dept}"/>
with<a4j:actionparam value="#{item.id}" assignTo="#{bean.selectedComputer2DeptId}"/>
method setSelectedComputer2DeptId is called. -
2. Re: a4j:actionparam inside dynamically genrated menu
ilya_shaikovsky Apr 25, 2008 6:58 AM (in response to masterhard)could ypu please try to add name attribute to actionparam? it's mandatory attribute.
-
3. Re: a4j:actionparam inside dynamically genrated menu
amitev Apr 25, 2008 8:06 AM (in response to masterhard)the component should thrown an exception if the name attribute is missign...
-
4. Re: a4j:actionparam inside dynamically genrated menu
masterhard May 16, 2008 3:09 AM (in response to masterhard)I tried to add name attribute - still nothing happens...
I am new to richfaces, but it looks like actionparam passes assigned value via JavaScript, so it is impossible to assign values of Java object type. Just primitive types (int, String and so on) are allowed. Am I right?