Last updated on AUGUST 04, 2016
Applies to:Oracle JDeveloper - Version 10.1.3.0.4 and later
Information in this document applies to any platform.
This note explains how to render an <af:inputText> visible/invisible depending on the value of another component.
We will base our explanation on a JSP JSF page that includes 2 components <af:selectOneChoice>:
- Gender, with values
- Marital Status, with values
The page includes 3 <af:inputText>. The first 2 inputTexts, First Name and Last Name, should always be displayed.
The 3d inputText Maiden Name should be rendered visible only when Gender=Female AND Marital Status=Married, as shown in the following figure:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms