Bugs item #887787, was opened at 2004-01-30 20:13
Message generated for change (Settings changed) made by fgiust
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=887787&group_id=73068
Category: main tag library
Group: v 1.0-b2
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Christopher R. Murphy (chmurph2)
>Assigned to: fabrizio giustina (fgiust)
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
----------------------------------------------------------------------
>Comment By: fabrizio giustina (fgiust)
Date: 2004-02-05 00:34
Message:
Logged In: YES
user_id=798060
added in cvs for b3
----------------------------------------------------------------------
Comment By: Christopher R. Murphy (chmurph2)
Date: 2004-01-30 20:18
Message:
Logged In: YES
user_id=964200
Sorry... HTML got parsed out there:
"and added the following attribute to displaytag-12.tld:
<pre>
<attribute><br>
<name>style</name><br>
<required>false</required><br>
<rtexprvalue>true</rtexprvalue><br>
</attribute>
</pre>
----------------------------------------------------------------------
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