com.coderdreams:wicket-fields

Easy to use field components for Wicket that make setting up a UI a breeze

License

License

Categories

Categories

Wicket User Interface Web Frameworks
GroupId

GroupId

com.coderdreams
ArtifactId

ArtifactId

wicket-fields
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

com.coderdreams:wicket-fields
Easy to use field components for Wicket that make setting up a UI a breeze
Project URL

Project URL

https://github.com/RomanSery/wicket-ui-fields
Source Code Management

Source Code Management

https://github.com/RomanSery/wicket-ui-fields/tree/master

Download wicket-fields

How to add to project

<!-- https://jarcasting.com/artifacts/com.coderdreams/wicket-fields/ -->
<dependency>
    <groupId>com.coderdreams</groupId>
    <artifactId>wicket-fields</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.coderdreams/wicket-fields/
implementation 'com.coderdreams:wicket-fields:1.0.0'
// https://jarcasting.com/artifacts/com.coderdreams/wicket-fields/
implementation ("com.coderdreams:wicket-fields:1.0.0")
'com.coderdreams:wicket-fields:jar:1.0.0'
<dependency org="com.coderdreams" name="wicket-fields" rev="1.0.0">
  <artifact name="wicket-fields" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.coderdreams', module='wicket-fields', version='1.0.0')
)
libraryDependencies += "com.coderdreams" % "wicket-fields" % "1.0.0"
[com.coderdreams/wicket-fields "1.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.apache.wicket : wicket-core jar 8.4.0
org.apache.wicket : wicket-extensions jar 8.4.0
org.apache.commons : commons-lang3 jar 3.8.1
org.apache.commons : commons-text jar 1.6

Project Modules

There are no modules declared in this project.

wicket-fields - Wicket UI components

Quick start | Documentation | Demo webapp | Screenshots

Requirements

  • Wicket 8+
  • Java 8+
  • Jquery

Dependencies

Key Features

  • Includes various text, date, dropdown, multi-select, numeric, radio, and checkbox fields
  • Simple, consistent syntax based on the Builder pattern is used to instantiate any type of field
  • No HTML required, just add a placeholder tag, and the HTML is created for you
  • All field are easily customizable using .properties files. Supports multiple locals/environments.
  • Easily toggle fields from read-write to read-only
  • Optimized for Wicket page sizes by minimizing number of components created
  • Includes full sample webapp demonstrating usage of each field

Including from Maven

<dependency>
  <groupId>com.coderdreams</groupId>
  <artifactId>wicket-fields</artifactId>
  <version>1.0.0</version>
</dependency>

Quick start

// 1. In your WebApplication.init() method, initialize the WicketFieldsUI library
WicketFieldsUI.init(this);
// 2. Add the UiFieldsBehavior to your WebPage which will add all the neccessary resources
add(new UiFieldsBehavior());
// 3. Add the placeholder tag for your field in your .html file
<span wicket:id="userFirstName"></span>
// 4. Add the field to your WebPage
add(new TxtField<String>(FieldArgs.Builder.of("userFirstName", "First Name", LambdaModel.of(user::getFirstName, formData::setFirstName)).build()));
// 5. When you are done adding your fields, send the InitPanelFieldsEvent event to notify them to init themselves
send(this, Broadcast.BREADTH, new InitPanelFieldsEvent(null));

Screenshots

Alt text Alt text Alt text Alt text Alt text

Versions

Version
1.0.0