Anand,

Try using:

<html:select property='<%= new String("paymentMode") %>'>

notice ' instead of "

-Nimmi
-----Original Message-----
From: Anand Raman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 10:09 AM
To: struts
Subject: significance of property attribute in select tag


hi guys

What exactly should be the value of the property attribute of select tag

I am using a string and it reports that the value doesnt confirm to the
TLD.

<html:select property="paymentMode">
        <html:options collection="paymentModeList" property="id" 
labelproperty="value"/>
</html:select>

Tomcat reports that the property attribute's value doesnt confirm to the TLD.

Surprisingly it has been working in some other jsp files..

However when i use 

<html:select property="<%= new String("paymentMode") %>">
        <html:options collection="paymentModeList" property="id" 
labelproperty="value"/>
</html:select>
Tomcat reports ::: Attribute paymentMode has no value

Please clarify

Thanks
Anand Raman

Reply via email to