Hi
I know if I want to access an enum in JSP i can do
s:property value=@com.my.package.mye...@my_value/
However if MyEnum is public in a class, say MyClass, how do it get the
value?
I tried
@com.my.package.myclass.mye...@my_value
@com.my.package.mycl...@myenum@MY_VALUE
Did you set struts.ognl.allowStaticMethodAccess to true?
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
Hi @all,
Is there any problem with action mapping result input success to the same jsp
file? The jsp is not rendered correctly for input result and I'm not getting
any error/warning from Struts with devMode=true.
Thanks,
Tommy
2009/9/15 Tommy Pham tommy...@yahoo.com:
Is there any problem with action mapping result input success to the same
jsp file? The jsp is not rendered correctly for input result and I'm not
getting any error/warning from Struts with devMode=true.
Nope, it should work, maybe you have some
yeahi just went back to check
it is set to true
On Tue, Sep 15, 2009 at 3:20 PM, Lukasz Lenart lukasz.len...@googlemail.com
wrote:
Did you set struts.ognl.allowStaticMethodAccess to true?
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Hi all,
and just to be sure that everything is ok,
check in config browser plugin your mappings.
http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html
Best greetings,
Paweł Wielgus.
2009/9/15 Lukasz Lenart lukasz.len...@googlemail.com:
2009/9/15 Tommy Pham
hello all
i've doubt in generating dynamic text box values using bean:write
, am populating a TreeSet object which has unique values , and i've to
display it on jsp page on text boxes (for example ,the TreeSet has 5
elements) . how do i do it? please any1 suggest me.
--
View this
Hi Pawel Lukasz,
Thanks for the reply.
--- On Tue, 9/15/09, Paweł Wielgus poulw...@gmail.com wrote:
From: Paweł Wielgus poulw...@gmail.com
Subject: Re: mapping result input success to same jsp file
To: Struts Users Mailing List user@struts.apache.org
Date: Tuesday, September 15, 2009,
have a submit button which has the value of Add Employee
html:submit property=actionAdd Employee/html:submit
but when submitted I want the property to be set to another value add in the
request
action=add
How can this be done?
Thanks.
I just migrated my application from ISO8859-1 to UTF-8.
I have a problem with encoding of parameters. There is an error passing
a parameter from xwork to an action using redirect:
...
result name=returnFind
type=redirect![CDATA[list.action?name=${name}page=${page}]]
lt;/result
...
If the
- Original Message
From: Francisco Barroso (Fortes Informática)
franciscobarr...@grupofortes.com.br
To: user@struts.apache.org
Sent: Tuesday, September 15, 2009 8:29:56 AM
Subject: problem with encoding of parameters, type=redirect
I just migrated my application from ISO8859-1 to
If
If you are using Tomcat as a server then you will need to add
URIEncoding=UTF-8 attribute to the Connector in the server.xml file, If
not specified, ISO-8859-1 will be used [1].
This URIEncoding attribute applies only to GET requests (not POST).
[1]
fea jabi wrote:
have a submit button which has the value of Add Employee
html:submit property=actionAdd Employee/html:submit
but when submitted I want the property to be set to another value add in the
request
action=add
How can this be done?
Without javascript it cannot.
-Dale
may I know what the javascript will be?
Date: Tue, 15 Sep 2009 11:59:20 -0400
From: d...@newfield.org
To: user@struts.apache.org
Subject: Re: submit button
fea jabi wrote:
have a submit button which has the value of Add Employee
html:submit property=actionAdd
fea jabi wrote:
may I know what the javascript will be?
add an onclick on the button that adds the parameter you want.
Or just set a name on the submit button so that Add+Employee will be
sent if that button is pressed, and teach the action to decipher all the
i18n versions of that string.
I've done it already (change the struts.i8n.encoding in
struts.xml/properties).
The problem persists...
Tommy Pham escreveu:
- Original Message
From: Francisco Barroso (Fortes Informática)
franciscobarr...@grupofortes.com.br
To: user@struts.apache.org
Sent: Tuesday, September
I've done it already (change URIEncoding to UTF-8).
The problem persists...
Greg Lindholm escreveu:
If
If you are using Tomcat as a server then you will need to add
URIEncoding=UTF-8 attribute to the Connector in the server.xml file, If
not specified, ISO-8859-1 will be used [1].
This
Better show your full action and result configuration from struts.xml so we
can see how you are passing parameters.
2009/9/15 Francisco Barroso (Fortes Informática)
franciscobarr...@grupofortes.com.br
I've done it already (change URIEncoding to UTF-8).
The problem persists...
Greg Lindholm
flow variable nomeBusca:
(update) ColaboradorEditAction.java xwork-Colaborador.xml
(list) ColaboradorListAction.java (BUG)
ColaboradorEditAction.java--
package com.fortes.rh.web.action.geral;
import com.fortes.rh.web.action.MyActionSupportEdit;
import
I would change your result configuration to:
result name=retornoBusca type=redirectAction
param name=actionNamelist/param
param name=nomeBusca${nomeBusca}/param
param name=cpfBusca${cpfBusca}/param
param name=page${page}/param
/result
This style works
I recommend using a tool like Fiddler or HttpWatch to see if your session
cookie is being messed with.
I have seen Apache proxy server 2.0 build 50 cache the cookie set command on
images etc.
So when you get a cached copy of an image you get the session that the other
user had when the image was
21 matches
Mail list logo