2 Replies Latest reply on Feb 20, 2009 10:29 AM by Nick Mpallas

    Inplace Select Help

    senthil kumar Newbie

      Hi, I am using inplace select component in my project and i am placing the following problems. Any pointers would help...

      1) The required attribute in inplace select doesnt work.My code is as follows

      <rich:inplaceSelect defaultLabel="Select a Type" value="#{zone.type}" id="zoneType" required="true">
      <f:selectItem itemValue="TWO_D" itemLabel="2D"/>
      <f:selectItem itemValue="THREE_D" itemLabel="3D"/>
      </rich:inplaceSelect>

      and i have a rich:message like this

      <rich:message for="zoneType"/>

      When i dont enter any value, it doesnt throw any error. However the required attribute works for Inplace input. Can any one help plz ?

      2) I have a inplace select component and inputtext component. I want to display inputText component only when a particular value is selected in the select component. I dont know how to do this. Any pointers would help.

      Thanks in advance.