wicket-console-parent

Wicket console for JDK6+

License

License

Categories

Categories

Wicket User Interface Web Frameworks
GroupId

GroupId

ru.ydn.wicket.wicket-console
ArtifactId

ArtifactId

wicket-console-parent
Last Version

Last Version

1.3
Release Date

Release Date

Type

Type

pom
Description

Description

wicket-console-parent
Wicket console for JDK6+
Project URL

Project URL

https://github.com/PhantomYdn/wicket-console
Source Code Management

Source Code Management

https://github.com/PhantomYdn/wicket-console

Download wicket-console-parent

How to add to project

<!-- https://jarcasting.com/artifacts/ru.ydn.wicket.wicket-console/wicket-console-parent/ -->
<dependency>
    <groupId>ru.ydn.wicket.wicket-console</groupId>
    <artifactId>wicket-console-parent</artifactId>
    <version>1.3</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/ru.ydn.wicket.wicket-console/wicket-console-parent/
implementation 'ru.ydn.wicket.wicket-console:wicket-console-parent:1.3'
// https://jarcasting.com/artifacts/ru.ydn.wicket.wicket-console/wicket-console-parent/
implementation ("ru.ydn.wicket.wicket-console:wicket-console-parent:1.3")
'ru.ydn.wicket.wicket-console:wicket-console-parent:pom:1.3'
<dependency org="ru.ydn.wicket.wicket-console" name="wicket-console-parent" rev="1.3">
  <artifact name="wicket-console-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='ru.ydn.wicket.wicket-console', module='wicket-console-parent', version='1.3')
)
libraryDependencies += "ru.ydn.wicket.wicket-console" % "wicket-console-parent" % "1.3"
[ru.ydn.wicket.wicket-console/wicket-console-parent "1.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • wicket-console
  • wicket-console-demo

Build Status Coverage Status Dependency Status

wicket-console

Wicket Console for JVM 1.8+

Key features:

  1. Very small size (<35Kb)
  2. Ajax enabled
  3. Contextual
  • ScriptContext is stored on server side: you can write function and then call from subsequent commands
  1. Embeddedable into your wicket pages
  2. Available throught Wicket DebugBar panel
  • Dependency to wicket-devutils is optional
  1. Pluggable architecture for script engines: you can write your own!

Installation

To use wicket console library in your code add following into your pom.xml

		<dependency>
		      <groupId>ru.ydn.wicket.wicket-console</groupId>
		      <artifactId>wicket-console</artifactId>
		      <version>1.x</version>
		</dependency>

Then you should either enable Wicket DebugBar in your code.

public class MyPage extends WebPage {

	public MyPage(final PageParameters parameters) {
		super(parameters);
...
		add(new DebugBar("debugBar"));
    }
}

or you can add WicketConsolePanel on a required page

public class MyPage extends WebPage {

	public MyPage(final PageParameters parameters) {
		super(parameters);
...
    add(new WicketConsolePanel("console"));
    }
}

Demo

Build project:

cd wicket-console
mvn clean install

Run demo:

cd wicket-console-demo
mvn jetty:run

Then goto http://localhost:8080/

Examples

Print all properties of application

for(var p in org.apache.wicket.Application.get())
{
   println(p);
}

Math calculation

1+Math.sin(1)*2

Multiply last results by 2

$result*2

Versions

Version
1.3
1.2
1.1
1.0