RE: Disable validate in actionForm

2004-08-17 Thread Kataria, Satish
Map it to a different actionMapping and set validate="fasle"; ie the submit and back button should have a different actionmapping Satish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 1:14 PM To: Struts Users Mailing List Subject: Disable v

RE: Missing message for key

2004-08-16 Thread Kataria, Satish
Hi, Have you kept the properties file in the classpath. Can you check this? Thanks, Satish -Original Message- From: Bibhu Kalyan [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 10:59 AM To: [EMAIL PROTECTED] Subject: Missing message for key Hi All, I have a typical problem. R

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: Loosing request attributes

2004-08-13 Thread Kataria, Satish
Ru using redirect="true" in ur action mapping. If so then changing it to false will solve the problem. Thanx, Satish Kataria -Original Message- From: Leandro Melo [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 7:39 AM To: struts jakarta Subject: Loosing request attributes Hi,

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 PM

RE: Multiple forms in one JSP + one Action

2004-08-12 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 giv

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
] Subject: 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 Kataria, Satish wrote: > I

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
essForm. I want 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.

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 acti

RE: Form Bean in JSP

2004-08-04 Thread Kataria, Satish
You can use the form bean in jsp through the various struts tags. Struts puts the form bean in request scope automatically and thus all you have to do to use form bean is by declaring the form bean in tag E.g suppose you had myactionform as the form bean which had an attribute name(say it is str

RE: advice needed: view+form needs data from an action

2004-07-28 Thread Kataria, Satish
I am not very clear what is the issue ur facing. For populating the dropdowns , u cld hit DB in the action and polulate apropriate DTO and put it in request. U cld then use the values from the DTO for populating the dropdowns. Next on form submission u cld persist the new values to DB in the submi

RE: RE : PortableRemoteObject.narrow()

2004-07-28 Thread Kataria, Satish
Agreed if your all ur middle tier applications are coded in java. However if you want ur application to interact with a CORBA application then this will not work. The EJB specifications also recommend to use Portable Remote object.narrow() as this will ensure that ur application is truly portable

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, 2

RE: Need a synchronizer token

2004-07-25 Thread Kataria, Satish
mple, what 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 > >

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 Subject

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 field

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] Subj

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: Logic Iterate tag

2004-07-19 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 to

RE: Logic Iterate tag

2004-07-19 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: