struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rane <r...@madman.com.au>
Subject Re: struts2 dojo plugin (ajax)
Date Tue, 03 Jun 2008 07:54:58 GMT

I had a similar problem - I think it is because the ajax freemarker templates
are being used, but
the component being referred to is using one of the non ajax components
behind the scenes.
anyhow, one way to fix it would be to use the dojo plugin tag for the submit
button ie

<sx:submit />

rather than

<s:submit />

Hope this makes sense.

Cheers,

Rane


Daniel Posirca wrote:
> 
> I am trying to integrate struts and ajax trough dojo plugin. Freemarker is
> trowing me an error :
> 
> freemarker.core.InvalidReferenceException: Expression parameters.pushId is
> undefined on line 97, column 6 in template/ajax/submit.ftl.
> 
> Anyone know what that mean?
> 
> This is my jsp page :
> 
> <s:form name="search" action="search" namespace="/s" id="searchForm">
>     <table width="100%" align="center" cellpadding="0" cellspacing="0">
>         <tr>
>             <td style="padding:10px;">
> 
>                     <table width="50%" align="center" cellpadding="0"
> cellspacing="0">
>                         <tr>
>                             <td>
>                                 <s:textfield name="doc1" label="doc1"/>
>                                       <s:submit value="Seach" theme="ajax"
> id="searchPutton"/>
>                             </td>
>                         </tr>
>                     </table>
> 
>             </td>
>         </tr>
>     </table>
> 
> </s:form>
> 
> My libs :
> 
> struts2-dojo-plugin-2.1.1-SNAPSHOT.jar
> struts2-core-2.1.1-SNAPSHOT.jar
> 
> 

-- 
View this message in context: http://www.nabble.com/struts2-dojo-plugin-%28ajax%29-tp16299581p17618098.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