Hi Fabian,
thanks for your answer but there was not a problem to call searchBillings() in
the EventListener of the button but to call searchBillings() in
checkSubmitSearchBillings() which is the EventListener function of the
textfield. Thanks for the hint with the third parameter, too. But in my context
it's also working without it.
After I've slept one night about this problem, I've just found a solution.
Instead of "searchBillings()" you can call the execute function of the button
and thereby "searchBillings()" ist called because of the EventListener. So the
following code is working fine :-) (no changes on the missing code from my
first post)
checkSubmitSearchBillings : function( keyEvent ) {
if( keyEvent.getIdentifier()=="Enter" ) {
paneSearch_groupboxSearch_buttonSearch.execute(); // calls
searchBillings() via EventListener
}
}
Best regards,
Christian
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel