This content has been marked as final.
Show 5 replies
-
1. Re: Adding parameter to action in suggestionbox
ilya_shaikovsky Nov 9, 2007 6:11 AM (in response to gweb79)use f:param.
-
2. Re: Adding parameter to action in suggestionbox
gweb79 Nov 9, 2007 6:32 AM (in response to gweb79)Could you be a little more specific please. I am new to richfaces. How do you use f:param with the suggestionbox?
-
3. Re: Adding parameter to action in suggestionbox
kosmos Feb 26, 2008 9:26 AM (in response to gweb79)"ilya_shaikovsky" wrote:
use f:param.
How do you suggest to use f:param? any example? -
4. Re: Adding parameter to action in suggestionbox
ilya_shaikovsky Feb 28, 2008 5:34 AM (in response to gweb79)<rich:suggestionbox width="200" height="200" for="test" suggestionAction="#{bean.autocomplete}" var="cap"> <f:param name="index" value="suggestion param"/>
public List autocomplete(Object event) { System.out.println(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("index"));
in my log after calling suggestion:INFO: BEFORE RENDER_RESPONSE 6 suggestion param 28.02.2008 12:29:29 org.exadel.jsf.PhaseTracker afterPhase INFO: AFTER RENDER_RESPONSE 6
-
5. Re: Adding parameter to action in suggestionbox
kosmos Feb 28, 2008 7:52 AM (in response to gweb79)Thank you