[
http://jira.codehaus.org/browse/DISPL-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Rey resolved DISPL-582.
-------------------------------
Resolution: Won't Fix
Fix Version/s: 1.2
By looking in the code, it is possible to workaround by adding the
"paramProperty" in the <column> tag:
<@display.column title="ID" style="text-align: right;" href="products.action?"
paramId="productId" property="id" paramProperty="id" format="{0,number,#,###}"
/>
Sorry to have created this issue for nothing.
> 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
> Fix For: 1.2
>
>
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel