Hi all,

I'd like to have the following page and I meet some difficulties to build it ...
Could you help me please ?

When I click on Appliquer aux lignes cochées, I want to apply the
Quantité and Variation values (at the top of page) to checked lines
in the form Table.
When I click on Tout cocher, I check all lines
When I click on Tout décocher, I uncheck all lines
When I click on Enregistrer (at the bottom of page), 
I want to save all lines in my database.

I created a mySQL table which is linked via Hibernate to my formTable Data

CREATE TABLE IF NOT EXISTS `dotvariation` (
`id` smallint(6) NOT NULL AUTO_INCREMENT,
`collegeId` smallint(4) NOT NULL,
`qte` int(10) NOT NULL,
`variation` double NOT NULL,
`montant` double NOT NULL,
`actif` tinyint(1) NOT NULL,
`lposteId` smallint(4) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT
AUTO_INCREMENT=319 ;

The actif data is linked to checkbox

Could you tell me how reproduce this page behavior with the Form
Table, I tried but the select / unselect function doesn't work well
because it is linked to the data

I can send you by email the Java code of my page 

Find below the page form :
<img src="http://elus-dev.cg95.fr/elus/img/TableFormMultiSelect.jpg"; border="0">

Reply via email to