• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tutorial/Review of Wicket Online

 
author
Posts: 176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A new Wicket tutorial/review is online at Ensode.net.

Feedback welcome.

Thanks,
David
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Posts: 176
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
    Posts: 176
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
    Mac OS X IntelliJ IDE Chrome
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Very cool David. Thanks.
     
    author
    Posts: 40
    IntelliJ IDE Java Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
    Posts: 40
    IntelliJ IDE Java Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    LOL, one minute after writing the post above and I found it myself.



    ok, now it's clear
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic