0 Replies Latest reply on Apr 27, 2009 2:06 AM by praveen jain

    unable to get parameter from model panel

    praveen jain Novice

      hi
      i have this code
      main.jsp

      <rich:modalPanel id="panelWizard" width="550" height="450"
       styleClass="wizardModalPanel" resizeable="false">
      <a4j:outputPanel>
       <a4j:include viewId="gotone.jsp" />
       </a4j:outputPanel>
      
       </rich:modalPanel>
      


      gotone.jsp

      <a4j:outputPanel>
       <a4j:include viewId="two.jsp" />
       </a4j:outputPanel>
      

      and code for two.jsp

      <t:panelGroup id="panelClusterWizard"
       style="width: 550; height: 335px;">
      <rich:panel rendered="#{mainBind.customWizard.slideIndex == 2}">
       <rich:panel
       style="height: 200; width:100%; padding: 8; background: #757575;">
       <t:panelGrid columns="2" style="background: #757575;">
       <t:column>
       <rich:spacer width="8px"></rich:spacer>
       </t:column>
       <t:column>
       <t:outputLabel value="Cluster Name:" />
       <br />
       <t:inputText style="width: 400px;" value="some" id="clstrname"></t:inputText>
       <f:param name="firstparam" value="paramvalue"></f:param>
       <br />
       <t:outputLabel value="Description:" />
       <br />
       <t:inputTextarea style="width: 400px;" value="val" id="clstrdesc"></t:inputTextarea>
       <br />
       <h:selectBooleanCheckbox id="selboolean" value="defaultcluster" />
       <h:outputLabel for="selboolean" value="Default cluser" />
       <br />
       <h:selectBooleanCheckbox id="crt" value="create" />
       <h:outputLabel for="crt" value="Create cluser only" />
      
       </t:column>
       </t:panelGrid>
       </rich:panel>
       </rich:panel>
      

      when i run the code it run properly but i am unable to get the valuse form controls in two.jsp i am using

      
      Map<String,String> parammap=context.getExternalContext().getRequestParameterMap();
      

      i am using this code to get values but i dinnt found any parameter usnig whioch i can get value of text box.