Thanks a lot
igor.vaynberg wrote:
>
> 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]> 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]> 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#a7864188
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