You don`t need the immediate attribute in this simple usecase. Just declare the value attribute of the selectOneMenu in the bean and give it the type corresponding to the "value" type of the SelectItem. In your case is this a String.
private String selectedTable = null; You have also permuted the "label" and the "value" attribute when creating the SelectItem. The fist argument is the value (hidden on the page, this is the value which is set to the value of the selectOneMenu) and the second one the label (can be seen in the drop down). And in your getPagetoDisplay() method, place the condition of which value the selectedTable is. Any further help needed? cheers, Gerald On 9/21/06, Aneesha Govil <[EMAIL PROTECTED]> wrote:
On 9/21/06, Sanoop Kuniel <[EMAIL PROTECTED]> wrote: > > > > > Try removing immediate="true" on your JSF page > > > > - Sanoop It doesn't work with that. The action doesn't seem to get executed. Control stays on the same page and the next jsp is not loaded, just the dropdown changes. Aneesha
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

