Yeh, I was about to actually, and had composed a short 3500 word essay on
the matter for him, but alas I was distracted and lost it before I had
clicked the send button...
;-)

-----Original Message-----
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 20:18
To: 'Struts Users Mailing List'
Subject: RE: Settiing hidden fields (thru Javascript) & Form Beans


Wanna teach him HTML, too?  ;-)

-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 11:20 PM
To: Struts Users Mailing List
Subject: RE: Settiing hidden fields (thru Javascript) & Form Beans


Strange, a hidden field should work just the same as a normal text field
(except that its invisible).
Few things to check:
0.) Check the generated html to see its what you expect it to be
1.) Do other fields on the form work? (ie: is it just the hidden field got
problem?)
2.) Is the hidden field located somewhere on the form - ie: between <form>
and </form>?
3.) Have you set the property attribute correctly?
4.) Is the setter working for that field - if you make the field visible and
manually enter data does it work then? Is the parameter actually passed
through to the server with the form - (if so its the form bean and not the
client side at fault.)
5.) Is your javascript in fact setting the value for you or is it breaking?
(Can check by again making the hidden field visbible and watching what
happens)

The above should help you narrow down the problem.


-----Original Message-----
From: bobby oberai [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 11:08
To: [EMAIL PROTECTED]
Subject: Settiing hidden fields (thru Javascript) & Form Beans


Hello All,

I m having a hidden field which maps to an Action Form Bean Field (I have
used <html:hidden> tag for this). If I set any values in this html hidden
field via Javascript, the values are not passed to the Form Bean.

Any help on this?

Thanks,
Bobby

_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com


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


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

Reply via email to