PROJECT
I am trying to build an imaging "module" for Struts, etc, buttons. What this does is to use dynamic data on buttons, e.g. color, size, style, font, language, etc., and to create the buttons on the fly. This is, of course, done with JSP taglibs.
PROBLEM
My problem is that I extend the Struts SubmitTag and add various properties, very much akin to the ImageTag in Struts. Additional to the ImageTag properties, I add txtClr and bgClr properties as well as txtClrCode and bgClrCode properties. The former allow us to hardcode colors of images (buttons) and the latter to provide a dynamic value depending on what is in a container referenced with a mapBean property that is saved in session scope. When I use the code (txtClrCode and bgClrCode) properties, I eventually set them to txtClr and bgClr before writing to the response object. Also, I only use txtClrCode and bgClrCode is txtClr and bgClr are null.
ANOMALY
All the properties are set to null in my ImageTag class. Yet, after the initial value of a tag is set, changing the value of either the txtClrCode or the bgClrCode is not working because somehow txtClr and bgClr are not being reset to null as expected.
QUESTION
The computer is always right, so anyone know what I am doing wrong here?
Thanks
Michael McGrady
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]