Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Combo supports 3 types of item binding.

A. Enumerated Items

  1. In database the binding field Meta is filled in the following format.
  2. The generated module in edit.uid , the field will be a ComboBox ,wiping the inside of the Label control; the palette>formElements> ComboBox  selected and added.Enumclass and field are selected and fill.
  3. Come to Personel.Resources and added to a new Enum.
  4. Thus, the ComboBox in the desired manner is completed.

B. Constant Items

  1. A new field is added to the database of the relevant module.
  2. This field is part of the meta@code:nameOfTheField is written
  3. Shared the corresponding module is included in the package; extension module, enum.codesValues method, is added by placing nameOfTheField comma between.

    Code Block
    public static enum CodesValues implements IModuleConstantsEnum {
    		YakinlikDerecesi, Meslek, Sinifi;
    		public long getModuleId() {
    			return MODULE_ID;
  4. The relevant module in the Server, go to the module extension initDataSet is added.


Code Block
<initDataSet id="PER.CODE_VALUES" author="asdf" userId="é{s.admin}">
<csv type="com.javexpress.gwt.enterprise.server.system.controller.ModuleCodeValue" file="com/emex/personel/server/update/modulKodDeger.csv"/>


      5.If you insert or update a field that contains data that can be appended if the relevant module on the server.update part .csv extension module is selected. Opened with any Office program, here comboBox to appear in the desired field number is added.

      (.csv values are written to the database when the application is first run )

      6. Client in the section comboBox with the addition of the desired module edit part, in the palette>formElements section ComboBox is added by selecting.

      7.Added ComboBox’s Properties>Constant field 3.defined in Article Field name is selected.

      8.Added ComboBox's Properties>field the field name in the field of the data that will be captured in the table is selected.

      9.Thus, the ComboBox in the desired manner is completed.


C. com.javexpress.common.model.item.IComboItem<PK>

/** Value */
public PK getV();

/** Label */
public String getL();

/** Group */
public String getG();

/** Data */
public String getD();




Follow on ComboBox