RE: best practice: how to handle two related jsp pages, with one having an ArrayList, the other input details

2004-08-15 Thread Kataria, Satish
It depends upon the architecture you want to follow. There are multiple ways this can be done 1. Create the 2 jsp as independent jsp. Thus the list jsp jsp always fetches from DB when we bring control to that. Clicking add on the list jsp leads to the adddetails jsp which submit data to DB.

RE: Multiple forms in one JSP + one Action

2004-08-13 Thread Kataria, Satish
Why would you want to have an action related to 2 forms. A form typically means a business functionality and an action is the trigger for that business functionality. If you are saying that a single functionality encompasses more than one form then there is problem in the design. I think u shld

RE: Nested tags...

2004-08-13 Thread Kataria, Satish
I am not sure but just a guesss You are not closing the html:form tag and a html:form can't be embeded within another Just closing the tags should solve the problem. Thanks, Satish -Original Message- From: sridhar ramalingam [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 1:00

RE: I have a form spread over several pages. The user fills out each section in progression. I am using a dispatch action and each page calls the same function i.e. processForm. I want struts to validate each submission but I cannot change the input page

2004-08-11 Thread Kataria, Satish
Hi, Instead of having a single function what I would suggest in ur case is a session scoped action form And each page having same actionform but different action mapping. Thus using this you can specify approiate page as the input page. For code examples refer to struts documentation of using

RE: I have a form spread over several pages. The user fills out each section in progression. I am using a dispatch action and each page calls the same function i.e. processForm. I want struts to validate each submission but I cannot change the input page

2004-08-11 Thread Kataria, Satish
struts to validate each submission but I cannot change the input page Kataria, Satish wrote: Hi, Instead of having a single function what I would suggest in ur case is a session scoped action form And each page having same actionform but different action mapping. Thus using this you can

RE: I have a form spread over several pages. The user fills out each section in progression. I am using a dispatch action and each page calls the same function i.e. processForm. I want struts to validate each submission but I cannot change the input page

2004-08-11 Thread Kataria, Satish
each section in progression. I am using a dispatch action and each page calls the same function i.e. processForm. I want struts to validate each submission but I cannot change the input page Kataria, Satish wrote: I am suggesting that you should have a single action having a method for each

RE: PortableRemoteObject.narrow()

2004-07-28 Thread Kataria, Satish
Yes u shld use the PortableRemoteObject.narrow() method. The short reason for this Is is this will ensure that ur code is portable across different software Platforms(Corba, EJB) Thanks, Satish -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28,

RE: Need a synchronizer token

2004-07-26 Thread Kataria, Satish
name do you use for the parameter? Or is this handled by a Struts tag? Erik Kataria, Satish wrote: Refer to the documentation of the action class. It has savetoken() istokenvalid() method to implement the synchronizer token patter. Thanks, Satish -Original Message- From: Erik Weber

RE: Changing a field from not updatable to updatable at runtime...?

2004-07-25 Thread Kataria, Satish
I assume that by updateable you mean editable. Thus to state ur problem better how to change an uneditable field to editable field(e.g text field) Please ignore the below statement if the assumption is incorrect There is no ready made way to make a field from uneditable to editable however You

RE: processing multiple records in a batch...JSP...db

2004-07-25 Thread Kataria, Satish
I am afraid that there is no built-in functionality in struts to process multiple Records. You can always write a custom tag to achive the same. Thanks, Satish -Original Message- From: Research labs [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 9:46 AM To: [EMAIL PROTECTED]

RE: Form Population

2004-07-25 Thread Kataria, Satish
Hi, I am not very clear what the problem statement is. Can you elaborate it. Thanks, Satish -Original Message- From: Isaias Barroso [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 5:25 PM To: [EMAIL PROTECTED] Subject: Form Population Hi all, I've a ActionForm that have 3

RE: Need a synchronizer token

2004-07-25 Thread Kataria, Satish
Refer to the documentation of the action class. It has savetoken() istokenvalid() method to implement the synchronizer token patter. Thanks, Satish -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 11:11 AM To: Struts Users Mailing List

RE: Logic Iterate tag

2004-07-20 Thread Kataria, Satish
Logic:iterate tag helps in creating cleaner and concise code. It helps you achieve near to zero percent java scripplet code in jsp It also has a number of useful features as well information about which you can get from Struts online documentation Regards, Satish -Original Message- From:

RE: Logic Iterate tag

2004-07-20 Thread Kataria, Satish
the performance aspect. Thanks, Satish -Original Message- From: Aditya Athalye [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 11:52 AM To: Kataria, Satish Subject: RE: Logic Iterate tag Hi Satish, I understand that it will avoid Java code to a great extent. But, I want