Show/hide WebMarkupContainer

2008-09-03 Thread Chris Stein
I am having trouble understanding how to achieve the following:
Similar to Xing or Google Mail, I want to show a form with AJAX when the user 
clicks a link on the same page. I first thought that I can achieve this with 
the AjaxLazyLoadPanel. By now I got the gist that I need to play with an empty 
WebMarkupContainer in order to achieve this. However, I seem unable to figure 
out how this is actually going to work.
Can somebody please give me a head start on this?

Sorry if this might be a stupid question and thanks a lot for your help!
--Chris



  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Show/hide WebMarkupContainer

2008-09-03 Thread Francis De Brabandere
Add the form and set it invisible, after the user clicks the ajax link
set the form visible and add it to the response
target.addComponent(form);

make sure the form has a placeholder
form.setOutputMarkupPlaceholderTag(true);

On Wed, Sep 3, 2008 at 4:27 PM, Chris Stein [EMAIL PROTECTED] wrote:
 I am having trouble understanding how to achieve the following:
 Similar to Xing or Google Mail, I want to show a form with AJAX when the user 
 clicks a link on the same page. I first thought that I can achieve this with 
 the AjaxLazyLoadPanel. By now I got the gist that I need to play with an 
 empty WebMarkupContainer in order to achieve this. However, I seem unable to 
 figure out how this is actually going to work.
 Can somebody please give me a head start on this?

 Sorry if this might be a stupid question and thanks a lot for your help!
 --Chris






 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Show/hide WebMarkupContainer

2008-09-03 Thread cstein1206

I got it now! Thanks a ton, guys!!!
-- 
View this message in context: 
http://www.nabble.com/Show-hide-WebMarkupContainer-tp19290460p19298794.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]