How to submit the form when clicked selectMultipuleButton?
Hi,all
when clicked selectMultipuleButton on a table,why don't the form submit? How to submit?
Thanks.
Smile.
Hi,all
when clicked selectMultipuleButton on a table,why don't the form submit? How to submit?
Thanks.
Smile.
Hi,
If you are trying to use table component with buttons, here's what might be useful:
http://blogs.sun.com/divas/entry/table_component_sample_project
http://blogs.sun.com/divas/entry/using_checkboxes_in_a_table
http://blogs.sun.com/divas/entry/radio_buttons_in_tables
http://blogs.sun.com/winston/entry/single_selectable_row_table_component
http://blogs.sun.com/winston/entry/multiple_selection_table1
Also, the selectMultipleButton is a property of the table. Selecting it display a control which allows users to select the entire column of checkboxes. The tutorials should help
Hi,Rradhika
Are you test to click selectMultipulButton in debug running?when clicking selectMultipuleButton,breakpoints in init(),prerender(),destory() are not be touch off.
I want to Stat. a column value of all clicked rows,so,when clicking selectMultipuleButton,I want to the page rendered.
Stat. method as follows
public String getTotalFeeFooter(){
BigDecimal allfee = BigDecimal.ZERO;
BigDecimal currentfee;
RowKey rowkey;
String rowId;
int rowCount = this.getSessionBean1().getSelectedRowPayFeeBatch().size();
if (rowCount <= 0) {
return null;
}
Iterator iter = this.getSessionBean1().getSelectedRowPayFeeBatch().iterator();
while (iter.hasNext()){
rowId = (String)iter.next();
rowkey = khdfSessionQueryFeeForBatch1.getRowKey(rowId);
currentfee = (BigDecimal)khdfSessionQueryFeeForBatch1.getValue(khdfSessionQueryFeeForBatch1.getFieldKey("allfee"),rowkey);
if (currentfee == null) {
currentfee = BigDecimal.ZERO;
}
allfee = allfee.add(currentfee);
}
return allfee.toString();
}
Thanks.
Smile.