On 29/01/2009, at 6:36 PM, Srikanth Goud wrote:


Hi,

I am presently working on struts 2.0.
Whenever i use strutsUI tags(with theme="ajax") nothing is rendered on
page.


Have a look at the source of the page to see what's rendered. Is it the page you expected and does it contain javascript to load Dojo? If not, then it's a configuration simple configuration error.


If it's there, can you please test it in Firefox with the FireBug plugin installed? That plugin allows you to inspect the requests (and many other useful things) and my guess is it's failing to find the Dojo javascript files, and so failing to initialise.

If it made the requests okay, check if it requested any html that was accidentally decorated by Sitemesh (and became invalid). You may need a no-decorate setting on "/struts/* (I can't recall what Tree uses)

Finally, is the tree supposed to contain anything? Your example doesn't provide sufficient attributes.

Also don't do too much at once; ensure sitemesh works, then tiles works, then that the widgets work.

Hope that helps a little,
Jeromy Evans

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to