Revision history [back]

click to hide/show revision 1
initial version

answered 2014-09-02 15:46:24 +0800

chillworld gravatar image chillworld flag of Belgium

https://github.com/chillw...

Terry, what about a custom simpleform?

public class NotifiableSimpleForm extends FormImpl {

    @Override
    public void setField(String field, Object value) {
        super(field,value);
        //Do what you have to do
    }
}

Greetz chill.

Terry, Stephan, what about a custom simpleform?

public class NotifiableSimpleForm extends FormImpl {

    @Override
    public void setField(String field, Object value) {
        super(field,value);
        //Do what you have to do
    }
}

Greetz chill.

Stephan, what about a custom simpleform?

public class NotifiableSimpleForm extends FormImpl {

    @Override
    public void setField(String field, Object value) {
        super(field,value);
        if (isDirty()) {
            //Do what you have to do
        } else {
            //The other case
        }
    }
}

Greetz chill.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More