WicketConsoleDemo

Wicket console for JDK6+

License

License

Categories

Categories

Wicket User Interface Web Frameworks
GroupId

GroupId

ru.ydn.wicket.wicket-console
ArtifactId

ArtifactId

wicket-console-demo
Last Version

Last Version

1.3
Release Date

Release Date

Type

Type

war
Description

Description

WicketConsoleDemo
Wicket console for JDK6+

Download wicket-console-demo

How to add to project

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

Dependencies

compile (5)

Group / Artifact Type Version
ru.ydn.wicket.wicket-console : wicket-console jar 1.3
org.apache.wicket : wicket-core jar 8.3.0
org.apache.wicket : wicket-devutils jar 8.3.0
org.slf4j : slf4j-log4j12 jar 1.7.21
log4j : log4j jar 1.2.17

provided (1)

Group / Artifact Type Version
org.eclipse.jetty.aggregate : jetty-all jar 9.4.12.v20180830

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

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