Line 6... |
Line 6... |
6 |
import com.google.gwt.user.client.ui.FormPanel;
|
6 |
import com.google.gwt.user.client.ui.FormPanel;
|
7 |
import com.google.gwt.user.client.ui.FormPanel.SubmitCompleteEvent;
|
7 |
import com.google.gwt.user.client.ui.FormPanel.SubmitCompleteEvent;
|
8 |
import com.google.gwt.user.client.ui.FormPanel.SubmitCompleteHandler;
|
8 |
import com.google.gwt.user.client.ui.FormPanel.SubmitCompleteHandler;
|
9 |
import com.google.gwt.user.client.ui.HTML;
|
9 |
import com.google.gwt.user.client.ui.HTML;
|
10 |
import com.google.gwt.user.client.ui.HasAlignment;
|
10 |
import com.google.gwt.user.client.ui.HasAlignment;
|
- |
|
11 |
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
|
11 |
import com.google.gwt.user.client.ui.Hidden;
|
12 |
import com.google.gwt.user.client.ui.Hidden;
|
12 |
import com.google.gwt.user.client.ui.VerticalPanel;
|
13 |
import com.google.gwt.user.client.ui.VerticalPanel;
|
13 |
import com.gwtext.client.core.EventObject;
|
14 |
import com.gwtext.client.core.EventObject;
|
14 |
import com.gwtext.client.widgets.Button;
|
15 |
import com.gwtext.client.widgets.Button;
|
15 |
import com.gwtext.client.widgets.Window;
|
16 |
import com.gwtext.client.widgets.Window;
|
Line 48... |
Line 49... |
48 |
|
49 |
|
Line 49... |
Line 50... |
49 |
HTML lienVersDocumentModele = new HTML("<a href=\"modele_import.xls\">Télécharger le modèle de document </a>");
|
50 |
HTML lienVersDocumentModele = new HTML("<a href=\"modele_import.xls\">Télécharger le modèle de document </a>");
|
Line 50... |
Line 51... |
50 |
|
51 |
|
Line 51... |
Line 52... |
51 |
holder.add(lienVersDocumentModele);
|
52 |
holder.add(lienVersDocumentModele);
|
Line -... |
Line 53... |
- |
|
53 |
|
52 |
|
54 |
holder.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_RIGHT);
|
53 |
holder.setHorizontalAlignment(HasAlignment.ALIGN_RIGHT);
|
55 |
|
54 |
|
56 |
boutonValidation.addListener(new ButtonListenerAdapter() {
|
55 |
boutonValidation.addListener(new ButtonListenerAdapter() {
|
57 |
|
Line 64... |
Line 66... |
64 |
nPan.add(form);
|
66 |
nPan.add(form);
|
65 |
form.setAction(Configuration.getServiceBaseUrl() + "/InventoryImportExcel");
|
67 |
form.setAction(Configuration.getServiceBaseUrl() + "/InventoryImportExcel");
|
Line 66... |
Line 68... |
66 |
|
68 |
|
Line -... |
Line 69... |
- |
|
69 |
form.addSubmitCompleteHandler(new SubmitCompleteHandler() {
|
67 |
form.addSubmitCompleteHandler(new SubmitCompleteHandler() {
|
70 |
|
Line 68... |
Line 71... |
68 |
|
71 |
@Override
|
69 |
public void onSubmitComplete(SubmitCompleteEvent event) {
|
72 |
public void onSubmitComplete(SubmitCompleteEvent event) {
|