I've seen no comments yet on my form tag "id" generation post from last
week, so I guess no one else is very interested (though I wasn't the
first to bring this up). Nonetheless, I've thought about it some more
and see no problem with my plan of generating
"<formName>.<propertyName>" IDs, so unless anyone pipes up soon, I
intend to go forward with this for my own use, whether it gets
incorporated back into Struts or not.
I'm also planning to add a custom <html:label> tag to go along with the
above, so that it will be rare to have to refer to an id explicitly by
its full name. The code generated by this tag will work around
Navigator's lack of support for the <label> tag by embedding a <span>
inside it, so that styles can be applied. I could also use a custom tag
that generates an <img> inside a link (<a>) that acts as a form button,
again to work the limitations of Navigator 4 with <input type="image">
buttons (no mouse-overs, no onclick support, and an ugly blue border).
So, if anyone can find any fault with my suggestions, I'd like to hear
from you. And I'll leave it up to the group as to whether you want the
changes adopted into Struts 1.1 or not.
--
Michael Hackett
Developer, Pictorius Inc.