Hello!
I am working with jsp pages. In my pages I would like to use some
selectOneMenu tags.
- the first one is a list of functions (each function is associated with one
dimension)
- the second should display the dimension associated to the selected
function
Please could you tell me what can I do to change the second selectOneMenu
when I change the selected function?
<h:selectOneMenu id="fn" style="width:150px" value="#{
jspFormEPFService.functionLabel}" >
<f:selectItems value="#{jspFormEPFService.functionsToDisplay}" />
</h:selectOneMenu>
<h:selectOneMenu id="dimStructure" style="width:150px" value="#{
jspFormEPFService.dimStructLabel}" >
<f:selectItems value="#{jspFormEPFService.dimsStructToDisplay}" />
</h:selectOneMenu>
Thanks for your help.
Sophie