aspose file tools*
The moose likes Other Application Frameworks and the fly likes Tutorial/Review of Wicket Online Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Tutorial/Review of Wicket Online" Watch "Tutorial/Review of Wicket Online" New topic
Author

Tutorial/Review of Wicket Online

David Heffelfinger
author
Ranch Hand

Joined: Jul 08, 2004
Posts: 176
A new Wicket tutorial/review is online at Ensode.net.

Feedback welcome.

Thanks,
David


Author, <a href="http://www.packtpub.com/java-ee5-development-with-netbeans-6" target="_blank" rel="nofollow">Java EE 5 Development with NetBeans 6</a>
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Nice tutorial David. I've been keeping my eye on Wicket since 1.0 was released. It will be interesting to see what happens to it. An interesting note about Wicket is it would appear that more people are using it than Tapestry even though Tapestry has been around much longer and is much more stable.

As far as the tutorial, are you planning on writing anymore and would you take suggestions on what to write about?


GenRocket - Experts at Building Test Data
David Heffelfinger
author
Ranch Hand

Joined: Jul 08, 2004
Posts: 176
Originally posted by Gregg Bolinger:
Nice tutorial David. I've been keeping my eye on Wicket since 1.0 was released. It will be interesting to see what happens to it. An interesting note about Wicket is it would appear that more people are using it than Tapestry even though Tapestry has been around much longer and is much more stable.


I don't have any experience with Tapestry, but I think the reason Wicket
is becoming popular is because there are no XML configuration files (except
for the ubiquitous web.xml). It is nice to just create an HTML file,
write the accompanying java code, and test, without having to worry about
additional artifacts.


As far as the tutorial, are you planning on writing anymore and would you take suggestions on what to write about?


I'm always looking for ideas on what to write. Suggestions are welcome.

David
[ August 22, 2005: Message edited by: David Heffelfinger ]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

For a kind of part II of this tutorial, what I'd like to see is the dropdown choices and the check box items being retrieved from a database like they might be in the real world. To keep this simple, you don't have to query an actual database. Just insert static data into the java code where a database retrieval might happen. Also, seek out the best way to do this. If there are 5 different ways to go about it, pick the best one and just show that one.

If you have anymore links to wicket tutorials that are not on the wicket website, I'd love to know about them.

Thanks.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I'd also like to note a few things you left out.

  • Where do we put the HTML files? You mention you had problems with where to put the css file, but you didn't say where other resources should go. Note that the Wicket docs are elusive about this as well. I had to run the examples on my local PC and see where things were.
  • What URL do we go to to run the example once deployed?
  • What are the web.xml entries? You can get this from the wicket site, but it would have been nice to just see it on your tutorial.
  • Source code - it's a good idea to provide your working example as a download. I didn't see this.


  • I only say these things because I have written some tutorials in the past and I know what peopel slammed me on. So I know that you will take constructive critism well.
    [ August 22, 2005: Message edited by: Gregg Bolinger ]
    David Heffelfinger
    author
    Ranch Hand

    Joined: Jul 08, 2004
    Posts: 176
    Originally posted by Gregg Bolinger:
    I'd also like to note a few things you left out.

  • Where do we put the HTML files? You mention you had problems with where to put the css file, but you didn't say where other resources should go. Note that the Wicket docs are elusive about this as well. I had to run the examples on my local PC and see where things were.
  • What URL do we go to to run the example once deployed?
  • What are the web.xml entries? You can get this from the wicket site, but it would have been nice to just see it on your tutorial.
  • Source code - it's a good idea to provide your working example as a download. I didn't see this.


  • I only say these things because I have written some tutorials in the past and I know what peopel slammed me on. So I know that you will take constructive critism well.

    [ August 22, 2005: Message edited by: Gregg Bolinger ]


    Thanks for the feedback. I will add some of your suggestions shortly.

    David
    David Heffelfinger
    author
    Ranch Hand

    Joined: Jul 08, 2004
    Posts: 176
    Originally posted by Gregg Bolinger:
    I'd also like to note a few things you left out.

  • Where do we put the HTML files? You mention you had problems with where to put the css file, but you didn't say where other resources should go. Note that the Wicket docs are elusive about this as well. I had to run the examples on my local PC and see where things were.
  • What URL do we go to to run the example once deployed?
  • What are the web.xml entries? You can get this from the wicket site, but it would have been nice to just see it on your tutorial.
  • Source code - it's a good idea to provide your working example as a download. I didn't see this.


  • I only say these things because I have written some tutorials in the past and I know what peopel slammed me on. So I know that you will take constructive critism well.

    [ August 22, 2005: Message edited by: Gregg Bolinger ]

    Done, I think I got everything.

    There is a brief explanation on how to deploy and how to set up the web.xml on the first page.

    I added a zip file containing the source, HTML and ANT build file as a resource on page 4.

    David
    Gregg Bolinger
    GenRocket Founder
    Ranch Hand

    Joined: Jul 11, 2001
    Posts: 15299
        
        6

    Very cool David. Thanks.
    Tomek Kaczanowski
    author
    Ranch Hand

    Joined: Oct 26, 2005
    Posts: 40

    thanks for tutorial David !

    I've one wicket question. What happens when user clicks Submit button ?
    In html it says only: <form wicket:id="pizzaForm"> so how wicket knows that user should be redirected to another page ?
    I guess I'm still too Struts-oriented to understand this without your help.

    thanks
    Tomek Kaczanowski


    Tomek Kaczanowski
    Book author: Practical Unit Testing with TestNG and Mockito
    http://practicalunittesting.com
    Tomek Kaczanowski
    author
    Ranch Hand

    Joined: Oct 26, 2005
    Posts: 40

    LOL, one minute after writing the post above and I found it myself.



    ok, now it's clear
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Tutorial/Review of Wicket Online