Follow up, just in case...
The two problems where related one each other. In fact:
Taglib
<%@ taglib prefix="s" uri="/struts-tags" %>
was defined in the "main" page.
Inside the jsp called via Ajax by action result (inside s:div) I used tags
like s:property.
I discovered that when doing
<s:div id="div1" href="%{ajaxTest}" theme="ajax" formId="form1" />
the page called by the action result has to define another taglib prefix:
<%@ taglib prefix="another" uri="/struts-tags" %>
This way all things works fine:
<s:property value="%{getAValue}" />
gives the expected result.
P.
--------- Original Message --------
Da: Struts Users Mailing List <[email protected]>
To: [email protected] <[email protected]>
Oggetto: Re: [S2 and Ajax] Could not locale widget implementation...
Data: 19/09/07 11:12
>
>
>
>
> Ops, I missed some information.
> In addition, when setting the s:head debug="true" I'm getting the message:
>
> DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not
> locate widget implementation for "div" 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 "div" in "s.widget" registered to namespace "s"
>
> >
> >
> >
> >
> > Hi list,
> >
> > I'm trying to display the results of a Form in a s:div through Ajax.
> > The submit is done fine, I can get the parameters through scriptlets
> > (request.getParameter...) but i can't use s2 tags (i.e. <s:property
> > value="%{property}"/>): it seems they are not being rendered.
> >
> > Could someone tell me where I'm wrong?
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]