The "format" property of a column should not apply to HREF parameter
--------------------------------------------------------------------

                 Key: DISPL-582
                 URL: http://jira.codehaus.org/browse/DISPL-582
             Project: DisplayTag
          Issue Type: Improvement
          Components: Tag Library
    Affects Versions: 1.2
            Reporter: William Rey
            Priority: Minor


When you put a format in the <display:column>, the format is also applied to 
the parameter of the HREF. It is not a good thing as we expect a format for the 
user but a non-formatted value for the system (Freemarker example below should 
also work for plain JSP):

<@displayTag.column title="ID" style="text-align: right;" 
href="products.action?" paramId="productId" property="id" 
format="{0,number,#,###}" />

In this example, I expect to display my values with commas as thousand 
separator (displays "1,586,425" when the internal identifier stored as 
"1586425", a plain integer).


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to