I have been using struts2Tiles2 for my current application.
I get following error when my Result type is tiles (struts.xml as show
below).
Any suggestion for resolving this error.
WARNING: Could not find action or result
There is no Action mapped for namespace / and action name
Hi,
I'm developing using a Maven modular project (one module for the persistence
layer, another for the webapp) and using the maven-jetty plugin in
development.
However, I'm getting a strange error: when I make a change to the code jetty
(version 7.0.0) automatically restarts (as it should).
Hi All,
I am trying to have my inputs generated from a checkbox list use a
certain css class. However when I use cssClass the class attribute
doesn't show up in the html.
JSP:
s:checkboxlist cssClass=myClass label=My Boxes key=boxIds
list=boxList listKey=id listValue=name /
HTML
I have following property in model object(ScopedModelDriven).
CBookingFactorsBean cBookingFactorsBean=null;
In JSP page i get error when accessing [b]'salesAfterDiscount'[/b] property
of custom object(CBookingFactors[b]Bean[/b]) in
model(CBookingFactors[b]Model[/b]).
maybe the model is not on the stack...or on the stack but null
be sure your prepare() method initialize properly your bean...
fr/
- Message d'origine
De : Raghuveer.V
Hi Rouxel,
I am using ScopedModelDriven.
I am not using prepare,since ModelDSriven interceptor takes care of
initializing model object.
I have following implemented methods of ScopedModelDriven and other servlet
config related methods in my Action class.
public Object
-Original Message-
From: Raghuveer.V [mailto:raghuve...@infotechsw.com]
Sent: Monday, September 21, 2009 5:18 PM
To: 'Raghuveer.V'
Subject: RE: Struts2 Tiles - Error -There is no Action mapped for namespace
/ and action name
Sorry this has to be replied in other thread
Hi Rouxel,
I am using ScopedModelDriven.
I am not using prepare,since ModelDSriven interceptor takes care of
initializing model object.
I have following implemented methods of ScopedModelDriven and other servlet
config related methods in my Action class.
i just make diagram how REST work in the S2 REST,
and i put my persistance ware, it is persistance manager for Spring...
for my project cimande http://www.sf.net/projects/
hope the next version will become full REST ..the diagram based on
REST showcase.
On Mon, Sep 21, 2009 at 8:39 AM, Martin Gainty mgai...@hotmail.com wrote:
cd $STRUTS_HOME/src/apps/rest-showcase
mvn -e -P integration-test
i try the showcase, and found the plugins is 2.1.8, i use the trunk version.
i think.. i must compile the core ... any tips?
F
JSP page:
s:textfield name=CBookingFactorsBean.salesAfterDiscount size=13
cssClass=Input/
The c in CBookingFactorsBean should be lower case , I think.
Chris
-Original Message-
From: Raghuveer.V raghuve...@infotechsw.com
To: user@struts.apache.org
Sent: Mon, Sep
Frans, for your first question, I don't think we have an 'official'
snapshot repo. If we do, I wouldn't trust it... Recently I was
reconfiguring our hudson builds (nightlies) to use a newer version of
Maven and when the build gets to the step to deploy the snapshots, it
failed quite miserably.
Frans Thamura wrote:
can u share when will we use ActionSupport vs ValidateionAwareSupport
You should use ActionSupport when you want an action with default
implementations of the things ActionSupport implements,
ValidationAwareSupport when you just want a default implementation of
I'm having trouble accessing the validationAware errors that are generated in
an Action class.
GenericAction.java
declaration:
GenericLogin extends ActionSupport implements ServletRequestAware,
ServletResponseAware, ServletContextAware,
ValidationAware
Code:
addFieldError(ERROR_MSG_HEADER,
I assume you are using result type=freemarker your-ftl-file.ftl/result
..i had no problems passing an extra param to the tag and accessing it in
the custom theme FTL
On Fri, Sep 18, 2009 at 10:39 PM, Slonim, Greg (USAEO)
greg.slo...@usdoj.gov wrote:
Hello,
Setup: struts2 (2.1.6) with Spring
I had to change the JSP file from this:
sx:head/
to this
sx:head
baseRelativePath=../struts/dojo/
I think this is either a bug or an undocumented change to the 2.1 upgrade
process, but I am happy it is working.
Scott
- Original Message
From: Scott Nesbitt scottnesb...@yahoo.com
Robin Mannering-4 wrote:
Values outside the range are picked up correctly.
However, when the values are inside the range, the validation rule
'requiredstring' insists that there is no value for agencyCommRate and
validation always fails.
Looking at source of
That is strange. I use the older 6.x jetty maven plugin and the restarts
work well. The stacktrace is not very helpful in this case. You may have
more luck on a maven/jetty mailing list.
wild_oscar wrote:
Hi,
I'm developing using a Maven modular project (one module for the
Hi again,
I solve this problem by writing a new class: RestSpringObjectFactory which
extends StrutsSpringObjectFactory. In that class, i override the method
buildBean(Class clazz, MapString, Object extraContext) to get bean from
appContext whenever the class is my controller class.
Cheers,
Hello All,
I'm having trouble getting the SkipValidation annotation to work. I
have a single action w/ multiple methods. Some of the methods don't
require any input and I'd like to skip validation, e.g.
@SkipValidation
public String list() {
return(list);
}
However the annotation does not
I found this is working in older versions,
struts2-tiles-plugin-2.0.6
struts2-core-2.0.6
tiles-api-2.0.1
tiles-core-2.0.1
Below problem is occurred when using the latest jars in struts distribution,
struts2-core-2.1.6
struts2-tiles-plugin-2.1.6
tiles-api-2.0.6
tiles-core-2.0.6
tiles-jsp-2.0.5
Hi,
At the very least, it'd be very helpful if someone could at least tell me
how to turn off this auto creation of null object!!! Coz that's a real pain
to work with right now.
I don't want to have new Hibernate entities cerated out of nowhere, ie out
of control!!
please help!
-nodje
nodje
22 matches
Mail list logo