Are you trying to map your text field to a database column?

--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
MSN: [EMAIL PROTECTED]
Yahoo IM:[EMAIL PROTECTED]



----- Original Message ----- 
From: "Igor Antonacci" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 09, 2004 9:49 AM
Subject: Custom attribute on <html:text>


Hi All,
again with an issue :).

I'd like to put a new (non-standard) attribute on 
<html:text> tag.

Whenever I try, Struts raise an error saying there's no
setter method for that attribute.

Here an example:

<html:text property="name" datafld="ID_NAME"/>

The "datafld" attribute is used just on client-side (on resulting
<input> tag). 

Is there any solution than implementing a new Taglib (inheriting by
TextTag class)?

Thanks,
Igor.


-----------------------------
Callidus Software 
Igor Antonacci
Core Engineer
[EMAIL PROTECTED]
-----------------------------


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




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

Reply via email to