Consider you form like below:
<f:form>
<h:panelGroup layout="block">
<h:selectOneMenu id="dropdownValue" label="#{resourceBundleLabels.countryLabel}" value="#{bean.value}">
<f:selectItems value="#{XYZ)}" var="variable" itemLabel="#{variable.decode}" itemValue="#{variable.code}"/>
<f:ajax event="valueChange" execute="@this" render="updateSection">
</f:ajax>
</h:selectOneMenu>
</h:panelGroup>
<h:panelGroup layout="block" id="updateSection">
<h:inputText id="textValue" value="#{bean.textValue}" rendered="#{bean.value eq 'A'}"> <h:inputText>
</h:panelGroup>
</f:form>
In this form suppose there is a dropdown with id="dropdownValue". If 'A' is selected in that dropdwon then only we have to display the inputText having id="textValue". So by above example you can implement same in your code.