RE: Access value of a map inside an iterator

2008-02-25 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Maybe with this : Julien -Message d'origine- De : David Loup [mailto:[EMAIL PROTECTED] Envoyé : lundi 25 février 2008 13:53 À : Struts Users Mailing List Objet : RE: Access value of a map inside an iterator Hello, After a bit of refactoring, I'm quite happy iterating over

RE: For s:textfield tag how to get value for title attribute from resource bundle.

2008-02-22 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Try this : http://struts.apache.org/2.0.11/docs/localization.html Julien -Message d'origine- De : VJ22 [mailto:[EMAIL PROTECTED] Envoyé : vendredi 22 février 2008 16:26 À : user@struts.apache.org Objet : For s:textfield tag how to get value for title attribute from resource bundle.

RE: Javascript issue encountered with

2008-02-15 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Hello, Do the tag is in a div loaded in AJAX ? If you load the tag in a ajax div, js will not be included. In this case try with this : Julien -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : vendredi 15 février 2008 15:15 À : user@struts.apache.org Obje

RE: Populate Form from DAO

2008-02-01 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Did you try : MyObject theObject; (geter and setter on theObject) execute () { theObject = myDAO.getRecord(id); } And in the JSP : -Message d'origine- De : Richard Sayre [mailto:[EMAIL PROTECTED] Envoyé : vendredi 1 février 2008 13:37 À : Struts Users Mailing List Objet : Popula

RE: Struts 2.0.11 + Tiles

2007-12-07 Thread LEONARD Julien (Consulting for ACCOR Hotels)
And if you put the strutslistener you haven't any exception in you server log? No exception on startup ? No exception when you try to access to your application? -Message d'origine- De : Rodrigo Pereira [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 décembre 2007 16:27 À : Struts Users Ma

RE: [S2] Ognl in s:if

2007-12-05 Thread LEONARD Julien (Consulting for ACCOR Hotels)
In fact, I've just tried aContainerObject.set2.contains(top) And it works... Is there a documentation on the use of # to acces to a variable? -Message d'origine- De : LEONARD Julien (Consulting for ACCOR Hotels) [mailto:[EMAIL PROTECTED] Envoyé : mercredi 5 décembre 20

RE: [S2] Ognl in s:if

2007-12-05 Thread LEONARD Julien (Consulting for ACCOR Hotels)
7 11:27 AM, LEONARD Julien (Consulting for ACCOR Hotels) < [EMAIL PROTECTED]> wrote: > Hello all, > > I have two Set of objects. The set1 is the reference set (with all > objects) and set2 some on list1 elements. > All elements are the same class and I have redefined hashC

[S2] Ognl in s:if

2007-12-05 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Hello all, I have two Set of objects. The set1 is the reference set (with all objects) and set2 some on list1 elements. All elements are the same class and I have redefined hashCode and equals method. I want to do this : true false But it don't wor

[S2] Image Generation

2007-11-27 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Hello all, I want to develop an action that return an image. This image is based on a image file and a text put in the middle of the image. I've look at JasperReports and I think that is to complicated for my use. I think that I can do this with a simple xslt-fo and FOP to create a PDF, but I don

RE: [S2] SVG in tiles result

2007-11-26 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Thanks for the help Antonio. It works fine :) I have an action that return a svg file correctly :) Julien -Message d'origine- De : LEONARD Julien (Consulting for ACCOR Hotels) [mailto:[EMAIL PROTECTED] Envoyé : lundi 26 novembre 2007 11:20 À : Struts Users Mailing List Objet : RE

RE: [S2] SVG in tiles result

2007-11-26 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Oh... Ok thanks I will try with or ^^ Julien -Message d'origine- De : Antonio Petrelli [mailto:[EMAIL PROTECTED] Envoyé : lundi 26 novembre 2007 11:17 À : Struts Users Mailing List Objet : Re: [S2] SVG in tiles result 2007/11/26, LEONARD Julien (Consulting for ACCOR Hotels) <

RE: [S2] SVG in tiles result

