This content has been marked as final. 
    
Show                 7 replies
    
- 
        1. Re: how to get parameters by namenbelaevski Apr 28, 2009 11:18 AM (in response to ipraveenjain)Hello, 
 That happens because clientId is used: http://www.ibm.com/developerworks/library/j-jsf4/ . Can you please post page code involving parameter?
- 
        2. Re: how to get parameters by nameipraveenjain Apr 28, 2009 9:24 PM (in response to ipraveenjain)i have this page 
 <t:column>
 <t:outputLabel value="Cluster Name:" />
 <br />
 <h:inputText style="width: 400px;" value="#{mainBind.customWizard.clusterName}" id="clstrname" >
 <f:param name="cname" value="#{mainBind.customWizard.clusterName}"></f:param>
 <f:param name="cname2" value="1236"></f:param>
 </h:inputText>
 <br />
 <t:outputLabel value="Description:" />
 <br />
 <t:inputTextarea style="width: 400px;" value="#{mainBind.customWizard.clusterName}" id="clstrdesc"></t:inputTextarea>
 <br />
 <h:selectBooleanCheckbox id="selboolean" value="true" />
 <h:outputLabel for="selboolean" value="Default cluser" />
 <br />
 <h:selectBooleanCheckbox id="crt" value="false" />
 <h:outputLabel for="crt" value="Create cluser only" />
 </t:column>
 and i want to access the value of inputbox in my java code.
- 
        3. Re: how to get parameters by namenbelaevski Apr 29, 2009 1:02 AM (in response to ipraveenjain)I see. Two possible options: 
 1. Bind value to the model
 2. Use clientId to reference submitted parameter
- 
        4. Re: how to get parameters by nameipraveenjain Apr 29, 2009 1:11 AM (in response to ipraveenjain)will you please explain more about these two options. 
- 
        5. Re: how to get parameters by namenbelaevski Apr 29, 2009 8:32 AM (in response to ipraveenjain)Sure: 
 1. <h:selectBooleanCheckbox id="selboolean" value="#{bean.property}" />
 2. context.getExternalContext().getRequestParameterMap().get(select.getClientId(context));
- 
        6. Re: how to get parameters by nameipraveenjain Apr 29, 2009 9:37 PM (in response to ipraveenjain)hi 
 pls tell "select" is of which type of object?
 as u write get(select.getClientId(context));
- 
        7. Re: how to get parameters by namenimo22 Apr 29, 2009 10:40 PM (in response to ipraveenjain)select is your UI-component, look at JSF-API. 
 
     
    