Hello!

This is my first project with Wicket and it would be very nice if someone
could answer my questions. I have designed my page with a visual editor to
show a prototyp to my customer. Therefore I have added a lot of id's to my
tags for my css, also to my body tag to identify my pages. With Wicket I
have created a BaseTemplatePage and use markup inheritance. The problem is
that my <body> tag is now in my BaseTemplatePage, and I have no idea how to
add a body id attribute to it dynamically.

1) How can I add attributes to row markup tags, like <body>?

I've read it too late:

"...people should avoid setting id attributes on tags that are coupled to
components that use rely on the markup id (setOutputMarkupId true)." (from
http://cwiki.apache.org/WICKET/)

2) Is there a problem with components which do not rely on the markup id
(especially for <body>) so that I have to change my css entirely?

Thanks for help!
-- 
View this message in context: 
http://www.nabble.com/Adding-id-attribute-to-%3Cbody%3E-tag-tp16348306p16348306.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to