RE: [Building Sakai] Wicket-Sakai archetype Add page in other page

2012-11-07 Thread Antonio muñoz alonso
how to join 2 classes (page1.java, page.java) in one page1.html (javascript?)

From: antoniovalenciasp...@hotmail.com
To: users@wicket.apache.org
Subject: FW: [Building Sakai] Wicket-Sakai archetype Add page in other page
Date: Wed, 7 Nov 2012 14:24:00 +0100






From: antoniovalenciasp...@hotmail.com
To: steve.swinsb...@gmail.com
Date: Wed, 7 Nov 2012 13:46:52 +0100
CC: sakai-...@collab.sakaiproject.org
Subject: Re: [Building Sakai] Wicket-Sakai archetype Add page in other page




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.swinsb...@gmail.com
Date: Wed, 7 Nov 2012 23:37:50 +1100
CC: sakai-...@collab.sakaiproject.org
To: antoniovalenciasp...@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 
antoniovalenciasp...@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 
listsakai-dev@collab.sakaiproject.orghttp://collab.sakaiproject.org/mailman/listinfo/sakai-devTO
 UNSUBSCRIBE: send email to sakai-dev-unsubscr...@collab.sakaiproject.org with 
a subject of unsubscribe
  

___
sakai-dev mailing list
sakai-...@collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscr...@collab.sakaiproject.org 
with a subject of unsubscribe   

___
sakai-dev mailing list
sakai-...@collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscr...@collab.sakaiproject.org 
with a subject of unsubscribe   

RE: [Building Sakai] Wicket-Sakai archetype Add page in other page

2012-11-07 Thread Richard W. Adams
Not sure exactly what you're asking, but have you looked at Wicket panels?
_

I have yet to meet a C compiler that is more friendly and easier to use 
than eating soup with a knife.




From:   Antonio muñoz alonso antoniovalenciasp...@hotmail.com
To: users@wicket.apache.org users@wicket.apache.org
Date:   11/07/2012 11:22 AM
Subject:RE: [Building Sakai] Wicket-Sakai archetype Add page in 
other page



how to join 2 classes (page1.java, page.java) in one page1.html 
(javascript?)

From: antoniovalenciasp...@hotmail.com
To: users@wicket.apache.org
Subject: FW: [Building Sakai] Wicket-Sakai archetype Add page in other 
page
Date: Wed, 7 Nov 2012 14:24:00 +0100






From: antoniovalenciasp...@hotmail.com
To: steve.swinsb...@gmail.com
Date: Wed, 7 Nov 2012 13:46:52 +0100
CC: sakai-...@collab.sakaiproject.org
Subject: Re: [Building Sakai] Wicket-Sakai archetype Add page in other 
page




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.swinsb...@gmail.com
Date: Wed, 7 Nov 2012 23:37:50 +1100
CC: sakai-...@collab.sakaiproject.org
To: antoniovalenciasp...@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 
antoniovalenciasp...@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 
listsakai-dev@collab.sakaiproject.orghttp://collab.sakaiproject.org/mailman/listinfo/sakai-devTO
 
UNSUBSCRIBE: send email to sakai-dev-unsubscr...@collab.sakaiproject.org 
with a subject of unsubscribe
  

___
sakai-dev mailing list
sakai-...@collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to 
sakai-dev-unsubscr...@collab.sakaiproject.org with a subject of 
unsubscribe  

___
sakai-dev mailing list
sakai-...@collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to 
sakai-dev-unsubscr...@collab.sakaiproject.org with a subject of 
unsubscribe  


**

This email and any attachments may contain information that is confidential 
and/or privileged for the sole use of the intended recipient.  Any use, review, 
disclosure, copying, distribution or reliance by others, and any forwarding of 
this email or its contents, without the express permission of the sender is 
strictly prohibited by law.  If you are not the intended recipient, please 
contact the sender immediately, delete the e-mail and destroy all copies.
**