Hi there.

I wanted to implement Tooltips for my DataTable as described in the Wiki: 
http://cwiki.apache.org/WICKET/how-to-add-tooltips.html

So in every page I want to use them I add this in the page constructor:
add(HeaderContributor.forCss(AbstractBorder.class,
"resource/css/sweetTitles.css"));
add(HeaderContributor.forJavaScript(AbstractBorder.class,
"resource/js/addEvent.js"));
add(HeaderContributor.forJavaScript(AbstractBorder.class,
"resource/js/sweetTitles.js"));

The sweetTitles tooltips are working if I add the DataTable directly to the
page.
But they are not working for the table when I use a "AjaxLazyLoadPanel"
around the DataTable (for other Components on the Page that are outside the
AjaxLazyLoadPanel they are still working).

Or at another place I use a "LinkTree" and change a panel when it is clicked
on a node. I also added the "add(HeaderContributor ...." stuff for the
WebPage with the LinkTree, but in the Panels I can't use the sweetTitles
tooltips.

When I look at the generated HTML-Code the JavaScript-Files are always
correctly in the header.
But why are they not working?

Any idea? Did I miss something?


Thomas
-- 
View this message in context: 
http://www.nabble.com/Problem-with-JavaScript-when-using-Wicket-AJAX-Components-tp14432037p14432037.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