Very Cool!!!!!

Karr, David wrote:
>>-----Original Message-----
>>From: V. Cekvenich [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, October 02, 2002 2:22 PM
>>To: [EMAIL PROTECTED]
>>Subject: HTML-EL
>>
>>
>>I am lazy, so feel free not to answer since I can loook it up 
>>in source.
>>It is easier to ask I say as a "newbie":
>>
>>Did the html-el tag extend html tag so changes in html tag are 
>>propogated or did it fork?
> 
> 
> Every tag class in the Struts-EL library is a subclass of the Struts tag.
> The TLD has to be separate, as they haven't designed inheritance into the
> TLD yet :) .
> 
> All of the tag classes are very similar, in that the "doStartTag()" method
> calls a method called "evaluateExpressions()", and then calls
> "super.doStartTag()".  The "evaluateExpressions()" method processes all the
> string-valued attributes through the EL, and then calls the attribute
> setters.  If you looked at all the tag classes, you'd start to wonder where
> all the code is :) .  All Struts-EL does is replace the attribute value
> evaluation process.
> 
> Otherwise, the subclasses use the base classes for all functionality.
> 
> The only thing that I can't automatically track (without changing the code
> and TLD) is if the base tag adds or removes attributes, or changes their
> types.  I seriously considered writing a code generator to generate the
> library, to avoid this problem, but I decided it wasn't worth it.




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

Reply via email to