struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Raman <anand.ra...@mymailbag.com>
Subject significance of property attribute in select tag
Date Thu, 08 Mar 2001 16:09:16 GMT
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

Mime
View raw message