예제 #1
0
 /**
  * Loads an xforms document with its layout.
  *
  * @param xformXml the xforms xml.
  * @param layoutXml the layout xml.
  */
 public void loadForm(String xformXml, String layoutXml, String javaScriptSource) {
   view.loadForm(
       XformParser.fromXform2FormDef(xformXml), layoutXml, javaScriptSource, null, false);
 }
예제 #2
0
 public void loadForm(
     int formId, String xformXml, String modelXml, String layoutXml, String javaScriptSource) {
   FormDef formDef = XformParser.fromXform2FormDef(xformXml, modelXml);
   formDef.setId(formId);
   view.loadForm(formDef, layoutXml, javaScriptSource, null, false);
 }