Package de.innovationgate.wgaservices.types

Examples of de.innovationgate.wgaservices.types.Form


      //params.add("A");
      //params.add("B");
      //params.add("C");
      //caller.callAction("myRemoteAction");
      //caller.callAction("myRemoteAction", params);
      Form form = new Form("test");
      form.setField("myfield", "value");
      form.setField("aDate", new Date());
      form.setField("aNumber", new Integer(4711));
      form.addFileAsAttachment(new File("/home/tbinias/downloads/eclipse-SDK-3.4.2-linux-gtk-x86_64.tar.gz"), "eclipse.tgz");
      Object result = caller.callAction("myRemoteAction", null, form);
      System.out.println(result);
      //List<DataSource> tmpList = new ArrayList<DataSource>();
      //tmpList.add(new FileDataSource(new File("/home/tbinias/downloads/eclipse-SDK-3.4.2-linux-gtk-x86_64.tar.gz")));
      //client.installPlugins(session, tmpList);
View Full Code Here


            }
           
            // If action result is an TMLForm, transform it back into a services form
            if (result instanceof de.innovationgate.wgpublisher.webtml.utils.TMLForm) {
                de.innovationgate.wgpublisher.webtml.utils.TMLForm tmlForm = (de.innovationgate.wgpublisher.webtml.utils.TMLForm) result;
                Form servicesForm = tmlForm.exportServicesForm();
                ActionResult actionResult = new ActionResult();
                actionResult.setForm(servicesForm);
                return actionResult;
            } else {
              ActionResult actionResult = new ActionResult();
View Full Code Here

TOP

Related Classes of de.innovationgate.wgaservices.types.Form

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.