2007-11-26 Thread LEONARD Julien (Consulting for ACCOR Hotels)
In fact, it's exactly what I've tried... Could it be a MIME type problem? -Message d'origine- De : Antonio Petrelli [mailto:[EMAIL PROTECTED] Envoyé : lundi 26 novembre 2007 11:05 À : Struts Users Mailing List Objet : Re: [S2] SVG in tiles result 2007/11/26, LEONARD Jul

RE: [S2] SVG in tiles result

2007-11-26 Thread LEONARD Julien (Consulting for ACCOR Hotels)
: Antonio Petrelli [mailto:[EMAIL PROTECTED] Envoyé : lundi 26 novembre 2007 10:48 À : Struts Users Mailing List Objet : Re: [S2] SVG in tiles result 2007/11/26, LEONARD Julien (Consulting for ACCOR Hotels) < [EMAIL PROTECTED]>: > > I'm trying to put a svg image in a tiles result, but it

[S2] SVG in tiles result

2007-11-26 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Hello all, I'm trying to put a svg image in a tiles result, but it seems that it don't work... I've changed the html tag : http://www.w3.org/2000/svg";> And I have tried 2 examples. Example 1: http://www.w3.org/2000/svg"; version="1.1" width="400" height="300"> HELLO cher visiteur Exam

RE: [s2][ognl] and with a string.

2007-11-20 Thread LEONARD Julien (Consulting for ACCOR Hotels)
In fact belong my experience of Struts2, the good way to make an expression is with %{ }. And for all variables declared in JSP (s:set, or status of s:iterator ) are accessible with a #. Maybe these variables are in pageContext and not the valueStack, and "#" is the way to acces to the pageCon

RE: [s2][ognl] and with a string.

2007-11-20 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Hello Try like this : XXX YYY -Message d'origine- De : GF [mailto:[EMAIL PROTECTED] Envoyé : mardi 20 novembre 2007 10:59 À : user@struts.apache.org Objet : [s2][ognl] and with a string. I have this code: XXX YYY This code shows XXX but doesn't show YYY. How can I sa

[S2] Javascript error on publish topic with IE

2007-11-07 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Hello, I have a js function that publish a topic to refresh a s:div. With Firfox it works fine. But with IE 6, the first time that I use this function I have a JS error : Line : 4872 Car : 1 Error : [object Error] Code : 0 The second time it works... Here is my publishing of the topic : dojo.ev

RE: Struts2 redirect-action params with ognl-expression values

2007-10-26 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Did you try this ? ModNews ${id} Julien -Message d'origine- De : Andvar Woo [mailto:[EMAIL PROTECTED] Envoyé : vendredi 26 octobre 2007 12:17 À : Struts Users Mailing List Objet : Struts2 redirect-action params with ognl-expression values Hi.all. Recently,I'v encount

RE: Struts 2 + tiles + displaytag export = firefox hang or exception

2007-10-17 Thread LEONARD Julien (Consulting for ACCOR Hotels)
I see two things that can flush the response. And I think that you should try to include menu.jsp with tiles. -Message d'origine- De : Giovanni Azua [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 octobre 2007 11:41 À : Struts Users Mailing List Objet : Re: Struts 2 + tiles + displayt

RE: Struts 2 + tiles + displaytag export = firefox hang or exception

2007-10-17 Thread LEONARD Julien (Consulting for ACCOR Hotels)
ilter org.displaytag.filter.ResponseOverrideFilter struts2 org.apache.struts2.dispatcher.FilterDispatcher ResponseOverrideFilter *.action struts2 /* ... TIA, regards, Giovanni LEONARD Julien (Consulting for ACCOR Hotels) wrote: > Try this in your

RE: Struts 2 + tiles + displaytag export = firefox hang or exception

2007-10-17 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Sorry I didn't see that you had already put it. In fact, maybe the response has been flushed before de display:table like it's explained here => http://displaytag.sourceforge.net/11/export_filter.html -Message d'origine- De : Giovanni Azua [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17

RE: Struts 2 + tiles + displaytag export = firefox hang or exception

2007-10-17 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Try this in your web.xml: ResponseOverrideFilter *.action -Message d'origine- De : Giovanni Azua [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 octobre 2007 11:09 À : Struts Users Mailing List Objet : Struts 2 + tiles + displaytag export = firefox hang or exception hi All,