jeudi 14 avril 2016

Liferay Portal 6.2 - checkbox into search container

I created a search container table that contains a column checkbox type, i.e.

                    <liferay-ui:search-container-column-text
                    name="territoriale"
                    orderable="<%= true %>"
                >
                    <input type="checkbox" id="territoriale" checked="<%= cmt.getTerritoriale() == 1 %>" />
                </liferay-ui:search-container-column-text>

This table is declared inside a jsp included using liferay-util:include, but can also be refreshed in the next steps by click on search button.

What happen is that when the table appears for the first time, I see that column just with text (value is "1"), when I click search button that runs the ajax call, the resource action return the correct checkbox in column.

Any ideas? Below some screen shot Thanks

Column after page load Column after click on search button

Aucun commentaire:

Enregistrer un commentaire