Hi Derek,

This is a recurring question in the list. The solution (Ted etc please
correct me if I'm wrong) is to forward to an action first, this creates an
instance of the form (if required) and sets the properties (userloggedin)
before forwarding to the jsp containing the form.

Ted etc. Can we not extend the form tag and add a default/prepopulate
attribute? When true the forms properties are set (if possible) with the
corresponding request/session attributes.

Jon Ridgway.

-----Original Message-----
From: Derek M Wayland [mailto:[EMAIL PROTECTED]] 
Sent: 29 November 2001 12:46
To: [EMAIL PROTECTED]
Subject: hidden tag and request object

Hi,

i am trying this below and it is not working as i would like.

the problem lies with the hidden tag. i want the value to be populated with
the 'request' objects', 'userloggedin' variable.

is this possible?
can someone advise the correct syntax?
thanks 
dmw

<html:form action="/shopping" method='post'>

 <html:hidden property='userloggedin' name='request'/>

</html:form>





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

Reply via email to