add javascript to your <tr> tags
pure html sample:
<table id="test" border='1' cellspacing='0' cellpadding='0'>
<tr onmouseover="this.style.background='red';this.style.cursor='pointer'"
onmouseout="this.style.background='white';" onclick="alert('bang')">
<td>Test</td>
<td>Test</td>
<td>Test</td>
<td>Test</td>
</tr>
</table>
(Source:
http://radio.javaranch.com/pascarello/2004/12/30/1104419159000.html)
Marco Aurélio Silva wrote:
>
> Hi all
>
> I'm using a PageableListView component and I want to make each row of the
> list clickable. I don't want to add a column with a label like "details",
> I
> just want to click in any place of the row to go to details. Is there a
> way
> to do this?
>
> Thanks in advance
> Marco
>
>
-----
-------
Stefan Fußenegger
http://talk-on-tech.blogspot.com // looking for a nicer domain ;)
--
View this message in context:
http://www.nabble.com/Make-PageableListView-row-click-tf4759886.html#a13612378
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]