Re: Is this right? Seems at odds with wicket philosophy

2008-08-14 Thread Wayne Pope
Hey Igor, thanks very much again for your help. it is amazing how you can fully understand the wicket philosophy after only one day using it :) LOL yes, I just meant from how I had understood it - which obviously is not great at the moment. We all start from somewhere! :-) this is simply

Re: Is this right? Seems at odds with wicket philosophy

2008-08-14 Thread Matthijs Wensveen
Why not create a wicket components for the comment div and the makecomment link. Then in the onClick override of the makecomment link you can set the visibility of the comment component. This does require a roundtrip to the server, but is IMO more the wicket-way (tm). Matthijs Wayne Pope

Re: Is this right? Seems at odds with wicket philosophy

2008-08-14 Thread Igor Vaynberg
On Thu, Aug 14, 2008 at 4:03 AM, Wayne Pope [EMAIL PROTECTED] wrote: Ok thanks for that. Is there anyway to 'namespace' this? . My component is displayed in 2 different areas of the same page (using different model behind), therefore I need to assign either the component id plus an index to