Since you update AbstractTree in ajax request I can't omit etra 'div' tag
that encloses <table> tag neither by using <wicket:component> nor by calling
setRenderBodyOnly(true).


Vladimir K wrote:
> 
> Sven,
> 
> i added TableTree (why not TreeTable?) to my panel and added a button to
> switch between tree and table representation.
> 
> The problem is that DataTable relies on the user that binds it to the
> <table> tag at the time when your TableTree contains <table> within.
> 
> It is not a big deal just an unconvinience. I have 12 lines of code and 5
> lines of markup instead of single addOrReplace call.
> 
> Hmm ... from the other hand I see a showstopper - I can't add my
> attributes and styles to TableTree because it is hidden inside. That's a
> big problem.
> 
> Please consider removing <table> tags from TableTree markup. You can make
> sure that the user provided correct tag in onComponentTag method.
> 

-- 
View this message in context: 
http://www.nabble.com/-ANN--wicket-tree-project-tp24660403p24672778.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to