Daniel -

If I understand correctly, you're question is where to  ultimately put
the  upDate(c);, In your example you put it on the setYear() but that
relies on setYear being called last which I don't think is a
guarantee. Alternatively you could put it on all of them (but this
would be inneficient).

Yes - exactly.  Definitely don't want to solve it like that.

I believ you can also override

protected  void cleanupAfterRender(IRequestCycle cycle);

from the AbstractComponent class. I believe this is called after the
render so all properties should have been set and you can save the
date binding. You might also be able to do it through overriding
finishLoad() or enterActiveState(). But I am not sure if by that time
the request has already been rewound.

Thanks for the tip - I'll check out cleanupAfterRender() .. and the others tomorrow.

Thank you list members,-Matt



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to