[SCAFFOLD] ProcessAction - Merging properties from a session obje ct

2003-10-03 Thread aies22
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

[SCAFFOLD] Future of Scaffold - alternative DAO

2003-10-03 Thread aies22
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

RE: [SCAFFOLD] Future of Scaffold - alternative DAO

2003-10-03 Thread aies22
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.

[SCAFFOLD] Elegant way to expose more than one object using Proc essAction

2003-09-22 Thread aies22
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

RE: [SCAFFOLD] AccessBase, createKey and ResultSetMetaData JDBC d rive r problems

2003-09-07 Thread aies22
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

[SCAFFOLD] AccessBase, createKey and ResultSetMetaData JDBC driver problems

2003-09-03 Thread aies22
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

RE: SubClass RequestProcessor or Action class

2003-09-02 Thread aies22
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

RE: page field on DynaValidatorForm class

2003-09-02 Thread aies22
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:

RE: page field on DynaValidatorForm class

2003-09-02 Thread aies22
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:

re: artimus data source issue - poolman.xml

2003-07-29 Thread aies22
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.

RE: Simple Tiles question

2003-07-24 Thread aies22
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

Container Authentication: Artimus on Resin

2003-07-21 Thread aies22
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,