Dynamic form in struts 1.0.2

2002-05-27 Thread Andreas Guillemot

Hi

I'm using Struts 1.0.2 and I've been struggling a while with a problem and I
still don't know how to find a solution.

I have a form filled from a database query.
form
  Some text 1input type=hidden name=publication value=Some text
1input type=text name=ordervalue value=br
  Some text 2input type=hidden name=publication value=Some text
2input type=text name=ordervalue value=br
  ...
/form

The user fills the form with some values in the ordervalue-fields and
posts it to a new window.

In the new window I have a new form where I want to add the posted values to
a hidden field. I'm perfectly satisfied with just a string representation of
the name-value-pairs in the first form. But only the rows that are not left
blank.

I don't know how many fields there will be in the first form as they are
generated. How should I do to transfer this information between the two
forms to the hidden field

Any help is appreciated.

Best regards
Andreas Guillemot

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




Access to pageContext from Action?

2002-04-23 Thread Andreas Guillemot

Hi all.

Is it possible to access pageContext from Action?

--
Andreas Guillemot


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