Hi,
We have a form which is basically database driven and I was wondering
what is the best way to do this. Here is the scenario:
dropdown1 -> dropdown2 -> dropdown3 -> Button
Database call to fill up dropdown1, then depending on dropdown1 value,
another database call to fill up dropdown2 ...
After all the fields are filled, user clicks on Button to go the next page.
In the dropdown tag options, I don't see how I can specify the values
without using a bean:
<sun:dropDown items="#{MenuListBean.projectMenuOptions}" />
Now does that mean that I need to make these database calls inside the
MenuListBean? or is there another way to do this? Any sample code will
be helpful.
thanks,
-Karam