so what you want is dynamically finding values on top of the OGNL stack?
I am pretty sure its not possible directly through existing tags. But if
write your own method which is like
public Object getValueFromStack(String key) {
return stack.findValue(key)
}
(havent gone to check how exactly to
Hi All,
I've been trying to do language selection in Struts 1 (yes, i have to use
those). However, after sucessfully changing the language on the login page,
after logging in the language just reverts to using the default property
file. Can you tell me what i'm doing wrong here? What i need to do
Hi All,
I've been trying to do language selection in Struts 1 (yes, i have to use
those). However, after sucessfully changing the language on the login page,
after logging in the language just reverts to using the default property
file. Can you tell me what i'm doing wrong here? What i need to do
Hey Chris -- Can you utilize an interceptor(s) for any of your biz-logic?
jb
/
From: CRANFORD, CHRIS chris.cranf...@setech.com
To: user@struts.apache.org
Sent: Tuesday, August 9, 2011 8:51 AM
Subject: Where's ideal for this logic?
I have several actions that instantiate a business service to
One possibility you could use to separate the code responsibility
might be to collect your data into objects and dump those objects
directly into the view as JSON, or even fetch the data AJAX style
using a separate action/view. Since your chart renders are different
from page to page and are being
Hello,
Could someone update struts*.jars to use
org/apache/commons/lang3/StringUtils in commons-lang3-3.0.1.jar please?
Please see https://commons.apache.org/lang/article3_0.html
For struts2.2.3, if with the new lang jar, I got the following exception.
Thanks a lot!
Emi
--
After I
Emi, you will need both dependencies. You need 3.0.1 for your own
development and 2.x for Struts 2.
Anyway, I am surprised Struts 2 is exposing Commons Lang. I thought
2.2 or 2.3 went ahead and shaded it so users could use any version of
Commons Lang they wanted to.
Paul
On Thu, Aug 11, 2011 at
Good morning,
In struts2.2.3, how to submit a form to a predefined action?
For example,
(1) a.jsp
s:select onchange=changeProcess /
(2) Process.java
...
public String change()
{
get Form values from a.jsp
database actions ... ...
return a.jsp;
}
I'd like to know:
The onchange attribute expects JavaScript. So you'd have to write a
function to use ajax to make your request to /process_change.action.
---
d[-_-]b
Beez
-Original Message-
From: Emi Lu [mailto:em...@encs.concordia.ca]
Sent: Thursday, August 11, 2011 11:16 AM
To: Struts Users
Hello,
The onchange attribute expects JavaScript. So you'd have to write a
function to use ajax to make your request to /process_change.action.
Or someone could provide more info will sj:select help satisfy the
following requirement?
(1) sj:select name=country onchange=to_change_region /
Or someone could provide more info will sj:select help satisfy the
following requirement?
(1) sj:select name=country onchange=to_change_region /
(2) sj:select name=region onchange=to_change_city /
(3) sj:select name=coutry /
Actually, I prefer not to use complex javascript code to do
You could always make your own tag as an extension to the standard struts
select tag adding attributes onChangeAction and onChangeTarget and let your new
tag render an appropriate bit of javascript to make an ajax call to the server
and then populate the results into the target item.. such a
Hi All,
I was wondering if there is any way we can tell struts to put '/' at the
end of the tag.
For example if we have struts tag as
html:text styleId=agencyName title=Agency Name size=30
property=agencyName value= /
it will convert to
input type=text name=agencyName size=30 value=
Hi,
I do not know a text tag in struts:
http://struts.apache.org/2.2.3/docs/ui-tag-reference.html
And the texfield tags renders correct with closing / (at least in my app)
Might it be related to the tag itself?
What doctype do you use?
Cheers
On Thu, Aug 11, 2011 at 7:18 PM, Anjib Mulepati
wrong version of struts.
On Aug 11, 2011 1:23 PM, Christian Grobmeier grobme...@gmail.com wrote:
Hi,
I do not know a text tag in struts:
http://struts.apache.org/2.2.3/docs/ui-tag-reference.html
And the texfield tags renders correct with closing / (at least in my app)
Might it be related
oh :-)) I am sorry
On Thu, Aug 11, 2011 at 7:31 PM, Dave Newton davelnew...@gmail.com wrote:
wrong version of struts.
On Aug 11, 2011 1:23 PM, Christian Grobmeier grobme...@gmail.com wrote:
Hi,
I do not know a text tag in struts:
http://struts.apache.org/2.2.3/docs/ui-tag-reference.html
I'm not sure if it helps, maybe you will be luckier looking at
http://struts.apache.org/1.x/struts-taglib/tlddoc/html/xhtml.html
--
Maurizio Cucchiara
On 11 August 2011 19:31, Dave Newton davelnew...@gmail.com wrote:
wrong version of struts.
On Aug 11, 2011 1:23 PM, Christian Grobmeier
17 matches
Mail list logo