Skip to content

TreeTable: title of column not rendering properly #13861

@mnyakushev

Description

@mnyakushev

Describe the bug

The title for the column inside treeTable is rendered not in the span, but in the next tag.

Image

https://github.com/primefaces/primefaces/blob/master/primefaces/src/main/java/org/primefaces/component/treetable/TreeTableRenderer.java#L705

If I execute line writer.writeAttribute("title", title, null); before line writer.writeText(headerText, "headerText"); under the debugger, then title gets into span.

Image

Reproducer

https://github.com/mnyakushev/primefaces-test/tree/tree-table-column-title

Expected behavior

Attribute title rendered inside span tag

PrimeFaces edition

Community

PrimeFaces version

15.0.4

Theme

No response

JSF implementation

Mojarra

JSF version

4.0.11

Java version

21

Browser(s)

No response

Metadata

Metadata

Assignees

Labels

🐞 defectBug...Something isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions