Title: Strange EL behavior of HtmlSelectOneMenu

Hi,

We've discovered an interesting behavior of the HtmlSelectOneMenu component.  Could someone explain why it is:

When doing this:

HtmlSelectOneMenu chooser = new HtmlSelectOneMenu();
        chooser.setId("reportId");
        chooser.setTitle("Please select a report to run");
        chooser.setOnchange("submit()");
        chooser.setValueBinding("value", binding); 
        ValueBinding binding = application.createValueBinding("#{selector.menuItems}");

 
then the getMenuItems() method on the backing bean doesn't work, but as soon as we change the value binding to something like

        application.createValueBinding("menu items are:#{selector.menuItems}");

then it starts working.  Why is this??

Simeon Leyzerzon

==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================

Reply via email to