Can't anyone help me with my problem?
Many thanks in advance ! Marieke

Marieke Vandamme-2 wrote:
> 
> Hello, 
> 
> I'm using the following setup with markup inheritance
> 
> ParentPage.java extends WebPage
> ChildPage.java extends ParentPage.java
> 
> In the constructor of my ParentPage I want the following:
>        public Parent(String bodyId)
> 
> Then when the html is written, this id should be added to the body-tag in 
> the id-attribute.
> In this way, each ChildPage will have a different id-attribute in the 
> body-tag, that will be used inside css.
> 
> I tried to override the OnComponentTag in the ParentPage, but this 
> function is never called.
> 
> I don't want to add a wicket:id to the body, because then I have to add 
> all components for my ChildPage's to that bodyComponent (that is on the 
> parent).
> 
> Can anyone help me out or give me any hint? Thanks a lot ! Marieke.
> **** DISCLAIMER ****
>  http://www.tvh.be/newen/pages/emaildisclaimer.html 
> http://www.tvh.be/newen/pages/emaildisclaimer.html  
> 
> "This message is delivered to all addressees subject to the conditions
> set forth in the attached disclaimer, which is an integral part of this
> message."
> 
> 

-- 
View this message in context: 
http://www.nabble.com/add-id-to-body-with-onComponentTag--tp24211496p24266407.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