57,7 → 57,6 |
import com.extjs.gxt.ui.client.event.SelectionChangedEvent; |
import com.extjs.gxt.ui.client.event.SelectionChangedListener; |
import com.extjs.gxt.ui.client.event.SelectionListener; |
import com.extjs.gxt.ui.client.event.WidgetListener; |
import com.extjs.gxt.ui.client.store.ListStore; |
import com.extjs.gxt.ui.client.widget.LayoutContainer; |
import com.extjs.gxt.ui.client.widget.MessageBox; |
432,7 → 431,6 |
// Fieldset CONTACT |
FieldSet fsContact = new FieldSet(); |
fsContact.setHeadingHtml("Contact"); |
fsContact.setWidth("95%"); |
fsContact.setLayout(new RowLayout()); |
|
ChampMultiValeursMultiTypes telephones = new ChampMultiValeursMultiTypes("Téléphones", 180, 100); |
452,7 → 450,6 |
fsContact.add(new Text("")); |
|
ChampMultiValeurs sites = new ChampMultiValeurs("Sites web"); |
sites.setWidth("95%"); |
sites.setValeurParDefaut("http://"); |
sites.setValidation(Pattern.url, "http://www.monsite.com"); |
fsContact.add(sites); |
464,7 → 461,6 |
// Fieldset AUTRES INFOS |
FieldSet fsAutresInfos = new FieldSet(); |
fsAutresInfos.setHeadingHtml("Autres informations"); |
fsAutresInfos.setWidth("95%"); |
|
formLayout = new FormLayout(); |
formLayout.setLabelAlign(LabelAlign.LEFT); |
492,26 → 488,26 |
mediateur.obtenirListeValeurEtRafraichir(this, "sexe", sequenceur); |
|
//Description |
final TextArea taDescription = new TextArea(); |
TextArea taDescription = new TextArea(); |
taDescription.setEmptyText("Saisissez une description"); |
taDescription.setFieldLabel("Description"); |
taDescription.setWidth("100%"); |
taDescription.setName("description"); |
|
lcAutreInformations1.add(taDescription, new FormData(300, 200)); |
lcAutreInformations1.add(taDescription, new FormData(500, 200)); |
hmIdentite.put("taDescription", taDescription); |
|
fsAutresInfos.add(lcAutreInformations1); |
|
|
// Logo |
LayoutContainer lcLogoUrl = new LayoutContainer(); |
hmIdentite.put("lcLogoUrl", lcLogoUrl); |
|
final ChampMultiValeursImage logo = new ChampMultiValeursImage(i18nC.personneLogos()); |
ChampMultiValeursImage logo = new ChampMultiValeursImage(i18nC.personneLogos()); |
logo.setImageHeight("150px"); |
logo.setValeurParDefaut("http://"); |
logo.setValidation(Pattern.url, "http://www.monsite.com/mon_image.jpg"); |
logo.setValeurBoutonSupprimer("Supprimer"); |
logo.setWidth("95%"); |
hmIdentite.put("logos", logo); |
|
lcLogoUrl.add(logo); |