just checked into the trunk for 1.2 and 2.0 btw.

-Igor


On 5/28/06, Andrew Berman <[EMAIL PROTECTED] > wrote:
Cool, thanks Igor....


On 5/28/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
my bad, i forgot to add a way to let you add your own call decorator, i am attaching two files that i modified to let you do this, i will check them into 1.2 and 2.0 later today when i have a bit of time, for now drop them into your own code or into wicket's src if you use the source.

-Igor



On 5/28/06, Andrew Berman < [EMAIL PROTECTED]> wrote:
I have an AjaxSubmitButton which in addition to performing an AJAX submit I want it to do some other _javascript_.  I added my custom _javascript_ to the onclick of the button in the HTML and when it is rendered, Wicket overwrites anything I had in the onclick attribute.  I also tried adding the onclick attribute in the onComponentTag method of the button, but still the same thing.  So, how can I add my own onclick _javascript_ to the AJAX button?   I'm not looking to have the AJAX call add the _javascript_, I want it so that upon clicking the button it immediately calls my _javascript_ in addition to making the AJAX call.

Thanks for any help,

Andrew




Reply via email to