RE: Capturing response of dynamically generated form

2002-04-22 Thread Kodali, Satish

Thankyou Don, problem is we are not using struts tag library. We are just
using the action servlet of struts to do URL-Action-Form mapping. I put
the form in the session and I have to figure out a way of mapping
dynamically generated HTML input fields to the HashMap in my form.

-Original Message-
From: Don Saxton [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 21, 2002 1:56 AM
To: Struts Users Mailing List
Subject: Re: Capturing response of dynamically generated form


I put the form in session which effectively persists the structure until you
get the response. I used nested tag so modifications are already made when
response is received. My data structure in form is copy of real data so I
can pick and choose what I want to permanently persist.


- Original Message -
From: Kodali, Satish [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 20, 2002 7:28 AM
Subject: Capturing response of dynamically generated form


 I am rendering a form by iterating over a tree like data structure. I am
 trying to capture the response of the dynamically generated form into Form
 object. Please share
 your ideas and experiences in using struts framework to capture the
 response.

 Thanks,
 Satish

 **
 The information transmitted herewith is sensitive information intended
only
 for use by the individual or entity to which it is addressed. If the
reader
 of this message is not the intended recipient, you are hereby notified
that
 any review, retransmission, dissemination, distribution, copying or other
 use of, or taking of any action in reliance upon this information is
 strictly prohibited. If you have received this communication in error,
 please contact the sender and delete the material from your computer.

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 
**
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Capturing response of dynamically generated form

2002-04-22 Thread Don Saxton

easy. struts uses form beans, a bean extending ActionForm. on html you
will have a form... struts will handle transfering the properties of the
bean and the html form fields. simply make the getters and setters of the
bean use the get (property), set (property,value) of your map.

obviously the bean also needs a setter for the map reference. do this in a
subclass of Action.

still would be easier using the struts html taglib.

BTW I recall a plan to use Map as the equivalent to bean, but it didn't used
to work and I lost track of how that went.


- Original Message -
From: Kodali, Satish [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, April 22, 2002 7:27 AM
Subject: RE: Capturing response of dynamically generated form


 Thankyou Don, problem is we are not using struts tag library. We are just
 using the action servlet of struts to do URL-Action-Form mapping. I
put
 the form in the session and I have to figure out a way of mapping
 dynamically generated HTML input fields to the HashMap in my form.

 -Original Message-
 From: Don Saxton [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, April 21, 2002 1:56 AM
 To: Struts Users Mailing List
 Subject: Re: Capturing response of dynamically generated form


 I put the form in session which effectively persists the structure until
you
 get the response. I used nested tag so modifications are already made when
 response is received. My data structure in form is copy of real data so I
 can pick and choose what I want to permanently persist.


 - Original Message -
 From: Kodali, Satish [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, April 20, 2002 7:28 AM
 Subject: Capturing response of dynamically generated form


  I am rendering a form by iterating over a tree like data structure. I am
  trying to capture the response of the dynamically generated form into
Form
  object. Please share
  your ideas and experiences in using struts framework to capture the
  response.
 
  Thanks,
  Satish
 
 
**
  The information transmitted herewith is sensitive information intended
 only
  for use by the individual or entity to which it is addressed. If the
 reader
  of this message is not the intended recipient, you are hereby notified
 that
  any review, retransmission, dissemination, distribution, copying or
other
  use of, or taking of any action in reliance upon this information is
  strictly prohibited. If you have received this communication in error,
  please contact the sender and delete the material from your computer.
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 **
 The information transmitted herewith is sensitive information intended
only
 for use by the individual or entity to which it is addressed. If the
reader
 of this message is not the intended recipient, you are hereby notified
that
 any review, retransmission, dissemination, distribution, copying or other
 use of, or taking of any action in reliance upon this information is
 strictly prohibited. If you have received this communication in error,
 please contact the sender and delete the material from your computer.

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Capturing response of dynamically generated form

2002-04-21 Thread Arron Bates

There's a tutorial to do just this...
http://www.keyboardmonkey.com/pilotlight


Arron.

Don Saxton wrote:

I put the form in session which effectively persists the structure until you
get the response. I used nested tag so modifications are already made when
response is received. My data structure in form is copy of real data so I
can pick and choose what I want to permanently persist.


- Original Message -
From: Kodali, Satish [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 20, 2002 7:28 AM
Subject: Capturing response of dynamically generated form


I am rendering a form by iterating over a tree like data structure. I am
trying to capture the response of the dynamically generated form into Form
object. Please share
your ideas and experiences in using struts framework to capture the
response.

Thanks,
Satish

**
The information transmitted herewith is sensitive information intended

only

for use by the individual or entity to which it is addressed. If the

reader

of this message is not the intended recipient, you are hereby notified

that

any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

--
To unsubscribe, e-mail:

mailto:[EMAIL PROTECTED]

For additional commands, e-mail:

mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Capturing response of dynamically generated form

2002-04-20 Thread Don Saxton

I put the form in session which effectively persists the structure until you
get the response. I used nested tag so modifications are already made when
response is received. My data structure in form is copy of real data so I
can pick and choose what I want to permanently persist.


- Original Message -
From: Kodali, Satish [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 20, 2002 7:28 AM
Subject: Capturing response of dynamically generated form


 I am rendering a form by iterating over a tree like data structure. I am
 trying to capture the response of the dynamically generated form into Form
 object. Please share
 your ideas and experiences in using struts framework to capture the
 response.

 Thanks,
 Satish

 **
 The information transmitted herewith is sensitive information intended
only
 for use by the individual or entity to which it is addressed. If the
reader
 of this message is not the intended recipient, you are hereby notified
that
 any review, retransmission, dissemination, distribution, copying or other
 use of, or taking of any action in reliance upon this information is
 strictly prohibited. If you have received this communication in error,
 please contact the sender and delete the material from your computer.

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]