If the 1.0.2 tlds are missing attributes that the tags support, you should 
submit a bug report in bugzilla.  Also, if you want to refactor the various 
struts tags dealing with input types into one tag I'd be very interested in 
seeing it.

Yes, browsers have to handle one html input tag for the various kinds of 
inputs but they don't have to deal with java as well.  Struts tags must 
accept valid html attributes AND attributes dealing with sources of data and 
other java stuff.

David


>From: Edgar Dollin <[EMAIL PROTECTED]>
>Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
>To: 'Struts Developers List' <[EMAIL PROTECTED]>
>Subject: RE: LabelTag
>Date: Tue, 15 Oct 2002 13:24:56 -0400
>
>I guess we have a difference of opinion.
>
>I care about the tld's because they take time getting them correct and I
>have an explosion of entries in my projects.  Also, the struts tld's (at
>least in 1.0.2) are missing attributes.  HTML and all the other languages 
>we
>use are hard enough to learn and get effective with, using consistent 
>syntax
>much less inconsistent syntax.  Yes there are differences and the class
>would be slightly larger than normal but it wouldn't be unmanageable and
>with clever syntactic analysis would not be much larger.  After all the
>browser has to be built to handle the input html object.
>
>Thanks for your commentary.
>
>Edgar
>
>-----Original Message-----
>From: David Graham [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, October 15, 2002 12:50 PM
>To: [EMAIL PROTECTED]
>Subject: RE: LabelTag
>
>
>I think your suggestion on having one struts tag that emits any input type
>(like the html spec) is very flawed.  Consider how huge that one tag would
>be if it knew how to output text, textarea, radio, checkbox, submit, and
>password fields.  Each of the struts input tags have features unique to 
>them
>
>and deserve to be separate.
>
>Also, the struts tags need attributes for html AND beans, properties, etc.
>That's why you see attributes like styleClass instead of class.
>
>Who cares how many tld entries there are?  This is a non-issue, especially
>in servlet 2.3 where you don't ever have to see the tlds.
>
>Even without 2.3, it's trivial to put struts-*.tld files in your /WEB-INF
>directory.
>
>David
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

Reply via email to