Revision 1983 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.dynform/org.gvsig.tools.dynform.impl/src/main/java/org/gvsig/tools/dynform/impl/DefaultJDynForm.java
DefaultJDynForm.java | ||
---|---|---|
75 | 75 |
public class DefaultJDynForm extends AbstractJDynForm implements JDynFormFieldListener { |
76 | 76 |
|
77 | 77 |
private Map components = null; |
78 |
private ComponentsFactory componentsFactory; |
|
78 |
private final ComponentsFactory componentsFactory;
|
|
79 | 79 |
|
80 | 80 |
public DefaultJDynForm( |
81 | 81 |
DynFormSPIManager manager, |
... | ... | |
367 | 367 |
} |
368 | 368 |
jfield.setValue(values.getDynValue(name)); |
369 | 369 |
} |
370 |
this.callUserEvent(USERCODE_FORM_ONSETVALUES, this); |
|
370 |
this.callUserEvent(USERCODE_FORM_ONSETVALUES, this, values);
|
|
371 | 371 |
try { |
372 |
if( (boolean) this.callUserFunction(USERCODE_FORM_ISREADONLY, this, values) ) {
|
|
372 |
if( (boolean) this.callUserFunction(USERCODE_FORM_ISREADONLY, this) ) { |
|
373 | 373 |
this.setReadOnly(true); |
374 | 374 |
} |
375 | 375 |
} catch (Exception ex) { |
Also available in: Unified diff