Examples of FormData


Examples of at.reppeitsolutions.formbuilder.model.FormData

    @PostConstruct
    public void init() {
        formJpaController = new FormJpaController(utx, em);
        formDataJpaController = new FormDataJpaController(utx, em);
        if (formfillid != null && formdataid == null) {
            form = new FormData(formJpaController.findForm(formfillid));
        } else if(formdataid != null && formfillid == null) {
            form = formDataJpaController.findFormData(formdataid);
        }
    }
View Full Code Here

Examples of com.alibaba.citrus.turbine.dataresolver.FormData

        assertNotNull(formService, "no FormService defined");

        Class<?> paramType = context.getTypeInfo().getRawType();

        // Form对象
        FormData formAnnotation = context.getAnnotation(FormData.class);

        if (formAnnotation != null || paramType.isAssignableFrom(Form.class)) {
            return new FormResolver(context, paramType, formAnnotation);
        }
View Full Code Here

Examples of com.cosmo.util.FormData

    * @throws FieldNotFoundException
    */
   public void setFieldValue(HttpServletRequest request, String name, String value) throws FieldNotFoundException
   {
      FormField field;
      FormData data = null;

      // Obtiene el contenedor de valores
      data = (FormData) request.getSession().getAttribute(this.getSessionControlDataKey());

      // Si no estaba definido, lo crea
      if (data == null)
      {
         data = new FormData(this.getId());
      }

      // Almacena el valor y se asegura que el campo exista
      for (FormFieldset group : this.groups)
      {
         Iterator<FormField> it = group.getFields();
         while (it.hasNext())
         {
            field = it.next();
            if (field.getName().equals(name))
            {
               data.addParameterValue(name, value);
               return;
            }
         }
      }

View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.FormData

    horizontalPanelPassword.add(verticalPanel_3, td_verticalPanel_3);
    horizontalPanelPassword.setHeight(HORIZONTAL_PANEL_HEIGTH);
    mainLoginPanel.add(horizontalPanelPassword);
   
    Button btnIngresar = new Button("Ingresar");
    mainLoginPanel.add(btnIngresar, new FormData("100%"));
    btnIngresar.addSelectionListener(new SelectionListener<ButtonEvent>(){
      @Override
      public void componentSelected(ButtonEvent ce)
      {
        presionoEnter(ce);
View Full Code Here

Examples of de.odysseus.calyxo.forms.FormData

 
  /* (non-Javadoc)
   * @see de.odysseus.calyxo.base.access.DynamicMapAccessor#get(javax.servlet.http.HttpServletRequest, java.lang.Object)
   */
  protected Object get(HttpServletRequest request, Object key) {
    FormData data = null;
    try {
      data = support.getFormData(request, key.toString(), false);
    } catch (Exception e) {
      throw new AccessException("Could not access form data for path '" + key + "'", e);
    }
    return data == null ? null : data._getWrapped();
  }
View Full Code Here

Examples of fi.luomus.commons.kirjekyyhky.FormData

      api.getCount();
      api.getForms();
      api.receive("1231");
      api.send(new File("new prefilled <form-data> .xml"), new File("optinally a prefilled PDF file"));

      FormData formData = api.get("2525");
      for (LogEntry e : formData.getLogEntries()) {
        // jotain
      }
      String nro = formData.getData().get("pistelaskenta.nro");
      //...

    } catch (Exception e) {
      // jep
    } finally {
View Full Code Here

Examples of io.undertow.server.handlers.form.FormData

        if (parts == null) {
            final List<Part> parts = new ArrayList<>();
            String mimeType = exchange.getRequestHeaders().getFirst(Headers.CONTENT_TYPE);
            if (mimeType != null && mimeType.startsWith(MultiPartParserDefinition.MULTIPART_FORM_DATA)) {

                FormData formData = parseFormData();
                if(formData != null) {
                    for (final String namedPart : formData) {
                        for (FormData.FormValue part : formData.get(namedPart)) {
                            parts.add(new PartImpl(namedPart, part, requestContext.getOriginalServletPathMatch().getServletChain().getManagedServlet().getServletInfo().getMultipartConfig(), servletContext));
                        }
                    }
                }
            } else {
View Full Code Here

Examples of org.activiti.engine.form.FormData

   
    if (taskId != null && processDefinitionId != null) {
      throw new ActivitiIllegalArgumentException("Not both a taskId and a processDefinitionId parameter can be provided");
    }
   
    FormData formData = null;
    String id = null;
    if (taskId != null) {
      formData = formService.getTaskFormData(taskId);
      id = taskId;
    } else {
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.FormData

    RenderingContext arc,
    UIComponent         comp,
    FacesBean           bean) throws IOException
  {
    super.encodeEnd(context, arc, comp, bean);
    FormData fd = arc.getFormData();
    if (fd != null)
      fd.addNeededValue(XhtmlConstants.SOURCE_PARAM);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.form.FormData

  @Override
  public FormDto getForm() {
    FormService formService = engine.getFormService();
    Task task = getTaskById(taskId);
    FormData formData;
    try {
      formData = formService.getTaskFormData(taskId);
    } catch (ProcessEngineException e) {
      throw new RestException(Status.BAD_REQUEST, e, "Cannot get form for task " + taskId);
    }

    FormDto dto = FormDto.fromFormData(formData);
    if(dto.getKey() == null || dto.getKey().isEmpty()) {
      if(formData.getFormFields() != null && !formData.getFormFields().isEmpty()) {
        dto.setKey("embedded:engine://engine/:engine/task/"+taskId+"/rendered-form");
      }
    }

    String processDefinitionId = task.getProcessDefinitionId();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.