You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by pen <pr...@yahoo.com> on 2011/11/03 02:31:29 UTC

template navigation using ajax

Hi All,

I need to build a Ajax pages, similar to wicket template example using
markup inheritance. Instead of refreshing whole pages when clicked on page1
or page2. Only the content on the right side should be refreshed using Ajax. 
What is the best way to implement this?

`Pen 

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/template-navigation-using-ajax-tp3983962p3983962.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: template navigation using ajax

Posted by Martin Grigorov <mg...@apache.org>.
AjaxLink#onClick(AjaxRequestTarget target) {

   rightPanel = rightPanel.replaceWith(new SomePanel(rightPanel.getId()));
   target.add(rightPanel);
}

On Thu, Nov 3, 2011 at 3:32 AM, pen <pr...@yahoo.com> wrote:
> This is the wicket page example
> http://www.wicket-library.com/wicket-examples/template/wicket/bookmarkable/org.apache.wicket.examples.template.pageinheritance.Page1?0
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/template-navigation-using-ajax-tp3983962p3983966.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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


Re: template navigation using ajax

Posted by pen <pr...@yahoo.com>.
This is the wicket page example
http://www.wicket-library.com/wicket-examples/template/wicket/bookmarkable/org.apache.wicket.examples.template.pageinheritance.Page1?0

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/template-navigation-using-ajax-tp3983962p3983966.html
Sent from the Users forum mailing list archive at Nabble.com.

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