[Building Sakai] Wicket-Sakai archetype Add page in other page
Steve Swinsburg
steve.swinsburg at gmail.com
Wed Nov 7 04:55:20 PST 2012
Hi,
This is a general wicket question so you are better off asking on users at wicket.apache.org
Basically you want to put a placeholder div underneath, get the value of the Dropdown, and load in the appropriate panel.
cheers,
Steve
On 07/11/2012, at 11:46 PM, Antonio muñoz alonso <antoniovalenciaspain at hotmail.com> wrote:
> Yes, what you say is doing.
>
> My first page has a dropchoice and button.
> I want the second page appears below.
> But always keeping the first page to keep doing more consultations.
>
> thanks
>
> Subject: Re: [Building Sakai] Wicket-Sakai archetype Add page in other page
> From: steve.swinsburg at gmail.com
> Date: Wed, 7 Nov 2012 23:37:50 +1100
> CC: sakai-dev at collab.sakaiproject.org
> To: antoniovalenciaspain at hotmail.com
>
> Hi,
>
> Not quite sure what you are asking. Do you want to open a new page in the tool when you click a button/link?
>
> If so, in the onSubmit/onClick handler of the button or link:
>
> setResponsePage(new SomeOtherPage());
>
> You can also do this with AJAX but it invokes replacing panels using the AjaxRequestTarget target that Wicket gives you access to. I would recommend the first one until you are more comfortable with it.
>
> cheers,
> Steve
>
>
>
> On 07/11/2012, at 10:19 PM, Antonio muñoz alonso <antoniovalenciaspain at hotmail.com> wrote:
>
>
> Hi
>
> how to run a page in another by pressing the button.
> I can run 2 as a single page(JAvascript???).
>
> thanks
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121107/4e9c3891/attachment.html
More information about the sakai-dev
mailing list