Package org.apache.wicket.markup.html.form

Examples of org.apache.wicket.markup.html.form.HiddenField


                    "Document ordering");
            documentOrdering.add(doucmentOrderLabel);
            final ListMultipleChoice documnetOrder = new ListMultipleChoice(
                    "docOrders", new PropertyModel(this, "listChoice"),
                    getDocument().getDocumentOrder());
            final HiddenField pageOrder = new HiddenField("pageOrder",
                    new PropertyModel(this, "orderedList"));
            documentOrdering.add(documnetOrder);
            documentOrdering.add(pageOrder);
            documentOrdering.add(new AjaxButton("save",new ResourceModel("common.save"), documentOrdering)
            {
View Full Code Here


       
        form.add( new Label("beanFormIndicatorErrorLabel", new ResourceModel("beanFormError.msg", "An error occurred on the server. Your session may have timed out.")));
       
        beanMetaData.consumeParameter(PARAM_ROWS);
       
        final HiddenField hiddenFocusField = new HiddenField<String>("focusField", new PropertyModel<String>(this, "focusField"));
        hiddenFocusField.add( new AbstractBehavior() {
            @Override
            public void onComponentTag(Component component, ComponentTag tag)
            {
                tag.put("id", "bfFocusField");
                super.onComponentTag(component, tag);
View Full Code Here

        // marked as expired
        super(PageMap.forName("demoRequestResponse"));

        Form form = new Form("form");
        add(form);
        form.add(new HiddenField("url", new PropertyModel(model, "requestUrl")));
        form.add(new TextArea("body", new PropertyModel(model, "requestBody")));
        form.add(new HiddenField("username", new PropertyModel(model, "userName")));
        form.add(new HiddenField("password", new PropertyModel(model, "password")));

        // override the action property of the form to submit to the TestWfsPost
        // servlet
        form.add(new SimpleAttributeModifier("action", "../TestWfsPost"));
View Full Code Here

    super(id, new FilterStateModel(locator));

    this.locator = locator;

    // add hidden field used for managing current focus
    hidden = new HiddenField("focus-tracker", new Model());

    hidden.add(new AbstractBehavior()
    {
      private static final long serialVersionUID = 1L;
View Full Code Here

  {
    super(id, new FilterStateModel(locator));

    this.locator = locator;

    hidden = new HiddenField("focus-tracker", new Model());

    hidden.add(new AbstractBehavior()
    {
      private static final long serialVersionUID = 1L;
View Full Code Here

    super(id, new FilterStateModel(locator));

    this.locator = locator;

    // add hidden field used for managing current focus
    hidden = new HiddenField("focus-tracker", new Model());

    hidden.add(new AbstractBehavior()
    {
      private static final long serialVersionUID = 1L;
View Full Code Here

                    "Document ordering");
            documentOrdering.add(doucmentOrderLabel);
            final ListMultipleChoice documnetOrder = new ListMultipleChoice(
                    "docOrders", new PropertyModel(this, "listChoice"),
                    getDocument().getDocumentOrder());
            final HiddenField pageOrder = new HiddenField("pageOrder",
                    new PropertyModel(this, "orderedList"));
            documentOrdering.add(documnetOrder);
            documentOrdering.add(pageOrder);
            documentOrdering.add(new AjaxButton("save",new ResourceModel("common.save"), documentOrdering)
            {
View Full Code Here

    add(form);

    fileUploadField = new FileUploadField("fileUploadField", new PropertyModel(model, "fileUpload"));
    form.add(fileUploadField);

    idField = new HiddenField("idField", new PropertyModel(model, "id")) {
      /**
       * Name attribute of this field must be &quot;_imageid&quot; because Picnik sends the
       * imageid with this HTTP parameter.
       * @see org.apache.wicket.markup.html.form.FormComponent#getInputName()
       */
 
View Full Code Here

    super(id, model);
   
    form = createForm("form", model);
    add(form);
   
    urlField = new HiddenField("urlField", new PropertyModel(model, "fileUpload"));
    urlField.setType(PulledFileUpload.class);
    form.add(urlField);
  }
View Full Code Here

    super(id, new FilterStateModel(locator));

    this.locator = locator;

    // add hidden field used for managing current focus
    hidden = new HiddenField("focus-tracker", new Model());

    hidden.add(new AbstractBehavior()
    {
      private static final long serialVersionUID = 1L;
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.form.HiddenField

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.