Hi,
Are you using struts-tiles2-1.4.0-SNAPSHOT.jar ?
This jar is required for Struts 1 to work with Tiles 2.
Regards,
Shrinivas
-Original Message-
From: vsendhil [mailto:vsend...@gmail.com]
Sent: 30 August 2012 06:04
To: user@struts.apache.org
Subject: Re: Struts 1.x and Strtus2.x With T
Hi,
Does your jar contains JSP or precompiled JSP (.class of Servlet)
Regards,
Shrinivas
-Original Message-
From: paulus.benedic...@gmail.com [mailto:paulus.benedic...@gmail.com] On
Behalf Of Paul Benedict
Sent: 26 July 2012 01:26
To: Struts Users Mailing List; Omar Ngarigari
Subject: Re
Hi,
Can we define @TypeConversion annotation of the nested property at the parent
level.
For Example I have a bean
public class Bike {
private Name name;
public Name getName() {
return this.name;
}
public void setName(Name name) {
this.name = name;
}
Hi,
I am using visitorFieldValidator in my action class. Server Side validation is
working fine. But the problem is client side validation code is not generated.
One more problem with client side validation seen is the order of validation
code generated is different than the expected. (If I move
You need not use Struts2-JSON plugin unless you are not returning json result.
What happens is you copy http://localhost:7001/3pd/adminProcess.action'
directly in the browser? Is your action called?
-Original Message-
From: Rout, Biswajit [mailto:biswajit.r...@hp.com]
Sent: 18 April 201
Hi,
Which tool is used by Struts 2 to generate tag library documentation? I think
Struts 1 was using tlddoc.
Regards,
Shrinivas
Hi,
How can use a hashMap in select box with Map key as listkey and Map values one
of the property as listValue.
For example I have a Map of type . In the listValue I want to
provide person.name. Is this possible?
Regards,
Shrinivas
You can apply specific interceptor stack for the action using interceptorRef
annotations.
For ex. Put the below annotation above the method for which you want to apply
paramsPrepareParamsStack stack,
@Action(value="action1",
interceptorRefs=@InterceptorRef("paramsPrepareParamsStack "))
For more
HI,
I have extended the ScopeModelDrivenInterceptor to reset the model in session
based on some criteria. I have overridden the resolveModel method of
ScopeModelDrivenInterceptor as below.
I am using this for wizard flow.
protected Object resolveModel(ObjectFactory factory, ActionContext
actio
Hi,
Can we specify default theme in struts.xml?
I am aware that we can specify default theme in struts.properties file. But I
am trying to avoid properties file.
Regards.
Shrinivas
Hi,
When we create a button using s:button, Struts 2 always renders button of type
submit.
If we specify the type as button Struts 2 renders as below
If we specify type as submit Struts 2 renders as below
In both the cases the button is of type submit even if we want non-submittable
button.
D
ook at the ScopedModelDriven approach?
Beez
-Original Message-----
From: Shrinivas Parashar [mailto:shrinivas_paras...@symantec.com]
Sent: Wednesday, February 01, 2012 8:39 AM
To: Struts Users Mailing List
Subject: RE: Wizard (multipage flow) with Struts 2
Thanks eric for the information.
I w
Thanks eric for the information.
I was looking for interceptor based approach where struts would handle putting
model in the session, retrieving from the session, removing from session at the
end of wizard. Scope interceptor provides similar thing, but this does not work
with modeldriven actions
Hi,
Has anyone developed Wizard in Struts 2 without using Spring webflow plugin.
Practical Apache Struts 2 book has an example to develop wizard using scope
interceptor. But Scope interceptor does not seem to work with ModelDriven
interceptor.
If anyone has working example, please share the same
If you are using Struts tiles and planning to use tiles 2 for struts 2 code,
then you might have to migrate struts to tiles 2.
Regards,
Shrinivas
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: 03 December 2011 09:42
To: cwal110...@gmail.com; Struts Users Mail
Hi,
I am getting following error if my model has a field of type java.util.Date. I
am using struts 2.2.3. I have appropriate getter and setter method for birthday.
JSP snippet:
java.lang.NoSuchMethodException: setBirthday([Ljava.lang.String;)
at ognl.OgnlRuntime.callAppropri
16 matches
Mail list logo