On 9/29/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> With the advent of behaviors, is Link's getOnClickScript method still
> necessary or a relic of the past that should be deprecated and removed
> in a future version?
I guess we could remove that.
Eelco
You could easily use a WebMarkupContainer for that overriding the
oncomponenttag, or with a SimpleAttributeModifier to add the
javascript.
Martijn
On 9/29/07, David Bernard <[EMAIL PROTECTED]> wrote:
> FYI, currently I use it to call pure (no server side) javascript function
> (like hide/show,
FYI, currently I use it to call pure (no server side) javascript function (like
hide/show, diseable/enable drag'n drop,...).
ex :
add(new Link("stop_dnd") {
@Override
protected CharSequence getOnClickScript(CharSequence url) {
return dnd.getJSFunctionName4S
With the advent of behaviors, is Link's getOnClickScript method still
necessary or a relic of the past that should be deprecated and removed
in a future version?
Martijn
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/d