Java Reference
In-Depth Information
Now that we have all the necessary components in our page, we need to add some
logic to our code so that the checkboxes and buttons work as expected. By clicking
on the JSP tag in our page we can examine the generated markup for our table.
<webuijsf:table augmentTitle="false" id="table1" title="Existing
Customers" width="400">
<webuijsf:tableRowGroup
id="tableRowGroup1" rows="5"
sourceData="#{SessionBean1.customerArray}"
sourceVar="currentRow">
<webuijsf:tableColumn id="tableColumn5" width="200" >
<webuijsf:checkbox id="checkbox1"/>
</webuijsf:tableColumn>
<webuijsf:tableColumn headerText="First Name"
id="tableColumn1" sort="firstName">
<webuijsf:staticText id="staticText2"
text="#{currentRow.value['firstName']}"/>
</webuijsf:tableColumn>
<webuijsf:tableColumn headerText="Middle Name"
id="tableColumn2" sort="middleName">
<webuijsf:staticText id="staticText3"
text="#{currentRow.value['middleName']}"/>
</webuijsf:tableColumn>
<webuijsf:tableColumn headerText="Last Name"
id="tableColumn3" sort="lastName">
<webuijsf:staticText id="staticText4"
 
Search WWH ::




Custom Search