Re: Does a SimpleAttributeModifier Overwrite or Append JavaScript?
eugenebalt wrote: > I can't try right now because of a system failure. > > If I could try it I wouldn't ask it here. I was hoping for a quick response. It overwrites. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod, Roedermark, Germany Email: jsch...@acm.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Does a SimpleAttributeModifier Overwrite or Append JavaScript?
I can't try right now because of a system failure. If I could try it I wouldn't ask it here. I was hoping for a quick response. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-a-SimpleAttributeModifier-Overwrite-or-Append-JavaScript-tp4653568p4653570.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Does a SimpleAttributeModifier Overwrite or Append JavaScript?
Try it. On Fri, Nov 2, 2012 at 4:49 PM, eugenebalt wrote: > Suppose I have this: > > arg0.add(new SimpleAttributeModifier( "onclick", "myfunction();")); > > Will that replace any previous onClick's, or append to them? I need to > preserve any previous JS in this attribute (append). > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Does-a-SimpleAttributeModifier-Overwrite-or-Append-JavaScript-tp4653568.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Does a SimpleAttributeModifier Overwrite or Append JavaScript?
Suppose I have this: arg0.add(new SimpleAttributeModifier( "onclick", "myfunction();")); Will that replace any previous onClick's, or append to them? I need to preserve any previous JS in this attribute (append). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-a-SimpleAttributeModifier-Overwrite-or-Append-JavaScript-tp4653568.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org