Example usage for org.apache.wicket.markup.html.form Form getRootFormRelativeId

List of usage examples for org.apache.wicket.markup.html.form Form getRootFormRelativeId

Introduction

In this page you can find the example usage for org.apache.wicket.markup.html.form Form getRootFormRelativeId.

Prototype

public static String getRootFormRelativeId(Component component) 

Source Link

Document

Utility method to assemble an id to distinct form components from different nesting levels.

Usage

From source file:com.gmail.volodymyrdotsenko.jqxwicket.core.panel.FormSubmittingPanel.java

License:Apache License

/**
 * Gets the input element name that is supposed to be retrieved in the form once it has been submitted over http.
 *//*from  ww w.jav a 2 s  .c  o m*/
@Override
public String getInputName() {
    return Form.getRootFormRelativeId(this);
}

From source file:name.martingeisse.wicket.component.upload.AbstractAjaxFileUploadField.java

License:Open Source License

/**
 * Returns the "name" attribute of the input element.
 * @return the name attribute//w w w .j a va2s .  c  o m
 */
public String getInputName() {
    return Form.getRootFormRelativeId(this);
}

From source file:net.dontdrinkandroot.wicket.bootstrap.component.button.AbstractSubmitButtonLink.java

License:Apache License

/**
 * @see org.apache.wicket.markup.html.form.IFormSubmittingComponent#getInputName()
 *///from  w  ww.jav  a  2s.  co m
@Override
public String getInputName() {

    return Form.getRootFormRelativeId(this);
}