Marco Aurélio Silva wrote:
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?

If you don't mind requiring JavaScript, this might work well for you:

protected void populateItem(ListItem item) {
    item.add(new AjaxEventBehavior("onclick") {
        protected void onEvent(AjaxRequestTarget target) {
            // Do stuff here.
        }
    });
}



Good luck.

Regards,

Al

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to