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" />
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
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
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
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"
--- 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
-
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
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
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
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
--- 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
--- 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
-
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,
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
--- 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
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
16 matches
Mail list logo