tag.put("onclick", "window.location='"+urlfor(...)+"';");

-igor

On Wed, Jan 21, 2009 at 2:33 AM, Gohan <[email protected]> wrote:
>
> I've tried upgrading to Wicket 1.4-rc1 now and I'm using this in the
> onComponentTag method:
> ..
> tag.put("onclick", urlFor(ILinkListener.INTERFACE));
> ..
>
> However the onLinkClicked method is never called.. The rendered HTML tr tag
> looks like this:
>
> <tr wicket:id="mainDataView" id="id15"
> onmouseover="this.className='highlite';" onmouseout="this.className='odd';"
> onclick="welcome/wicket:interface/:1:mainDataView:1::ILinkListener::/"
> class="odd">
>
> What could be wrong?
>
> /Johan
>
> --
> View this message in context: 
> http://www.nabble.com/Select-model-object-when-clicking-on-a-row-in-a-DataView-tp21411736p21580529.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to