Not until this year, we adopted working with CSS instead of tables and stuff. It's a huge difference for how we can manage our projects!
Using nested tables etc to achieve a certain layout. Now *that's* a nightmare.
Eelco
Gili wrote:
On Sun, 02 Jan 2005 19:22:04 +0100, Eelco Hillenius wrote:
Ah, and then there's another solution - the most elegant IMO: use a ComponentTagAttributeModifier to alter the class of the table. With CSS you can use 'display: none' to hide elements.
Only problem with that is our lack of support for packaging CSS/ Javascript.
Plus, CSS is a client-side technology, whereas Wicket is a server-side technology. Different things are better to do on different ends. In this case, I feel you are always better off stripping out HTML on the server end in order to reduce bandwidth costs and make the resulting code more readable. Plus, err, I've never been a big fan of CSS in terms of readability. It is a nightmare :)
Gili
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
