Create a gist now

Instantly share code, notes, and snippets.

require 'java'
java_package 'com.mycompany'
java_import org.apache.wicket.request.mapper.parameter.PageParameters
java_import org.apache.wicket.markup.html.basic.Label
java_import org.apache.wicket.markup.html.WebPage
class HomePage < Java::WebPage
serialVersionUID = '1L'
def initialize (parameters) {
super(parameters)
add(Label.new("something", "SOMETHING!"))
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment