struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cree <v...@oswego.edu>
Subject Problem with dojo loading dynamic html source
Date Tue, 25 Mar 2008 18:13:44 GMT

My problem arises when I write out html to a jsp in a way like
out.println("<s:a href...");.  Well the <s:a html is built on server side
with theme="ajax" and targets set to a panel div.  

The line is similar to  <s:a theme="ajax" targets="somePanelDiv"
href="...">Link</s:a>

When dojo renders this source I get an error of:

DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not
locate widget implementation for "a" in "s.widget" registered to namespace
"s". Developers must specify correct namespaces for all non-Dojo widgets --
will be removed in version: 0.5
DEBUG: dojo.widget.Parse: error:Error: Could not locate widget
implementation for "a" in "s.widget" registered to namespace "s"

This is returned for each link.  Now I can confirm that all links that I am
streaming onto the jsp do work, but they work only when statically embedded,
this error is thrown when using out.println.

I looked around to if or how to specify the namespace in this instance, but
one, I couldnt locate any sound sources,  and two I am confused on why this
is not a problem when the source is statically placed inside the jsp.

If anyone can lend some inisight on this problem I am having, or a direction
to point me in I would appretiate it.
-- 
View this message in context: http://www.nabble.com/Problem-with-dojo-loading-dynamic-html-source-tp16282902p16282902.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message