Re: [Wicket-user] modifying component from IComponentOnBeforeRenderListener

2007-06-23 Thread Ryan Sonnek
Looks like I got the problem resolved. I was trying to attach a Behavior from the IComponentOnBeforeRenderListener in order to setRequired which throws an exception. When I just setRequired from within the listener it works fine. Thanks for the help. Ryan On 6/22/07, Ryan Sonnek [EMAIL

Re: [Wicket-user] modifying component from IComponentOnBeforeRenderListener

2007-06-22 Thread Matej Knopp
That's weird. You should be able to call setRequired from that listener, that's the point why i have introduced it! -Matej On 6/22/07, Ryan Sonnek [EMAIL PROTECTED] wrote: I'm *still* trying to find a way to modify a component *when the model is bound*. The new

Re: [Wicket-user] modifying component from IComponentOnBeforeRenderListener

2007-06-22 Thread Ryan Sonnek
it should be pretty easy to update the wicketstuff-hibernate project to verify this is broken. how should i proceed with this issue? On 6/22/07, Matej Knopp [EMAIL PROTECTED] wrote: That's weird. You should be able to call setRequired from that listener, that's the point why i have introduced

[Wicket-user] modifying component from IComponentOnBeforeRenderListener

2007-06-21 Thread Ryan Sonnek
I'm *still* trying to find a way to modify a component *when the model is bound*. The new IComponentOnBeforeRenderListener seems close, but I can't *modify* the component since it's already started the rendering cycle. I'm trying to call Component.setRequired(true) on the component, and that