Re: [Wicket-user] Pure JavaScript calls from Links

2007-02-24 Thread Will Morton
Thanks Erik, Igor! W On 23 Feb 2007, at 17:39, Erik van Oosten wrote: > Sorry, it is more something like WebMarkupContainer, not > WebMarkupComponent. > > Erik. > > Erik van Oosten wrote: >> Attach a simple WebMarkupComponent to your . Then add a >> SimpleAttributeBehavior("onclick", "foo

Re: [Wicket-user] Pure JavaScript calls from Links

2007-02-23 Thread Erik van Oosten
Sorry, it is more something like WebMarkupContainer, not WebMarkupComponent. Erik. Erik van Oosten wrote: > Attach a simple WebMarkupComponent to your . Then add a > SimpleAttributeBehavior("onclick", "foo();") to the component. > > Regards, > Erik. > > Will Morton wrote: > >> I am

Re: [Wicket-user] Pure JavaScript calls from Links

2007-02-23 Thread Erik van Oosten
Attach a simple WebMarkupComponent to your . Then add a SimpleAttributeBehavior("onclick", "foo();") to the component. Regards, Erik. Will Morton wrote: > I am having some issues getting my Wicket application to work. Any > assistance would be much appreciated. > > I have a bunch of pre-d

Re: [Wicket-user] Pure JavaScript calls from Links

2007-02-23 Thread Igor Vaynberg
at the end of javascript you have to "return false;" this will prevent the href from executing -igor On 2/23/07, Will Morton <[EMAIL PROTECTED]> wrote: I am having some issues getting my Wicket application to work. Any assistance would be much appreciated. I have a bunch of pre-defined Java