RE: Wicket placeholder for component causing invalid markup

2009-01-27 Thread the_adam
Phooey wrote: > > I'm unclear of what you actually want here... > Actually what I want has been already provided as stated in my previous post :) Phooey wrote: > > Surely if you use the wicket:enclosure around a tr (something I have > done in the past) then surely all you need is a little aj

Re: Wicket placeholder for component causing invalid markup

2009-01-27 Thread the_adam
Hi, Jeremy Thomerson-5 wrote: > > I agree 100% - that's the only clean solution I see. > To let you all know - Igor has provided a quick solution and committed it to a trunk. Now there is overridible Component#renderPlaceholderTag method. Regards, Adam -- View this message in context: http

Re: Wicket placeholder for component causing invalid markup

2009-01-26 Thread the_adam
Jeremy Thomerson-5 wrote: > > The problem you're facing is clear - and you're right - wicket:enclosure > won't work for you. Unfortunately, that closed-tag code for the > placeholder > is hard-coded in Component. > Thanks for understanding :) Also, I've looked already in the Component source

Re: Wicket placeholder for component causing invalid markup

2009-01-26 Thread the_adam
Thies Edeling-2 wrote: > > That's exactly what wicket:enclosure does; otherwise you'd have to wrap > the > row in a WebMarkupContainer to keep a reference in the DOM. > I know the benefits of wicket:enclosure. What I need, however is a placeholder, which is what wicket:enclosure doesn't provid

Re: Wicket placeholder for component causing invalid markup

2009-01-26 Thread the_adam
Pills wrote: > > I'm pretty sure what you need is wicket:enclosure [1] instead > That would be the case if I've wanted to hide certain rows forever, unless I'm largely mistaken. I want to be able to switch the visibility of certain table rows and since Wicket's AJAX works by replacing given DO

Wicket placeholder for component causing invalid markup

2009-01-26 Thread the_adam
If we have a component with a corresponding markup tag and want to hide it and display placeholder tag via Component#setOutputMarkupPlaceholderTag the resulting markup will be: However this is not a valid markup. The proper markup would be: where x is the number of columns. Obviously wicket