Revision history [back]

click to hide/show revision 1
initial version

asked 2018-10-19 01:29:19 +0800

bztom35 gravatar image bztom35

How to programmatic trigger an onSelect$myListBox Event

I want to select the first item on rsListBox before doBeforeComposeChildren() method.

How to select the first item on onSelect$rsListBox below programmatically?

public void onSelect$rsListBox(Event evt) { this.fcstsensorid = (String)rsListBox.getSelectedItem().getValue(); String header = (String)rsListBox.getSelectedItem().getLabel(); this.HeadingTitleReservoir.setLabel(header); System.out.println("Selected id:" + this.fcstsensorid);

}

How to programmatic trigger an onSelect$myListBox Event

I want to select the first item on rsListBox before doBeforeComposeChildren() method.

How to select the first item on onSelect$rsListBox below programmatically?

public void onSelect$rsListBox(Event evt) {
        this.fcstsensorid this.fcst_sensor_id  = (String)rsListBox.getSelectedItem().getValue();
     String header = (String)rsListBox.getSelectedItem().getLabel();
     this.HeadingTitleReservoir.setLabel(header);
     System.out.println("Selected  id:" + this.fcstsensorid);

this.fcst_sensor_id);
}
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More