This content has been marked as final.
Show 1 reply
-
1. Re: ActionParam doesn't work inside SuggestionBox
rhancke Oct 8, 2008 8:31 AM (in response to mcsous)mcsous,
Try this code:... <rich:suggestionbox width="200" height="100" for="searchCofigs" suggestionAction="#{config.autocomplete}" var="obj" fetchValue="#{obj.id}"> ... <a4j:support event="onselect" ajaxSingle="true"> <a4j:actionparam id="param1" value="#{obj.param1}" assignTo="#{config.param1}"/> </a4j:support> </rich:suggestionbox>
"mcsous" wrote:
Hello,
I need to pass more information to the suggestion action method. I tried do add actionParam components, but didn't work. The code used is:<rich:suggestionbox width="200" height="100" for="searchCofigs" suggestionAction="#{config.autocomplete}" var="obj" ajaxSingle="true" fetchValue="#{obj.id}"> ... <a4j:actionparam id="param1" value="#{bean.param1}" assignTo="#{config.param1}"/> </rich:suggestionbox>
Any idea to send this parameter to the config bean?