Interface ICrudifierForm<T>
- All Known Implementing Classes:
CrudifierForm
,StatelessCrudifierForm
public interface ICrudifierForm<T>
-
Method Summary
Modifier and Type Method Description List<org.apache.wicket.Component>
getButtons()
Get the list of custom buttons for the form.Map<Class<?>,ControlGroupProvider<? extends AbstractControlGroup<?>>>
getControlGroupProviders()
Map<Class<?>,Class<? extends AbstractControlGroup>>
getControlGroupsTypesMap()
CrudifierEntitySettings
getEntitySettings()
org.apache.wicket.markup.html.form.FormComponent<?>
getFormComponent(String propertyName)
CrudifierFormSettings
getFormSettings()
Map<Class<?>,IObjectRenderer<?>>
getRenderers()
-
Method Details
-
getFormComponent
-
getFormSettings
CrudifierFormSettings getFormSettings() -
getEntitySettings
CrudifierEntitySettings getEntitySettings() -
getRenderers
Map<Class<?>,IObjectRenderer<?>> getRenderers() -
getControlGroupsTypesMap
Map<Class<?>,Class<? extends AbstractControlGroup>> getControlGroupsTypesMap() -
getControlGroupProviders
Map<Class<?>,ControlGroupProvider<? extends AbstractControlGroup<?>>> getControlGroupProviders() -
getButtons
List<org.apache.wicket.Component> getButtons()Get the list of custom buttons for the form. This buttons will appear next to submit button. All buttons must have their wicket:id="button" and must have a label inside them with wicket:id="label"Usage:
form.getButtons().add(new AjaxLink<Void>("button") { public void onClick(AjaxRequestTarget target) { // do something } }.add(new Label("label", "Cancel")));
- Returns:
- the custom buttons list
-