Can you set the property to be hidden in the action form

ansa.setYourHiddenProp(ansm.getNumberType()...)

so that you dont mess around with swapping vars in the JSP.

Then in your jsp all you have to do is

<html-el:hidden property="yourHiddenProperty"/>



-Dan
----- Original Message ----- 
From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]>
Newsgroups: Struts
Sent: Thursday, June 05, 2003 1:15 PM
Subject: html:hidden value


> Hey everyone,
>
> I'm having an issue with setting the value for an <hml:hidden .../> tag.
> That form uses a bean called ansa.  I want to set the value of the hidden
> element to the numberType property of a bean called ansm.  I tried putting
a
> <bean:write .../> in the body of the html:hidden tag, but that didn't
work.
> How would I go about doing this without a scriptlet?
> Thanx in advance.
>
>
> Keith Kamholz
> Programming and Architecture
> Moog Inc.
>
> Phone: (716) 687-7001

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

Reply via email to