Hello everyone,
I was able to deploy and run struts2-jquery-grid-showcase 3.6.1 on tomcat
application server out of box. However, I am unable to run it on
jboss-as-6.0.final. I believe that jboss is expecting all the actions to be
configured explicitly on the struts.xml.
This is how I configu
Hi Umesh, Paul and Martin,
Thanks a lot for you help. Finally using session aware I could save and
retrieve the shopping cart across pages. PFB the code :
To save :
Use implements SessionAware
public void setSession(Map sessionMap) {
map = sessionMap;
map.put("ShoppingCart", getCart());
To ret
2013/9/12 Mohit Gupta :
> Yes i am sure value is "/customerhome.do?custIdId=200".
>
> Also do you mean that result mapping should be
> @Result(name = "redirectTo", location = " ${#parameters.redirectLocation} ",
> type = "redirect") })
>
> instead of
>
> @Result(name = "redirectTo", location = "#
Yes i am sure value is "/customerhome.do?custIdId=200".
Also do you mean that result mapping should be
@Result(name = "redirectTo", location = " ${#parameters.redirectLocation} ",
type = "redirect") })
instead of
@Result(name = "redirectTo", location = "#parameters.redirectLocation",
type = "r
2013/9/12 Mohit Gupta :
> Lukasz, is there any workaround so that i can get rid of namespace?
>
> As i mentioned if i hard code the url under location attribute, it works
> fine and does not add any namespace
>
> @Result(name = ComposeMessageCrudAction.REDIRECT_TO, location =
> "/customerhome.do?cu
Lukasz, is there any workaround so that i can get rid of namespace?
As i mentioned if i hard code the url under location attribute, it works
fine and does not add any namespace
@Result(name = ComposeMessageCrudAction.REDIRECT_TO, location =
"/customerhome.do?custIdId=200", type = "redirect") })
It's because of restrictions in ParametersInterceptor - it doesn't
allow keys with spaces as this can be potential malicious code. Check
docs [1] and source [2]
[1] http://struts.apache.org/development/2.x/docs/parameters-interceptor.html
[2]
https://svn.apache.org/repos/asf/struts/struts2/trunk/
Dear List,
we have some forms in our applications which contain a dynamic number of
fields.
Therefore we have a map as action member and generate HTTP parameter names
like this:
https://github.com/wolpi/struts2-samples/tree/master/mapparaspaces
Could you please have a look at this?
Regard
2013/9/11 Christoph Nenning :
> it should work when you add namespace "/" to paramters:
>
> @Result(
> name = "redirectTo",
> location = "#parameters.redirectLocation",
> type = "redirect",
> params={"namespace", "/"}
> )
>
>
> see this wiki page:
> http://struts.apa
9 matches
Mail list logo