Re: onComponentTag tag.append() javascript events ?

2008-08-12 Thread Martijn Dashorst
also, take a look at AttributeAppender Martijn On Tue, Aug 12, 2008 at 9:18 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > if you already know you want to append, then you can do this: > > tag.put(getJsEvent(), "doChoosenBehaviour();" + tag.get(getJsEvent(; > > Martijn > > On Tue, Aug 12,

Re: onComponentTag tag.append() javascript events ?

2008-08-12 Thread Martijn Dashorst
if you already know you want to append, then you can do this: tag.put(getJsEvent(), "doChoosenBehaviour();" + tag.get(getJsEvent(; Martijn On Tue, Aug 12, 2008 at 8:51 PM, ak <[EMAIL PROTECTED]> wrote: > > Hello, > > I stumbled upon this scenario wherein I have 'onclick=doSomething()' > asso

onComponentTag tag.append() javascript events ?

2008-08-12 Thread ak
Hello, I stumbled upon this scenario wherein I have 'onclick=doSomething()' associated with a button on the html page. Then there is a behaviour that sets onclick event from java code for button component as: public void onComponentTag(Component component, ComponentTag tag){ tag.put(getJsEv