[
https://issues.apache.org/jira/browse/CLK-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bob Schellink updated CLK-669:
------------------------------
Assignee: Bob Schellink
Fix Version/s: 2.3.0
Good idea. I'd even go so far as to say that the header column should *not* be
escaped by default since users normally hardcode the header value. We can then
have the option to escape it through the escapeHeaderHtml boolean if the need
arrise.
> New Column property escapeHeaderHtml for better table header formatting
> -----------------------------------------------------------------------
>
> Key: CLK-669
> URL: https://issues.apache.org/jira/browse/CLK-669
> Project: Click
> Issue Type: Improvement
> Components: core
> Affects Versions: 2.2.0, 2.1.0
> Reporter: Andrey Rybin
> Assignee: Bob Schellink
> Priority: Minor
> Fix For: 2.3.0
>
>
> org.apache.click.control.Column class contains escapeHtml property, that
> applies to both: header cell content and data cell content.
> So It is hard to make rich table header with images, span, etc:
> If data cell's content should be escaped, then header cell's content will be
> escaped too.
> I propose new property
> Boolean escapeHeaderHtml = null by default.
> If escapeHeaderHtml == null then escapeHtml should be used for header cells.
> If escapeHeaderHtml is true or false - this value should be used for header
> cells.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.