Revision 47723 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/expressionevaluator/impl/DefaultFeatureRuleExpression.java

View differences:

DefaultFeatureRuleExpression.java
99 99
    
100 100
    
101 101
    public static void selfRegister() {
102
        Json.registerSerializer(FeatureRuleExpression.class);
102
        Json.registerSerializer(DefaultFeatureRuleExpression.class);
103 103
        registerPersistenceDefinition();
104 104

  
105 105
    }
......
200 200
    public void fromJson(JsonObject json) {
201 201
        this.name = json.getString("name");
202 202
        this.description = json.getString("description");
203
        this.checkwhen.set(json.getInt("checkwhen", 0));
203
        this.checkwhen.set(json.getInt("checkWhen", 0));
204 204
        if( json.getBoolean("checkAtFinishEdition", false) ) {
205 205
            this.checkwhen.setBits(CHECK_WHEN_FINISH_EDITING);
206 206
        }

Also available in: Unified diff