But in this case, the ajax tag don't work (I've the error message in the div: 
"Error 404: SRVE0190E: file not found" instead of the html tag)

Do you have any idea or solution to solve my problem?

(FYI, I use the Struts tiles plugin)

Arnaud

-----Message d'origine-----
De : Musachy Barroso [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 29 novembre 2007 16:39
À : Struts Users Mailing List
Objet : Re: [S2.1] problem ajax tag into a remote div

Don't include it on the page that goes into the div.

musachy

On Nov 29, 2007 2:57 AM, Desbois Arnaud <[EMAIL PROTECTED]> wrote:
> When I put the <sx:head/> tag into the included page, it work fine, but the 
> dojo.js (564ko) is loaded twice (one for the <sx:div> and one for its content 
> which contains the <sx:datetimepicker/>).
>
> It is normal/recommended to put several times the <sx:head/> tag to render 
> the final page?
>
> Arnaud
>
> -----Message d'origine-----
> De: Musachy Barroso [mailto:[EMAIL PROTECTED]
> Envoyé: mercredi 28 novembre 2007 19:36
> À: Struts Users Mailing List
> Objet: Re: [S2.1] problem ajax tag into a remote div
>
>
> Did you add <sx:head /> to your page?
>
> musachy
>
> On Nov 28, 2007 1:26 PM, Desbois Arnaud <[EMAIL PROTECTED]> wrote:
> > When I put ajax tag such as <sx:datetimepicker> into a remote div
> > (<sx:div>), I've the error:
> >
> >
> >
> > Exception : java.lang.NullPointerException
> >
> >       at
> > org.apache.struts2.dojo.components.DateTimePicker.evaluateParams(DateTim
> > ePicker.java:256)
> >
> >       at org.apache.struts2.components.UIBean.end(UIBean.java:493)
> >
> >       at
> > org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSu
> > pport.java:41)
> >
> >       at
> > com.ibm._jsp._edit_5F_description._jspx_meth_sx_datetimepicker_0(_edit_5
> > F_description.java:187)
> >
> >       at
> > com.ibm._jsp._edit_5F_description._jspx_meth_s_form_0(_edit_5F_descripti
> > on.java:228)
> >
> >       at
> > com.ibm._jsp._edit_5F_description._jspService(_edit_5F_description.java:
> > 78)
> >
> >       at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
> >
> >       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> >
> >
> >
> >
> > With <s:optiontransfertselect> tag, I've a javascript error
> > "moveSelectedOptions is not defined" with the button action
> >
> >
> >
> > What is the problem?
> >
> >
> >
> > Regards
> >
> > Arnaud
> >
> >
> >
> >
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> 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]
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
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]

Reply via email to