RequestCycle.get().setResponsePage( getPage() ); is unnecessary

-igor

On Tue, Nov 16, 2010 at 2:01 PM, Alexander Monakhov <domin...@gmail.com> wrote:
> Hello.
>
> Add link to content panel. onClick() method should select appropriated tab:
>                Link<Void> link = new Link<Void>( "link" ) {
>
>                       �...@override
>                        public void onClick() {
>                             tabbedPanel.setSelectedTab( /* any tab
> index here*/ );
>                             RequestCycle.get().setResponsePage( getPage() );
>                        }
>
>                };
>
> When onClick() method invoked, desired tab is selected and page that
> contains tabbed panel is set as response page.
>
> Best regards, Alexander.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to