absolutely.

I have tried two things and they both work the same way.

first using a wicket id
add(new StyleSheetReference("stylesheet", CustomerPanel.class,
"jquery.tooltip.css")); 
<link rel="stylesheet" type="text/css" wicket:id="stylesheet" />
and
straight html
<link rel="stylesheet" type="text/css" href="css/jquery.tooltip.css" />

What I have found through looking at the code is that the WebMarkupContainer
is not being shown in the view page source. 

So when the page first loads I look at the page source and everything is
showing up just like it should. The listview is empty so it is hidden.

I then click the ajaxlink that open up a modal that allows me to add data to
the list view. When the modal is closed the listview which is inside the
webmarkupcontainer is refreshed and the new data is shown on the screen.

I then hover over the new data and the hover over works but the css
formatting is not there. I view the page source again and it still shows
that the listview is empty. If I refresh the page then the hover over works
perfect with the css.

My guess is that the refreshed listview and the css do not know that each
other exist. Maybe I am refreshing the webmarkupcontainer wrong or maybe I
should add the css to it instead of the entire html page.


Any ideas?

Thanks

T
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CSS-not-loading-on-WebMarkupContainer-refresh-tp2019665p2020630.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