primefaces / community

Community Forum
0 stars 0 forks source link

[Version 7.0] Paginator TreeTable column having SelectOneMenu does not render or loss the default/selected value from the managed bean on navigating to another paginator page tabs. #2105

Closed Kapil-Gureja closed 3 months ago

Kapil-Gureja commented 3 months ago

Discussed in https://github.com/orgs/primefaces/discussions/2104

Originally posted by **Kapil-Gureja** June 7, 2024 There appears to be some issue with the rendering on using selectonemenu inside paginator treetable. The column showing selectonemenu linked with the managed bean field value shows the correct value only on page1. On all other pages of the treetable, it does not show the correct value as already selected or as default value for the selectonemenu. Instead it shows as if there is no value being returned by the managed bean, selectonemenu with no value selected. Also on navigating back to page 1, again it does not show the selected value for the menu which was there initially on page 1. The issue is only with the column having selectonemenu, not with the columns having outputText. Please advise if there is any bug with this? Thanks SS1 SS2 SS3
melloware commented 3 months ago

As mentioned in the forum post...

I am pretty sure this is fixed in future PF versions. Can you try 14.0.0?

Please provide an executable example using the PrimeFaces Test project. It is the only way developers can debug your problem to help.