see https://issues.apache.org/jira/browse/WICKET-168

-igor


On 12/14/06, Roman Mandeleil <[EMAIL PROTECTED]> wrote:



Ohh yeah it can improve the user expirience


Nino Wael wrote:
>
> Hmmm, should we change it so that trying to use an component that had no
> OutputMarkupId via AJAX would give an PleaseSetOutputMarKUPIDTRUE
> exception?  I've stumpled over this also and a couple of other users has
> aswell..
>
>
>
> Regards Nino
>
>
>
>   _____
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Igor
> Vaynberg
> Sent: 14. december 2006 00:54
> To: [email protected]
> Subject: Re: [Wicket-user] Change label dynamicly
>
>
>
> see below
>
> On 12/13/06, Roman Mandeleil <[EMAIL PROTECTED]> wrote:
>
>
> Take a look on that code
>
>         Form oneForm = new Form("form");
>         final Label label = new Label("label");
>         label.setOutputMarkupId(true); <== needed for ajax component to
be
> updated
>
>               ...
>
>               AjaxSubmitButton button =     new
AjaxSubmitButton("button",
>       oneForm){
>                   protected void onSubmit(AjaxRequestTarget target, Form
form)
> {
>
>                      ....
>
>                       target.add(label); <== add component you want
updated to
> the ajax target
>                   }
>               };
>
>
> -igor
>
>
>
>
>
>
>       igor.vaynberg wrote:
>       >
>       > you mean via ajax?
>       >
>       > why dont you describe what you are trying to do
>       >
>       > -igor
>       >
>       >
>       > On 12/13/06, Roman Mandeleil < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> > wrote:
>       >>
>       >>
>       >>
>       >> No I wan't to know where the code should begin to render
components
> that
>       >> changed,
>       >> without change the whole page
>       >>
>       >>
>       >> igor.vaynberg wrote:
>       >> >
>       >> > add(new Label("time", new AbstractReadOnlyModel() { Object
>       >> > getObject(Component c) { return new Date().toString(); }}));
>       >> >
>       >> > is that what you mean?
>       >> >
>       >> > -igor
>       >> >
>       >> >
>       >> > On 12/13/06, Roman Mandeleil < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> > wrote:
>       >> >>
>       >> >>
>       >> >> I had read all the posts about changing label dynamicly ,
>       >> >> but I still have a hard time to do that ,
>       >> >> can somebody send me a place inside a framework that is
> responsibale
>       >> >> for components update.
>       >> >>
>       >> >> Thanks in advance
>       >> >> --
>       >> >> View this message in context:
>       >> >>
> http://www.nabble.com/Change-label-dynamicly-tf2816858.html#a7861932
>       >> >> Sent from the Wicket - User mailing list archive at
Nabble.com.
>       >> >>
>       >> >>
>       >> >>
>       >>
>
-------------------------------------------------------------------------
>       >> >> Take Surveys. Earn Cash. Influence the Future of IT
>       >> >> Join SourceForge.net's Techsay panel and you'll get the
chance to
>       >> share
>       >> >> your
>       >> >> opinions on IT & business topics through brief surveys - and
earn
> cash
>       >> >>
>       >>
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>       >> >> _______________________________________________
>       >> >> Wicket-user mailing list
>       >> >> [email protected]
>       >> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>       >> >>
>       >> >
>       >> >
>       >>
>
-------------------------------------------------------------------------
>       >> > Take Surveys. Earn Cash. Influence the Future of IT
>       >> > Join SourceForge.net's Techsay panel and you'll get the
chance to
> share
>       >> > your
>       >> > opinions on IT & business topics through brief surveys - and
earn
> cash
>       >> >
>       >>
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>       >> > _______________________________________________
>       >> > Wicket-user mailing list
>       >> > [email protected]
>       >> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>       >> >
>       >> >
>       >>
>       >> --
>       >> View this message in context:
>       >>
http://www.nabble.com/Change-label-dynamicly-tf2816858.html#a7863974
>       >> Sent from the Wicket - User mailing list archive at Nabble.com.
>       >>
>       >>
>       >>
>
-------------------------------------------------------------------------
>       >> Take Surveys. Earn Cash. Influence the Future of IT
>       >> Join SourceForge.net's Techsay panel and you'll get the chance
to
> share
>       >> your
>       >> opinions on IT & business topics through brief surveys - and
earn cash
>       >>
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>       >> _______________________________________________
>       >> Wicket-user mailing list
>       >> [email protected]
>       >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>       >>
>       >
>       >
>
-------------------------------------------------------------------------
>       > Take Surveys. Earn Cash. Influence the Future of IT
>       > Join SourceForge.net's Techsay panel and you'll get the chance
to share
>       > your
>       > opinions on IT & business topics through brief surveys - and
earn cash
>       >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>       > _______________________________________________
>       > Wicket-user mailing list
>       > [email protected]
>       > https://lists.sourceforge.net/lists/listinfo/wicket-user
>       >
>       >
>
>       --
>       View this message in context:
> http://www.nabble.com/Change-label-dynamicly-tf2816858.html#a7864070
>       Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
>
-------------------------------------------------------------------------
>       Take Surveys. Earn Cash. Influence the Future of IT
>       Join SourceForge.net's Techsay panel and you'll get the chance to
share
> your
>       opinions on IT & business topics through brief surveys - and earn
cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>       _______________________________________________
>       Wicket-user mailing list
>       [email protected]
>       https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

--
View this message in context:
http://www.nabble.com/Change-label-dynamicly-tf2816858.html#a7869063
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to