Or just use the logging tags. 4 quick lines of code:
%@ taglib uri=http://jakarta.apache.org/taglibs/log-1.0; prefix=log %
PAGE:log:dump scope=page /
REQUEST:log:dump scope=request /
SESSION:log:dump scope=session /
APPLICATION:log:dump scope=application /
-kevin
Tero P Paananen [EMAIL
StrutsTestCase requires your WEB-INF/struts-config.xml to be in the classpath.
So make sure the directory above WEB-INF is in your classpath. Then by default
it will find your file. If you specify a file or path in the setConfigFile()
method that too must be in the classpath.
-kevin
Well maybe you should go with Struts 1.1b We've been using this for a while now
and haven't run into any major issues. I think you're complicating your
problem by trying to roll your own from the nightly which is in transition on
several fronts. IMHO if you go with 1.1b and you'll be a much
I think most people just do as you guessed. Put a simple index.jsp that
forwards to your initial action. That's how we do it.
-kevin
-Original Message-
From: James Turner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 3:40 PM
To: [EMAIL PROTECTED]
Subject: Processing an
Actually you create two action mappings in your struts-config.xml One with
validate=true and one with validate=false. Both pointing to the same Action
sub-class
-kevin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 9:31 AM
To:
Try to cast the value to a string.
html:checkbox property=carID value=%=(String)((CarBean)element).getId() %
/
Also you might want to check out multibox... Like this:
logic:iterate id=element name=cars
html:multibox property=carID
bean:write name=element property=id /
You need to have the directory that contains WEB-INF/struts-config.xml in your
class path. Not normally the way Struts runs but the TestCase uses the
classpath to find the config file.
I struggled with this for awhile as well.
-kevin
-Original Message-
From: Brian Buckley
plus. Make creating new pages very very fast and simple.
thanks
-kevin
--
Kevin Henrikson Openwave Systems, Inc.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Why do you have two action mappings for the same DispatchAction?
To get around the validation.
You can just have one action mapping like,
form-bean name=InputForm dynamic=true
type=org.apache.struts.validator.DynaValidatorForm
form-property name=testfield
Tiles will do just that.
http://www.lifl.fr/~dumoulin/tiles/
-kevin
-Original Message-
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 8:48 AM
To: Struts Users
Subject: dynamic templates?
OK, lets say I wanted to create a web application
and I
-Original Message-
From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 7:25 AM
To: [EMAIL PROTECTED]
Subject: validator generated HTML code
I suppose, I should only get the necessary functions for my validation, in
my case function
11 matches
Mail list logo