fixed

overriding onmodelchanged is not always enough because that might not always
be invoked. for example in the attached example project it wouldnt be
invoked because the model is changed via a different component.

now palette always syncs its state with the model. it is not the cleanest
design in the world, but keep in mind that palette was my exercise in
learning wicket :) one day i will find time to rewrite it from scratch and
it will be much more elegant.

-igor


On 1/3/07, Nino Wael <[EMAIL PROTECTED]> wrote:

It's the recorder component that needs to be updated... and overide
onModelchanged on palette to update the recorder component.


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Igor Vaynberg
Sent: Wed 03-01-2007 07:12
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Palette removes values from WizardStep

looks like a problem with the palette caching some model values, please
add
a bug report and we will look into it asap

-igor


On 1/2/07, De Soca <[EMAIL PROTECTED]> wrote:
>
>
> Hello Happy New Year to all,
>
> I have come across a curious problem when using the Palette component.
> Attached is a quickstart sample of what I am experiencing.
>
> I have 2 palettes, one on the input wizardStep and one on the
confirmation
> wizardStep.
> The values are set properly, and are verified so, in the input
wizardStep.
>
> When I go to the confirm step the values set in the palette in the
> previous
> step are gone. The other form values are still available.
>
> Hopefully I am missing something obvious.
>
> Thanks for all input.
> http://www.nabble.com/file/5188/quickstart-palette.zip
> quickstart-palette.zip
> --
> View this message in context:
>
http://www.nabble.com/Palette-removes-values-from-WizardStep-tf2908589.html#a8125921
> 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
> Wicket-user@lists.sourceforge.net
> 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
Wicket-user@lists.sourceforge.net
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to