Hi,
Looking at the ProcessAction code, it turns out that in order to get a
session object to the execute() method of a ProcessBean, the following
conditions must be met:
1) A form is submitted
2) That form is an instance of BaseForm (and not DynaActionForm or other
type for that matter)
3) The
Hi,
Does anyone know of an alternative but similar DAO package to Scaffold which
fits in with Struts as smoothly (i.e. can be configured into the
ActionMapping very intuitively)?
Noam
-
To unsubscribe, e-mail: [EMAIL
Ted,
Thanks.
In fact, following you advice, I am using iBATIS SqlMaps, which is very very
neat indeed.
I started building my app based on the Scaffold package after reading
Struts in Action (which was actually almost 10 months ago) and I like it a
lot. Looking forward to the Commons Chain.
Hi,
When using the Scaffold ProcessAction, a data-bean is instantiated by the
framework and it's execute() method is called, returning a ProcessResult
object to the view layer.
The ProcessResult object may contain a single object or a collection (of
values or objects).
Suppose I want to return
Thanks Ted,
As always your advice was most helpful!!!
The iBATIS DB layer package is great, though I'd rather stay with Scaffold
version for DAO.
BTW, some of the scaffold links on your site (husted.com) are currently not
working.
Noam
-Original Message-
From: Ted Husted
Hi,
When using the scaffold AccessBase.createKey() method, to get a simple
integer field from the database, I get a java.lang.ClassCastException:
java.lang.Long.
Looking at the log file, I find the following error message:
Driver doesn't support strong ResultSetMetaData, and PoolMan
Hi,
If you want to use your custom RequestProcessor subclass, for security
issues or any other preProcess() needs, all you need to do is define it in
the struts-config.xml controller definition, which is the last definition
before the /struts-config closing tag. Then your class would be called
Hi,
You need not define the page field on your DynaValidatorForm declaration. It
is defined in the org.apache...DynaValidatorForm class.
Embedding html:hidden property=page value=1/ in the form does the
work.
Noam
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent:
Thanks Erez, you were right.
I was in the midst of finding that out myself, and you just saved me some
hours of frustration :-)
Noam
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 12:40 PM
To: 'Struts Users Mailing List'
Subject: RE:
If you are trying to change database settings for the artimus
example application:
Please note that there is a poolman.xml file in the
commons-scaffod.jar!!!
I've spent a day playing around with this, moving poolman.xml's
around till I figured out where my trouble are.
It is legal, but:
1. You have to make sure that the outcome of putting all the tiles together
creates one complete HTML page. Which means that if you have a header tile,
content tile and a footer tile, you should open the header with html and
close the footer with /html and so on.
2. It is
Hi,
A short one. This is a Resin question - but I did not find my answers
there...
Does someone know how to set container authentication on Resin so as to run
the artimus application.
The default for artimus is using Tomcat, which has a tomcat-users.xml file
to define roles. But for Resin,
12 matches
Mail list logo