>>Why do you need this done?

To dynamic form.

>>You want to be able to tell Struts which get???() and set???() to call
based
>>on a value in a bean?

Actually, I was bypassing the form bean and processing the request
parameters, manually.  What I am doing works with plain HTML inputs.  But, I
get into trouble with HTML <select>'s -- it seems like HTML <select>
parameters don't get picked up in Sruts <html:form>'s???  So, I went to
Struts <html:select>, i.e. my syntax problem.

>>Wouldn't the DynaActionFrom suit your needs?

I think so...  I'm about 2-months new to Struts and I just didn't know the
class existed...  Thanks for the tip!  I will give it a shot.

>>JM

--Michael Marrotte

> -----Original Message-----
> From: Michael Marrotte [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 14, 2002 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: How-to dynamically name properties?
>
>
> Can someone help me figure a way to do something like this?
>
> <html:select property="x_<bean:write name="y" property="z"
> filter="true"/>">
>
> What I wanted to do is dynamically name the <html:select> property,
> x_[some-dynamic-value].
>
> Any idea on how I should really approach this?
>
> Thanks,
>
> --Michael Marrotte
>
>
> --
> 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