@@ -162,7 +162,7 @@ void checkLayout(JsonNode tree) {
162162 "layout" , "style" , "class" , /* schema info in config.json */ "name" , "parent" ,
163163 /* gridster stuff */ "x" , "y" , "rows" , "cols" ,
164164 /* redraw container */ "redrawInterval" , "expression" , "html" , "script" , "hideframe" ,
165- "clearCache" , "card" , "size" , "cached" , "onChat" , "uploadEnabled" )
165+ "clearCache" , "card" , "size" , "cached" , "onChat" , "uploadEnabled" , "onRender" )
166166 .contains (e .getKey ()));
167167 if (e .getKey ().equals ("url" ))
168168 Assertions .assertTrue (e .getValue () instanceof TextNode );
@@ -185,6 +185,7 @@ void checkExpressions(JsonNode tree) throws Exception {
185185
186186 if (!(kid .getValue () instanceof ObjectNode )) {
187187 Jsonata jsonata = Jsonata .jsonata (expr );
188+ // System.out.println(expr);
188189 JFunction x = new JFunction (new JFunctionCallable () {
189190 @ Override
190191 public Object call (Object input , @ SuppressWarnings ("rawtypes" ) List args )
@@ -221,6 +222,8 @@ public Object call(Object input, @SuppressWarnings("rawtypes") List args)
221222 jsonata .registerFunction ("all" , x );
222223 jsonata .registerFunction ("djSubscription" , x );
223224 jsonata .registerFunction ("clearCache" , x );
225+ jsonata .registerFunction ("notify" , x );
226+ jsonata .registerFunction ("setIfAbsent" , x );
224227 try {
225228 jsonata .evaluate (null );
226229 } catch (Exception e ) {
0 commit comments