[
https://issues.apache.org/jira/browse/WICKET-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865704#action_12865704
]
Ralf Treuherz commented on WICKET-2859:
---------------------------------------
Ok, for you I explain it in detail - it was too hard to understand:
Please look at:
http://wicket.apache.org/exampleguestbook.html
And then scroll down the page to the example code to "GuestBook.java".
There the source code reads:
"
package wicket.examples.guestbook;
import java.util.Date;
import java.util.List;
import java.util.Vector;
import wicket.markup.html.WebPage;
import wicket.markup.html.basic.Label;
...
"
and so on. And ALL the imports for the wicket packages are WRONG !
It should be:
"
package wicket.examples.guestbook;
import java.util.Date;
import java.util.List;
import java.util.Vector;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
...
"
Hope you get it now. I'm still very upset about the poor quality of the
examples !
> Wrong package names in Examples
> -------------------------------
>
> Key: WICKET-2859
> URL: https://issues.apache.org/jira/browse/WICKET-2859
> Project: Wicket
> Issue Type: Bug
> Components: wicket-examples
> Affects Versions: 1.4.8
> Environment: Windows XP
> Reporter: Ralf Treuherz
>
> In almost all examples on the home page, the imports are wrong.
> It reads: "import wicket.xx.xx.xx" instead of "import
> org.apache.wicket.xx.xx.xx".
> Please fix this, as otherwise everybody who copies the source code from your
> examples page gets an error.
> In addition, the web.xml for the GuestBook example is not working at all.
> It is not necessary to add a servlet mapping for the GuestBookApplication, it
> works very well without one.
> The url-pattern is also misleading and does not match with the screenshot.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.