RE: [S2.1] dojo widget dialog

2008-01-30 Thread Desbois Arnaud
It's work with But you need also to move the dojo.require("dojo.widget.Dialog") into the init function. Thanks. -Message d'origine- De : Jeromy Evans [mailto:[EMAIL PROTECTED] Envoyé : jeudi 31 janvier 2008 07:56 À : Struts Users Mailing List Objet : Re: [S2.1

Re: [S2.1] dojo widget dialog

2008-01-30 Thread Jeromy Evans
Your code likes fine so it appears that dojo has not parsed the html for widgets. I think there's an attribute on sx:head to enable this in Struts2.1 (parseContent=true or something like that) Desbois Arnaud wrote: I'm using Struts 2.1.0, and I want to use the dojo widget dialog. I try th

[S2.1] dojo widget dialog

2008-01-30 Thread Desbois Arnaud
I'm using Struts 2.1.0, and I want to use the dojo widget dialog. I try this simple code: <[EMAIL PROTECTED] prefix="sx" uri="/struts-dojo-tags" %> dojo.require("dojo.widget.Dialog"); var dlg; function init() { dlg = dojo.widget.byId("dialogContent"); dojo.debug("dlg="+dlg);