I ran into this problem last week, because I wanted a specific listener
to be called when the onchange event is triggered on the
PropertySelection. I solved this with a hack, by making a component that
contains the PropertySelection and a hidden Submit, that is clicked by
javascript connected to the onchange handler. This way, the listener
connected to the submit is called.
Does anyone have a cleaner and smarter way of doing this? I don't think
the submitOnChange is good enough, because you can only trigger the form
listener, not a dedicated listener.
Inge
DarĂo Vasconcelos wrote:
PropertySelection has a "submitOnChange" property, have you tried that already?
On 9/7/05, Alexandr Kundirenko <[EMAIL PROTECTED]> wrote:
Hello All,
I have some items in PropertySelection.
How can I call form's "refresh" listener when selection changed?
(To reload other select boxes)
I don't see any way except subclassing PropertySelection and adding
such possibility. Did I miss smth?
Thank you,
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]