Hi: Gurus, I am attaching two separate style sheets one for a page and one
for the panel.
I am attaching the style sheets in my Java code like this
add(new StyleSheetReference("stylesheet", PBNASLogin.class, "login.css"));
//in page constructor
add(new StyleSheetReference("stylesheetPanel", RegisteredUserPanel.class,
"register.css")); //in panel constructor
here is the html mark up for page and panel respectively
<link wicket:id="stylesheet"/>
<link wicket:id="stylesheetPanel"/>
but when I run the code I got the following wicket error
The component(s) below failed to render. A common problem is that you have
added a component in code but forgot to reference it in the markup (thus the
component will never be rendered)
My question is that is it possible to add 2 separate style sheets in a
parent child markup, if yes, what is the root cause of the above error.
Thanks,
RJ.
--
View this message in context:
http://www.nabble.com/sepearte-stylesheet-refrences-for-page-and-panel-tp22088667p22088667.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]