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 :
> Hi,
>
> Is it possible in struts1 to include a parameter in the action redirection.
> If I have a web a
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 d
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 redirec
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", "SearchHelp.actio
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 a
> *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 JavaScr
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
index.jsp
The value of "name" is output on the page, and the DbResourceBundle class
doesn't appear to be loaded.
J_e_f_f wrote:
>
> D'oh! Yeah, that was a typ
//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 resultCon
On Tue, Aug 24, 2010 at 10:38 AM, Johannes Geppert 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 handle vi
On Tue, 24 Aug 2010 10:59:29 -0400, Martin Gainty
wrote:
//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 me
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 except
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 confidenti
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 i
On Tue, Aug 24, 2010 at 10:59 AM, Martin Gainty 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: user-unsubscr...@struts.apache.o
On Tue, Aug 24, 2010 at 10:51 AM, akinsgre wrote:
>
> struts.xml
> value="com.fiserv.sourceone.ribs.common.bundles.DbResourceBundle" />
>
> index.jsp
>
>
A followup to this:
If I put a static initializer with a System.out.println in
DbResourceBundle, it never get's executed; I'm not sure when
On 8/24/10 12:54 PM, Greg Akins wrote:
On Tue, Aug 24, 2010 at 10:51 AM, akinsgre wrote:
struts.xml
That constant has a String value.
index.jsp
And this is looking up the specified item in
ApplicationResources.properties
A followup to this:
If I put a static initializer with a Sys
On Tue, Aug 24, 2010 at 1:13 PM, Dale Newfield wrote:
>>>
>>> struts.xml
>>> >> 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 usually
gets set to something like "global-mes
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
http://pit
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 :
>
> Hi All,
>
> I have been using Struts for a few years successfully but here I am founding
> an issue when trying to co
On Tue, 24 Aug 2010 12:44:36 -0400, Dale Newfield
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 can no longer alt
On Tue, Aug 24, 2010 at 11:34 AM, Martin Gainty wrote:
> 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?
>
What makes you think it's a bug? "Someone" promoted from al
23 matches
Mail list logo