Hi,
one possible way is:
return new ActionForward(/orderWrapper.do?actionTarget=VIEW_CUSTOMER, true);
inside a execute action method.
Best greetings,
Paweł Wielgus.
2010/8/24 Struts User smtesting...@gmail.com:
Hi,
Is it possible in struts1 to include a parameter in the action redirection.
Hello Dave,
at this point i'am not on your side.
Even in the trivial cases a taglib has a benefit.
A normal AJAX request with a simple indicator and an effect after
completing,
needs a lot of boiler plate code, which is hard to maintenance and to debug.
A taglib make your JSP cleaner and you
On Tue, Aug 24, 2010 at 5:55 AM, Johannes Geppert wrote:
Even in the trivial cases a taglib has a benefit.
*Only* in the trivial cases.
A normal AJAX request with a simple indicator and an effect after
completing, needs a lot of boiler plate code, which is hard to maintenance
and to
Another possible way is to leverage the ActionRedirect class.
For example:
ActionRedirect redirect = new
ActionRedirect(mapping.findForward(someRedirectingForwardDef));
redirect.addParameter(cmp, companyName);
redirect.addParameter(myOtherParameter, myOtherParameterValue);
return redirect;
I have a Struts 2.0 interceptor that dynamically creates a result config
and adds it to the action config. It does it like this:
String newResult = shRes;
ResultConfig cfg = new ResultConfig(newResult,
ServletRedirectResult.class.getName());
cfg.addParam(location,
As the creator of an AJAX taglib (As the developer of an AJAX taglb
(http://javawebparts.sourceforge.net/javadocs/javawebparts/ajaxparts/taglib/package-summary.html)
I have to say... I agree with Dave :)
There was a time (like, around the time I created the library perhaps?!?)
where I would have
*Only* in the trivial cases.
Not only, but in the most cases. I have a medium size webapp
and there I am happy I can do the whole ajax stuff and the simple widget
stuff, like tabs and datepickers with an taglib. this is much more
comfortable and to maintenance as
plain JavaScript. And
OK.. I dropped off this thread because some other fires sprang up at work..
but here I am back where I was a month ago.
struts.xml
constant name=struts.custom.i18n.resources
value=com.fiserv.sourceone.ribs.common.bundles.DbResourceBundle /
index.jsp
s:text
//reiterate 2.1.8 functionality:
com.opensymphony.xwork2.ActionInvocation action_invocation;
ActionProxy proxy=action_invocation.getProxy()
ActionConfig config =proxy.getConfig();
//where ActionConfig contains the addResultConfig method
public Builder addResultConfig(ResultConfig
On Tue, Aug 24, 2010 at 10:38 AM, Johannes Geppert jo...@web.de wrote:
*Only* in the trivial cases.
Not only, but in the most cases.
YMMV; for me, my requirements are so different from project to project,
including requiring different underlying libraries. I have *some*
commonality, which I
On Tue, 24 Aug 2010 10:59:29 -0400, Martin Gainty mgai...@hotmail.com
wrote:
//reiterate 2.1.8 functionality:
com.opensymphony.xwork2.ActionInvocation action_invocation;
ActionProxy proxy=action_invocation.getProxy()
ActionConfig config =proxy.getConfig();
//where ActionConfig contains
Hi All,
I have been using Struts for a few years successfully but here I am founding
an issue when trying to configure an application based upon Struts in a new
server.
The underlying software/packages include:
- Ubuntu
- Java 1.6
- Tomcat 5.5.26
- Struts 1.3.8
I am getting the following
someone promoted 2.2 from Alpha to GA while i was working on something else
...we need to take a look at this asap
how did this bug slip between the cracks of the testcases?
thanks for catching this bug steve!
Martin
__
Note de déni et de
i am researching plugin for struts2
and wanna to create somethhing like SOAP or more interesting thing
and found mule, which in my opinion work smiliar
i change several spring bean from hibernate, to joget, activiti, jbpm, and
jackrabbit
we call it spring module
and we try to inject JSON now
On Tue, Aug 24, 2010 at 10:59 AM, Martin Gainty mgai...@hotmail.com wrote:
//Struts 2.2 is in Alpha Stage if the functionality is absent can you file
a JIRA?
If by alpha you mean has a 2.2.1 point GA release, sure.
Dave
The execAndWait interceptor used to do something like this for the
wait result--I'd look there for how it works around the change
requiring these be immutable.
-Dale
-
To unsubscribe, e-mail:
On Tue, Aug 24, 2010 at 10:51 AM, akinsgre angryg...@gmail.com wrote:
struts.xml
constant name=struts.custom.i18n.resources
value=com.fiserv.sourceone.ribs.common.bundles.DbResourceBundle /
index.jsp
s:text name=FS_UI_ACCT_SWITCH_EN_BUTTON_GO_ACCOUNT/
A followup to this:
If I put a
On 8/24/10 12:54 PM, Greg Akins wrote:
On Tue, Aug 24, 2010 at 10:51 AM, akinsgreangryg...@gmail.com wrote:
struts.xml
constant name=struts.custom.i18n.resources
value=com.fiserv.sourceone.ribs.common.bundles.DbResourceBundle /
That constant has a String value.
index.jsp
s:text
On Tue, Aug 24, 2010 at 1:13 PM, Dale Newfield d...@newfield.org wrote:
struts.xml
constant name=struts.custom.i18n.resources
value=com.fiserv.sourceone.ribs.common.bundles.DbResourceBundle /
That constant has a String value.
From what I've read, the struts.custom.i18n.resources constant
Yippee!!
After a little more Googling it occurred to me that the default might
be still set in struts.properties; it was.. and when I removed it my
DbResourceBundle started working
Thanks for bearing with me
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
Hi Fernando,
what i would do is to check all tomcat logs,
maybe there You can find more info about the real problem source.
Best greetings,
Paweł Wielgus.
2010/8/24 Fernando fernando.isr...@kognoz.com:
Hi All,
I have been using Struts for a few years successfully but here I am founding
an
On Tue, 24 Aug 2010 12:44:36 -0400, Dale Newfield d...@newfield.org
wrote:
The execAndWait interceptor used to do something like this for the
wait result--I'd look there for how it works around the change
requiring these be immutable.
-Dale
Thanks Dale - that helped me figure it out.
We
22 matches
Mail list logo