How do I capture the event at the server when a user clicks on one of the tabs?

5 views
Skip to first unread message

JazzLee

unread,
Feb 19, 2011, 11:52:37 AM2/19/11
to visural-wicket

I can't figure out how to do something in my application.

I have a set of tabs displayed on the tab. They are working great.

Now when I click on one of the tabs, I want it to execute some code
that replaces
the content panel on the current page. I realize that the tab is
designed to work with javascript
and thus there is no request sent to the server when the tab is
clicked. In this case, I want
a request sent to the server to get the content panel To be displayed.

Any ideas?

Thanks

Lee

Richard Nichols

unread,
Feb 20, 2011, 11:59:03 PM2/20/11
to visural...@googlegroups.com
Hi Lee,

Currently the visural-wicket Tabs component doesn't have this capability.

The regular Wicketstuff tabs component might be better for this case?

Alternatively if you raise an enhancement at http://code.google.com/p/visural-wicket then I'll include it in a later release.

cheers,
Richard.
Reply all
Reply to author
Forward
0 new messages