On 5/31/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
Hi,

I just started to try Wickets. It' supposed to be so simple to use ! I
first discovered that the Helloworld example won't work. WebApplication
has no getPages() method, but has an abstract getHomePages() method that
needs to be implemented by the HelloWorldApplication class.

yes, the method has been removed. we have a migration document on the wiki. 1.2 is not a drop in replacement for 1.1. getpages() did not work anymore so it was not possible to deprecate it and still have it functioning. this has all been discussed at length on this list, do not think we make the decisions we do lightly. did you bother to take the time and search the list?
 
Obviously, the getPages() method has been removed. Not even deprecated.
Just removed between version 1.1 and 1.2. Hope nobody used it before :-(
Clearly, the tutorial is useless.

the tutorial was written for version 1.1, if you want to use tutorial use wicket 1.1 not 1.2
 

So I looked to the files in
wicket-examples-1.2 to see what needed to be changed. Sadly, I found
that 13 classes where needed to write "Hello World" on a web page. How
many html and other supporting files ?

actually the hello world example consists of two classes and one supporting html template - thats 3 total files.
HelloWorldApplication.java
HelloWorld.java
HelloWorld.html


Is this really serious ? Or did I miss something ?

thats for you to decide
 
if you have any questions feel free to ask them here

-Igor

Reply via email to