wicket-examples changes required to work with 1.5 RC1
-----------------------------------------------------
Key: WICKET-3375
URL: https://issues.apache.org/jira/browse/WICKET-3375
Project: Wicket
Issue Type: Bug
Components: wicket-examples
Affects Versions: 1.5-RC1
Reporter: Chris Turchin
Priority: Minor
i am looking into wicket and tried to get wicket-examples to run with RC1 and
had to make the following changes:
+++ java/org/apache/wicket/examples/requestmapper/RequestMapperApplication.java
(working copy)
- mountResource("/print/${sheet}/${format}", new
MapperDemoResourceReference());
+ mountSharedResource("/print/${sheet}/${format}", new
MapperDemoResourceReference());
I also changed linkomatic/Home.java
- linkWithLabel.setBodyModel(Model.of("A link that provides its
body with Link.setBodyLabel(someModel)"));
+ linkWithLabel.setDefaultModel(Model.of("A link that provides
its body with Link.setBodyLabel(someModel)"));
though that did not work in the sample, but it did make it build. a number of
the samples still do not work, but at least the project runs now.
there are also a number of changes required to the web.xml and
applicationContext.xml to make it run (external deps to spring for some
samples) "out of the box" but they are not so critical i suspect.
at any rate, someone needs to look at the samples and get them up and running
with 1.5
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.