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.
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
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
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
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
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
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,
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
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
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]
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
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
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:
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
14 matches
Mail list logo