Recently in jsf Category

Tobago Master/Detail

| | Comments (0) | TrackBacks (0)

just a note to remember that in a Tobago sheet the value of state-attribute contains the object of the selected row.

<tc:sheet value="#{SupplierController.supplierList}" id="sheet" columns="1;1;1;1;1;1;1;1;2*" var="supplierobject" state="#{SupplierController.selectedSupplier}" showHeader="true" showPageRange="center" pagingLength="10″ sortActionListener="#{SupplierController.supplierSorter}">

In the Controller get it easily by

List selection = selectedSupplier.getSelectedRows(); Supplier selectedSupplier = supplierList.get(selection.get(0));

About this Archive

This page is a archive of recent entries in the jsf category.

javascript is the previous category.

maven is the next category.

Find recent content on the main index or look in the archives to find all content.

jsf: Monthly Archives

Powered by Movable Type 4.0