• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tutorial/Review of Wicket Online

 
David Heffelfinger
author
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A new Wicket tutorial/review is online at Ensode.net.

Feedback welcome.

Thanks,
David
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
David Heffelfinger
author
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
    Posts: 176
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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
    Posts: 176
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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
    Ranch Hand
    Posts: 15304
    6
    Chrome IntelliJ IDE Mac OS X
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Very cool David. Thanks.
     
    Tomek Kaczanowski
    author
    Ranch Hand
    Posts: 40
    IntelliJ IDE Java Linux
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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
    author
    Ranch Hand
    Posts: 40
    IntelliJ IDE Java Linux
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    LOL, one minute after writing the post above and I found it myself.



    ok, now it's clear
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic