Revision history [back]

click to hide/show revision 1
initial version

answered 2009-12-03 03:35:56 +0800

marioosh gravatar image marioosh

Thanks :) Finally I get this working! :)

I had big problem with "selected". I didn't know that i have to declare two bean methods for selected to get this working....

<combobox id="combo" autodrop="true" selectedItem="@{autowin$AutoComposer.selected}" >

public class MyComposer extends GenericForwardComposer {
            Client selected;
    Combobox combo;

    public void onSelect$combo(Event event) {
        System.out.println("onSelect "+selected);
    }

    public Client getSelected() {
        return selected;
    }
    public void setSelected(Client selected) {
        this.selected = selected;
    }   
}
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More