I have an application that outputs a list of customers in a
dataGrid. When the user double-clicks on a line, a new State is
This new State erases the dataGrid and replaces it with a
Component that outputs Customer details. The Component contains a
panel containing label fields.
To get the Customer details it uses a web service.
I call this web service in the creationComplete event of the
Panel. This works the first time I double-click on one of those
lines...but subsequent clicks don't result in another call of the
I guess I'm just putting the web service call in the wrong
event. Which is the correct event...I've tried many, but none seem
show event of the panel could be one place to send this call.
but a better way would be for the double click event handler to
dispatch another event telling the panel to load details of the
selected row. Panel would a add a handler to this custom event and
send a request for web services.