wicket-console

Wicket console for JDK6+

License

License

Categories

Categories

Wicket User Interface Web Frameworks
GroupId

GroupId

ru.ydn.wicket.wicket-console
ArtifactId

ArtifactId

wicket-console
Last Version

Last Version

1.3
Release Date

Release Date

Type

Type

jar
Description

Description

wicket-console
Wicket console for JDK6+
Project URL

Project URL

http://maven.apache.org

Download wicket-console

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.wicket : wicket-core jar 8.3.0
org.apache.wicket : wicket-extensions jar 8.3.0

provided (2)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 3.1.0
org.apache.wicket : wicket-devutils jar 8.3.0

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