Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
Hi Erik The translation is there : http://zedros.developpez.com/articles/java/wicket/ajax/ The article will be checked by fellow members of developpez.com and then announce on the news of this website. I'll then add it to the wicket. In between, every comment is welcome ;) (or afterwards lol) Best regards, Joseph - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
Thanks a lot. It'll be done in the coming days :) Cheers, ZedroS On 4/23/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Of course, please go ahead! > > When you're done, please add the French link to > http://cwiki.apache.org/WICKET/articles-about-wicket.html. > > Erik. > > ZedroS Schwart wrote: > > It's a very instructive post. > > > > Do you mind if I translate it to french and then publish it on this > > website : http://www.developpez.com/ ? For sure I would put a link to > > your blog ! :) > > > > ZedroS > > > > > > -- > Erik van Oosten > http://day-to-day-stuff.blogspot.com/ > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
Of course, please go ahead! When you're done, please add the French link to http://cwiki.apache.org/WICKET/articles-about-wicket.html. Erik. ZedroS Schwart wrote: > It's a very instructive post. > > Do you mind if I translate it to french and then publish it on this > website : http://www.developpez.com/ ? For sure I would put a link to > your blog ! :) > > ZedroS > > -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
It's a very instructive post. Do you mind if I translate it to french and then publish it on this website : http://www.developpez.com/ ? For sure I would put a link to your blog ! :) ZedroS - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
Hi ZedroS, Sorry, I am a bit late in this thread. Perhaps I am too late, but otherwise you might benefit from this article http://day-to-day-stuff.blogspot.com/2007/01/backward-compatible-ajax-development.html. Regards, Erik. ZedroS Schwart wrote: > Thanks a lot for your answer. > > In fact, I was confused because the form onSubmit was called but the > setVisible(false) in it wasn't rendered. > > I've just added target.addComponent(form) on my ajax submit button and > it now works properly. I didn't know this target.AddComponent was > first of all meaning to redraw it ! > > Thanks a lot ! > ZedroS > > -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
Thanks a lot for your answer. In fact, I was confused because the form onSubmit was called but the setVisible(false) in it wasn't rendered. I've just added target.addComponent(form) on my ajax submit button and it now works properly. I didn't know this target.AddComponent was first of all meaning to redraw it ! Thanks a lot ! ZedroS On 4/23/07, James McLaughlin <[EMAIL PROTECTED]> wrote: > For example, if the form lives inside, then in onSubmit do > target.addComponent(panel) . This way the panel's markup gets replaced in > the browser and since isVisible is false for the form, the forms markup > simply won't be there. I guess the problem you are having now is that you > are adding the form in onSubmit, but since you are setting isVisible to > false, nothing gets rendered, no markup gets sent to browser, and the form > markup that's there doesn't get replaced (erased). But maybe I haven't > understood your problem fully. I hope this helps. > > > best, > jim > > On 4/23/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: > > Hi Jim > > > > What do you mean by "replace the forms parent" ? > > > > I'm a newbe, this may explain that ;) > > > > Thanks again > > ZedroS > > On 4/23/07, James McLaughlin < [EMAIL PROTECTED]> wrote: > > > Sure, just replace the forms parent in onSubmit. > > > > > > best, > > > jim > > > > > > > > > On 4/23/07, ZedroS Schwart < [EMAIL PROTECTED] > wrote: > > > > > > > > Hi all > > > > > > > > I've recently encountered and understood more and more ajax > > > > limitations and here is one I'm still wondering about : should > > > > form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit > > > > even ? For sure, this form is the one the ajaxSubmitButton is linked > > > > to. > > > > > > > > Thanks in advance > > > > ZedroS > > > > > > > > > > > > - > > > > This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > ___ > > > > Wicket-user mailing list > > > > Wicket-user@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > - > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > ___ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
For example, if the form lives inside, then in onSubmit do target.addComponent(panel) . This way the panel's markup gets replaced in the browser and since isVisible is false for the form, the forms markup simply won't be there. I guess the problem you are having now is that you are adding the form in onSubmit, but since you are setting isVisible to false, nothing gets rendered, no markup gets sent to browser, and the form markup that's there doesn't get replaced (erased). But maybe I haven't understood your problem fully. I hope this helps. best, jim On 4/23/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: Hi Jim What do you mean by "replace the forms parent" ? I'm a newbe, this may explain that ;) Thanks again ZedroS On 4/23/07, James McLaughlin <[EMAIL PROTECTED]> wrote: > Sure, just replace the forms parent in onSubmit. > > best, > jim > > > On 4/23/07, ZedroS Schwart <[EMAIL PROTECTED] > wrote: > > > > Hi all > > > > I've recently encountered and understood more and more ajax > > limitations and here is one I'm still wondering about : should > > form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit > > even ? For sure, this form is the one the ajaxSubmitButton is linked > > to. > > > > Thanks in advance > > ZedroS > > > > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
or in 1.3 use: public final Component setOutputMarkupPlaceholderTag(final boolean outputTag) On 4/23/07, James McLaughlin <[EMAIL PROTECTED]> wrote: Sure, just replace the forms parent in onSubmit. best, jim On 4/23/07, ZedroS Schwart <[EMAIL PROTECTED] > wrote: > > Hi all > > I've recently encountered and understood more and more ajax > limitations and here is one I'm still wondering about : should > form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit > even ? For sure, this form is the one the ajaxSubmitButton is linked > to. > > Thanks in advance > ZedroS > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
Hi Jim What do you mean by "replace the forms parent" ? I'm a newbe, this may explain that ;) Thanks again ZedroS On 4/23/07, James McLaughlin <[EMAIL PROTECTED]> wrote: > Sure, just replace the forms parent in onSubmit. > > best, > jim > > > On 4/23/07, ZedroS Schwart <[EMAIL PROTECTED] > wrote: > > > > Hi all > > > > I've recently encountered and understood more and more ajax > > limitations and here is one I'm still wondering about : should > > form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit > > even ? For sure, this form is the one the ajaxSubmitButton is linked > > to. > > > > Thanks in advance > > ZedroS > > > > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
Sure, just replace the forms parent in onSubmit. best, jim On 4/23/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: Hi all I've recently encountered and understood more and more ajax limitations and here is one I'm still wondering about : should form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit even ? For sure, this form is the one the ajaxSubmitButton is linked to. Thanks in advance ZedroS - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?
Hi all I've recently encountered and understood more and more ajax limitations and here is one I'm still wondering about : should form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit even ? For sure, this form is the one the ajaxSubmitButton is linked to. Thanks in advance ZedroS - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user