That was the first answer that popped into my head, but the styleId
attribute generates an (X)HTML id attribute which is not a visual style
attribute at all, despite the Struts attribute name, but an element
identifier within the (X)HTML document.

I think the fact that it's missing is just an oversight in the tag library
descriptor.

If you're using a local copy of the struts-html-el.tld file (not the one in
struts-el.jar), you may be able to add the attribute there as a workaround.

Add this to the <html-el:hidden> tag entry:
  <attribute>
  <name>styleId</name>
  <required>false</required>
  <rtexprvalue>true</rtexprvalue>
  </attribute>

Disclaimer: I haven't tested this workaround so it may not work.

I'll take a look and fix it in the nightly build when I get a chance.

Steve



> -----Original Message-----
> From: David Friedman [mailto:[EMAIL PROTECTED]
> Sent: August 25, 2003 3:27 PM
> To: Struts Users Mailing List
> Subject: RE: Html-el:hidden tag!?!?!
>
>
> I'll go with the logical answer of:
>
> It's a hidden form tag, so there is no point
> in having a visual style for a non-visible element.
>
> Regards,
> David
>
> -----Original Message-----
> From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 25, 2003 1:37 PM
> To: Struts User List ([EMAIL PROTECTED])
> Subject: Html-el:hidden tag!?!?!
>
>
> Why is it that the html-el:hidden tag has no "styleId" attribute?
>
>
> --
> Tim Slattery
> [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]
>
>
>



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

Reply via email to