RE: S2: EL in tags 2.0.11

2007-10-29 Thread Desbois Arnaud
Try this: %{#request['javax.servlet.forward.context_path'] Arnaud -Message d'origine- De : cilquirm [mailto:[EMAIL PROTECTED] Envoyé : lundi 29 octobre 2007 17:51 À : user@struts.apache.org Objet : Re: S2: EL in tags 2.0.11 I believe this was a security fix, as there was an issue wher

[S2.1] problem with sx:head tag

2007-11-28 Thread Desbois Arnaud
I try to upgrade an application 2.0.11 to 2.1.0 (with Struts tiles plugin) But when I put a dojo tag such as into my JSP I have this error (see below). The is put into a tiles definition file (a JSP file in fact). But when I put the directly into ma JSP page (before ), it's Ok. Why the first

[S2.1] problem ajax tag into a remote div

2007-11-28 Thread Desbois Arnaud
When I put ajax tag such as into a remote 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.ap

[S2.1] dojo plugin customization

2007-11-28 Thread Desbois Arnaud
In Struts 2.1, how I can customize the widget dojo look? Can I create a custom Dojo profile (like http://cwiki.apache.org/confluence/display/S2WIKI/Creating+a+custom+Dojo +profile+for+Struts+2.0.x)? What is the best solution to customize (the CSS in fact) the dojo widgets? Regards Arna

RE: [S2.1] problem ajax tag into a remote div

2007-11-28 Thread Desbois Arnaud
sachy 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 to your page? musachy On Nov 28, 2007 1:26 PM, Desbois Arnaud <[EMAIL PROTECTED]> wrote: > When I put ajax tag s

RE: [S2.1] problem ajax tag into a remote div

2007-11-29 Thread Desbois Arnaud
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 PROTECT

[S2] problem with datetimepicker and locale

2007-12-04 Thread Desbois Arnaud
I have a web application localized with several languages (en, fr, es). My problem is: the DataTimePicker display the calendar with the locale of the system (a French Windows, the month is always written in French) under IE7 (which an English locale is defined). And under FireFox (with the Quick

[2.1] DateTimePicker with date and hour input field

2007-12-18 Thread Desbois Arnaud
I want to enter the date and the hour into the same input field: the date with only the datepicker, and the hour directly into the same input field. For example: By default the field is empty [ ] Select a date with the DatePicker: [ 18/12/07 12:00 AM ] (12:00 AM by def

[S2] message properties

2007-12-21 Thread Desbois Arnaud
I want to customize the messages properties (like struts 1) with {0} variable: message.remove=Are you sure you want to remove: {0}? But how I can call in my JSP the message with the variable? I try this, but it doesn't work: Also, how I can retrieve a message from the resou

RE: [S2] message properties

2007-12-21 Thread Desbois Arnaud
But with the set tag, it doesn't work: -Message d'origine- De : Maxx [mailto:[EMAIL PROTECTED] Envoyé : vendredi 21 décembre 2007 12:20 À : Struts Users Mailing List Objet : Re: [S2] message properties In a JSP, it's quite easy, you just have to use a nested inside the tag

[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);

RE: [S2.1] dojo widget dialog

2008-01-30 Thread Desbois Arnaud
] dojo widget dialog 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 do