That works.  There are a few ways to do it.  It's up to you.

I can think of 4 off the top of my head....

1. <html:hidden name="reportForm" property="x" value="4"/>
2. <html:text name="reportForm" property="x" value="4" disabled="true"/>
3. Use a cookie
4. Set it in the session (might require use of token)


--
James Mitchell
Web Developer/Struts Evangelist
http://www.apache.org/struts/


-----Original Message-----
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 27, 2003 8:08 AM
To: 'Struts Users Mailing List'
Subject: html:hidden tag


Hi,
          I am trying to set a particular property on a form. But I
don't want it to show on the browser.

The following is an initial attempt.

   <html:hidden name="reportForm" property="x" value="4"/>

Is this the right approach ?

Mohan


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

Reply via email to