Bugs item #887787, was opened at 2004-01-30 19:13
Message generated for change (Settings changed) made by chmurph2
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=887787&group_id=73068
Category: main tag library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Christopher R. Murphy (chmurph2)
Assigned to: Nobody/Anonymous (nobody)
>Summary: display:column tag not supporting style attribute
Initial Comment:
I'm using the latest release: version 1.0-b2.
Although it's documented, the display:column tag does
not support the "style" attribute.
The tld needs the attribute added to it and the class
org.displaytag.tags.ColumnTag.java needs a setStyle
(String value) method added to it, similar to setClass
(String value).
<hr>
The documentation states undert "Column" that the
width attribute is deprecated and to "use "style"
or "class" to set presentational attributes using css.
I added the following code to
org.displaytag.tags.ColumnTag.java:
<pre>
/**
* setter for the "style" tag attribute
* @param value attribute value
*/
public void setStyle(String value)
{
attributeMap.put
(TagConstants.ATTRIBUTE_STYLE, new
MultipleHtmlAttribute(value));
}
</pre>
and added the following attribute to displaytag-12.tld:
<pre>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</pre>
-Chris
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=887787&group_id=73068
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel