Package com.google.gwt.user.client.ui

Examples of com.google.gwt.user.client.ui.Hidden


        form.setMethod(METHOD_POST);
        FlowPanel panel = new FlowPanel();
        form.setWidget(panel);
        context.form = form;

        Hidden operation = new Hidden("operation");
        panel.add(operation);
        context.operation = operation;

        panel.add(new Label(Console.CONSTANTS.patch_manager_select_patch_body()));
View Full Code Here


        passwordPanel.add(passwordLabel);

        password.setName("j_password");
        passwordPanel.add(password);

        Hidden returnTo = new Hidden("spring-security-redirect", "/login.html");
        returnTo.setName("spring-security-redirect");
        loginPanel.add(returnTo);

        loginPanel.add(passwordPanel);
        // rememberMe.setName("_spring_security_remember_me");
        // loginPanel.add(rememberMe);
        Hidden usePersistentLogon = new Hidden("_spring_security_remember_me", "on");
        usePersistentLogon.setName("_spring_security_remember_me");
        loginPanel.add(usePersistentLogon);

        errorMessage.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formErrorBox());
        errorMessage.setVisible(false);
View Full Code Here

    getStatusWidget().setStatus(Status.UNINITIALIZED);
    reuse();
    assignNewNameToFileInput();
    for (Widget i : formWidgets) {
      if (i instanceof Hidden) {
        Hidden h = (Hidden)i;
        if (h.getValue().startsWith(fileInputPrefix)) {
          h.setValue(getInputName());
        }
      }
    }

    getFileInput().asWidget().setVisible(true);
View Full Code Here

      hiddens = null;
    }
  }

  private Hidden addHidden(String name, String value) {
    Hidden hidden = new Hidden(name, value);
    uploadForm.add(hidden);
    if (hiddens == null) {
      hiddens = new ArrayList<Hidden>();
    }
    hiddens.add(hidden);
View Full Code Here

                public void onSuccess(Method method, String response) {
                    String fileName = helper.getFileName(response);
                    FormPanel auxiliarForm = new FormPanel();
                    auxiliarForm.setMethod(FormPanel.METHOD_GET);
                    auxiliarForm.setAction(url);
                    Hidden hidden1 = new Hidden("fileName");
                    hidden1.setValue(fileName);
                    Hidden hidden2 = new Hidden("formName");
                    hidden2.setValue(form.getName() == null || "".equals(form.getName()) ? "template" : form.getName());
                    VerticalPanel vPanel = new VerticalPanel();
                    vPanel.add(hidden1);
                    vPanel.add(hidden2);
                    auxiliarForm.add(vPanel);
                    RootPanel.get().add(auxiliarForm);
View Full Code Here

        return clone;
    }
   
    @Override
    public Widget cloneDisplay(Map<String, Object> data) {
        Hidden hi = new Hidden();
        populate(hi);
        Object input = getInputValue(data);
        if (input != null) {
            hi.setValue(input.toString());
        }
        if (getOutput() != null && getOutput().getName() != null && !"".equals(getOutput().getName())) {
            hi.setName(getOutput().getName());
        }
        super.populateActions(hi.getElement());
        return hi;
    }
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.Hidden

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.