Re: using CompositeActionMapper

2008-09-28 Thread Jeromy Evans
Allen Lee wrote: Hey there, Has anyone successfully gotten CompositeActionMapper to work and how? name="addressMapper" class="com.mycompany.actionmapper.CustomActionMapper" /> name="compositeMapper" class="org.apache.struts2.dispatcher.mapper.CompositeActionMapper" />

Struts2 setting param in struts.xml JFreeChart

2008-09-28 Thread dynamicd
In my struts.xml file i need to pass a param dynamically for the height of JFreeChart I have param name="height" ${height} /param which is set in my controller as an Integer. public void setHeight(Interger height) public Integer getheight which returns an Integer However the param gets set as

RE: "Preparable" influence hibernate transaction management when using "OpenSessionInViewFilter"

2008-09-28 Thread Martin Gainty
yes OpenSessionInViewFilter acts on attributes contained in the Session http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/ParametersInterceptor.html has access to ActionContext.getParameters() and of course actionContext has access to getSession and setSession

RE: tooltipIconPath attribute not working?

2008-09-28 Thread Martin Gainty
did you set tooltip="true" as suggested earlier ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does no

Re: entity translation question

2008-09-28 Thread Gianluca Musella
Thank you Dave, you help me twice only today. Gianluca 2008/9/29 Dave Newton <[EMAIL PROTECTED]>: > --- On Sun, 9/28/08, Gianluca Musella wrote: >> In my jsp I have this [...] >> >> >> >> The result html is: >> >> some text >> >> There is a way to output directly html tags? > > Use the "escape"

Re: entity translation question

2008-09-28 Thread Dave Newton
--- On Sun, 9/28/08, Gianluca Musella wrote: > In my jsp I have this [...] > > > > The result html is: > > some text > > There is a way to output directly html tags? Use the "escape" attribute, shown in the documentation at: http://struts.apache.org/2.x/docs/property.html Dave -

entity translation question

2008-09-28 Thread Gianluca Musella
In my jsp I have this (this is a sample, I need to have formatting html tag and plain text): The result html is: some text There is a way to output directly html tags? Thank in advance Gianluca - To unsubscribe, e-ma

Re: "Preparable" influence hibernate transaction management when using "OpenSessionInViewFilter"

2008-09-28 Thread Jack_Ryde
Thanks Alberto. I use the default sequence of struts interceptor and in the case B, I initialize the POJO java bean by implementing the method "prepare", which uses a service layer method to retrieve the data from D.B. I am not sure about your suggestion, "Make sure that you are not using eithe

Re: "Preparable" influence hibernate transaction management when using "OpenSessionInViewFilter"

2008-09-28 Thread Jack_Ryde
Thanks for your reply, Gabriel. First of all, in both A and B, we use the same action class variable (POJO) to represent the entity bean. The only difference is the initialize method. A uses a normal class method while B uses the prepare method. Secondly, how does "OpenSessionInViewFilter" commi

Re: tooltipIconPath attribute not working?

2008-09-28 Thread Unmesh Kulkarni
Hi, I am using struts-2.0.11.1 (GA version before the current GA 2.0.11.2) and referring to the documentation that came with it. It says tooltipConfig is deprecated and asks me to "Use individual tooltip configuration attributes instead". The documentation defines tooltipIconPath but not tooltipI

Re: I18n problem

2008-09-28 Thread Dave Newton
--- On Sun, 9/28/08, [EMAIL PROTECTED] wrote: > [...] for maintenance reasons, i prefer to have one copy > or the doc for each locale i must provide, and to switch > in function of the current locale. > > There is some features of s2 i can use? Depending on how you're delivering the document the

Re: call Collections.sort with OGNL

2008-09-28 Thread Dave Newton
--- On Sun, 9/28/08, Kibo wrote: > Hmm, interesting help > Maybe, it would be better say that exists struts tag: sort > http://struts.apache.org/2.x/docs/sort.html Sure, if you want. IMO that kind of work belongs on the server side, but to each their own. Dave -

I18n problem

2008-09-28 Thread [EMAIL PROTECTED]
Hi boys, this is the problem. I've a big document which must be internazionalized. I wouldn't use the standard approach using a single property in the boundle for each section of the document, but, for maintenance reasons, i prefer to have one copy or the doc for each locale i must provide,

Re: call Collections.sort with OGNL

2008-09-28 Thread Kibo
Hmm, interesting help Maybe, it would be better say that exists struts tag: sort http://struts.apache.org/2.x/docs/sort.html though I thanks newton.dave wrote: > > --- On Sun, 9/28/08, Kibo wrote: >> How can I call static method java.util.Collections.sort in OGNL? >> >> I use this: (but it

Re: call Collections.sort with OGNL

2008-09-28 Thread Dave Newton
--- On Sun, 9/28/08, Kibo wrote: > How can I call static method java.util.Collections.sort in OGNL? > > I use this: (but it don´t work) > value="[EMAIL PROTECTED]@sort(testList)}" Does sort() return a value? Dave - To

call Collections.sort with OGNL

2008-09-28 Thread Kibo
Please How can I call static method java.util.Collections.sort in OGNL? I use this: (but it don´t work) in struts.properties i have allow: struts.ognl.allowStaticMethodAccess=true Thanks for help - Tomas Jurman Czech Republic -- View this message in context: http://www.nabb