I have a drop down which showing two string Build or config.
based on what selected on drop down i want to make decision to reder other field.
is it possible to run comparison on what value has choosen without going to back an bean.
<p:outputLabel value="Task Type"/>
<p:selectOneMenu id="tasktypeval" value="#{buildConfigureBB.taskType}">
<p:ajax listener="#{buildConfigureBB.on_projectIdchange}" update="Projecttasklable,CmdTypebuild,CmdTypeconfig,comment2val" process="@this"/>
<!-- <f:selectItem itemLabel="Baseline" itemValue="Baseline" /> -->
<f:selectItem itemLabel="Build" itemValue="Build" />
<f:selectItem itemLabel="Configure" itemValue="Configure" />
</p:selectOneMenu>
How to use value from primefaces dropdown without going to B
-
- Information
-
Who is online
Users browsing this forum: No registered users and 14 guests