See message for a possible issue with our model wrapping.

Cascading sounds good to me.

Eelco


---------- Forwarded message ----------
From: Igor Vaynberg <[EMAIL PROTECTED]>
Date: Jul 23, 2006 6:44 PM
Subject: Re: ajaxeditablelabel
To: Eelco Hillenius <[EMAIL PROTECTED]>


yeppers...
i mean there could be issues...
like if you do this

Form f=new Form(this, "foo", new CompoundPropertyModel(person);
new TextField(f, "name");

this works great

but then if you later do

f.setModel(new CompoundPropertyModel(anotherperson));

tf wont inherit the new model it is still glued to the one pointing to person

dont know if this is the same as it is in 1.2 but might be worth
mentioning in the book

what we can do i suppose is if you set a model on an object whose old
model was inheritable we might cascade down and refresh them somehow.
dont really know how feasible it is. feel free to forward this to the
devel list if you think its worth it.

-Igor



On 7/23/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Ah, I see. Excellent, those models work pretty good!
>
> Thanks,
>
> Eelco
>
>
> On 7/23/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > i fixed the compound models in 1.2 and 2.0
> >
> > -Igor
> >
> >
>

-------------------------------------------------------------------------
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-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to