RE: Return to same JSP

2002-11-07 Thread Homer, Christopher
providing you perform the validation in your ActionForm method: public ActionErrors validate (ActionMapping mapping, HttpServletRequest request) { // stuff } -Original Message- From: Mohan Radhakrishnan [mailto:MohanR;hclcomnet.co.in] Sent: 07 November 2002 12:59 To: 'Struts

RE: A couple of Newbie questions

2002-09-18 Thread Homer, Christopher
Hi Kevin, You could subclass ActionForm and add an attribute such as userAction. On each of your pages, you can set a hidden field called userAction to indicate the page you are currently viewing. Using the getUserAction method of your ActionForm, you should be able identify where you are in

RE: Reporting internal errors from Struts?

2002-09-18 Thread Homer, Christopher
Check your Tomcat localhost_log.2002.09.18.txt file. In response to your other question, the check http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#options http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#options - it should provide the information you need. I usually

RE: nulls (and only nulls) in html:errors/

2002-08-14 Thread Homer, Christopher
Not sure this will work, but in your validate method, rather than checking the size of your ActionErrors object, and if empty returning null, just return the ActionErrors object. ie. replace: if ( errors.empty() ) { return null; } return errors; with: return errors;

RE: ActionErrors in ActionForm and JSP not showing up...

2002-07-31 Thread Homer, Christopher
I know it sounds obvious, but are you sure you have placed error.requestform.company.required in your ApplicationResources.properties file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 31 July 2002 14:24 To: [EMAIL PROTECTED] Subject: RE: ActionErrors in

RE: HTML special characters in options tags

2002-07-18 Thread Homer, Christopher
You could modify the getXXX method in your ActionForm to format the special characters prior to the return statement. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 18 July 2002 10:00 To: Struts Users Mailing List Subject: RE: HTML special characters in options

RE: Getting Weird Message From Application ResourcesProperties File

2002-05-22 Thread Homer, Christopher
I had this a while ago and think I fixed it by adding... errors.header= errors.footer= ...to the resource file. Chris -Original Message- From: Yan Fei [mailto:[EMAIL PROTECTED]] Sent: 22 May 2002 16:37 To: [EMAIL PROTECTED] Subject: Re: Getting Weird Message From Application

RE: Urgent ; can some one help : how do i pass multiple parameters

2002-05-21 Thread Homer, Christopher
As was mentioned in an earlier reply, you could use the name and property attributes of the html:link tag. http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#link -Original Message- From: siraj [mailto:[EMAIL PROTECTED]] Sent: 21 May 2000 13:47 To: Struts Users Mailing List

RE: Urgent ; can some one help : how do i pass multiple paramete rs

2002-05-21 Thread Homer, Christopher
: how do i pass multiple paramete rs No. to pass in multiple params you need to create a map for all you params and pass it in the link tag danny -Original Message- From: Homer, Christopher [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 5:40 AM To: 'Struts Users Mailing

RE: Urgent ; can some one help : how do i pass multiple paramete rs

2002-05-21 Thread Homer, Christopher
- From: Homer, Christopher [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 8:50 AM To: 'Struts Users Mailing List' Subject: RE: Urgent ; can some one help : how do i pass multiple paramete rs errrthat's what I said - use the name and property attributes to point the link tag

Struts Workflow Extension with CactusServletTestCase

2002-04-23 Thread Homer, Christopher
Hi, We're currently evaluating the Struts Workflow Extension (http://www.livinglogic.de/Struts/index.html) to see whether we can use the authentication (and maybe the workflow) mechanisms within our own Struts-based application. Our initial findings have been very positive and we have found the

RE: Parsing Error for struts-config.xml

2002-03-08 Thread Homer, Christopher
Try removing the 3 DTDs from struts.jar. Chris - Original Message - From: Suneet Shah [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 08, 2002 7:33 AM Subject: Parsing Error for struts-config.xml Hello, I have struts based application that runs just fine on a number of