Re: Twenty-Six Wicket Tricks Book

2013-02-22 Thread Sebastian Gaul
If somebody else wants to know it: He is not planning to finish his book.
In fact, he never really started writing it:
http://codeact.wordpress.com/coding/comment-page-1/#comment-85


2013/2/15 Ian Marshall ianmarshall...@gmail.com

 You could always visit the Coding: On Software Design Process section of
 Jonathan's blog (it's an excellent book, by the way) and ask him your
 question from there.

 Ian


 Sebastian Gaul wrote
  I cannot find anything related there. His blog started long after the
  book.
  Am 14.02.2013 14:51 schrieb Ian Marshall lt;

  IanMarshall.UK@

  gt;:
 
  Perhaps a good source of information is Jonathan's blog at:
 
 http://codeact.wordpress.com lt;http://codeact.wordpress.comgt;
 
  Ian
 
 
  Sebastian Gaul wrote
   Does anyone know what happened to the book Twenty-Six Wicket Tricks
   by Jonathan Locke? Some code looks very promising and I would like to
   read it. However, the code seems to be very old and I cannot find any
   way to purchase the book. Is the project still alive?
  
   http://code.google.com/p/twenty-six-wicket-tricks/
  
   -
   To unsubscribe, e-mail:
 
   users-unsubscribe@.apache
 
   For additional commands, e-mail:
 
   users-help@.apache
 
 
 
 
 
  --
  View this message in context:
 
 http://apache-wicket.1842946.n4.nabble.com/Twenty-Six-Wicket-Tricks-Book-tp4656357p4656367.html
  Sent from the Users forum mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail:

  users-unsubscribe@.apache

  For additional commands, e-mail:

  users-help@.apache

 
 





 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Twenty-Six-Wicket-Tricks-Book-tp4656357p4656414.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Twenty-Six Wicket Tricks Book

2013-02-15 Thread Sebastian Gaul
I cannot find anything related there. His blog started long after the book.
Am 14.02.2013 14:51 schrieb Ian Marshall ianmarshall...@gmail.com:

 Perhaps a good source of information is Jonathan's blog at:

http://codeact.wordpress.com http://codeact.wordpress.com

 Ian


 Sebastian Gaul wrote
  Does anyone know what happened to the book Twenty-Six Wicket Tricks
  by Jonathan Locke? Some code looks very promising and I would like to
  read it. However, the code seems to be very old and I cannot find any
  way to purchase the book. Is the project still alive?
 
  http://code.google.com/p/twenty-six-wicket-tricks/
 
  -
  To unsubscribe, e-mail:

  users-unsubscribe@.apache

  For additional commands, e-mail:

  users-help@.apache





 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Twenty-Six-Wicket-Tricks-Book-tp4656357p4656367.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Twenty-Six Wicket Tricks Book

2013-02-15 Thread Ian Marshall
You could always visit the Coding: On Software Design Process section of
Jonathan's blog (it's an excellent book, by the way) and ask him your
question from there.

Ian


Sebastian Gaul wrote
 I cannot find anything related there. His blog started long after the
 book.
 Am 14.02.2013 14:51 schrieb Ian Marshall lt;

 IanMarshall.UK@

 gt;:
 
 Perhaps a good source of information is Jonathan's blog at:

http://codeact.wordpress.com lt;http://codeact.wordpress.comgt;

 Ian


 Sebastian Gaul wrote
  Does anyone know what happened to the book Twenty-Six Wicket Tricks
  by Jonathan Locke? Some code looks very promising and I would like to
  read it. However, the code seems to be very old and I cannot find any
  way to purchase the book. Is the project still alive?
 
  http://code.google.com/p/twenty-six-wicket-tricks/
 
  -
  To unsubscribe, e-mail:

  users-unsubscribe@.apache

  For additional commands, e-mail:

  users-help@.apache





 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Twenty-Six-Wicket-Tricks-Book-tp4656357p4656367.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: 

 users-unsubscribe@.apache

 For additional commands, e-mail: 

 users-help@.apache








--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Twenty-Six-Wicket-Tricks-Book-tp4656357p4656414.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Twenty-Six Wicket Tricks Book

2013-02-14 Thread Sebastian Gaul
Does anyone know what happened to the book Twenty-Six Wicket Tricks
by Jonathan Locke? Some code looks very promising and I would like to
read it. However, the code seems to be very old and I cannot find any
way to purchase the book. Is the project still alive?

http://code.google.com/p/twenty-six-wicket-tricks/

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty-Six Wicket Tricks Book

2013-02-14 Thread Ian Marshall
Perhaps a good source of information is Jonathan's blog at:

   http://codeact.wordpress.com http://codeact.wordpress.com  

Ian


Sebastian Gaul wrote
 Does anyone know what happened to the book Twenty-Six Wicket Tricks
 by Jonathan Locke? Some code looks very promising and I would like to
 read it. However, the code seems to be very old and I cannot find any
 way to purchase the book. Is the project still alive?
 
 http://code.google.com/p/twenty-six-wicket-tricks/
 
 -
 To unsubscribe, e-mail: 

 users-unsubscribe@.apache

 For additional commands, e-mail: 

 users-help@.apache





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Twenty-Six-Wicket-Tricks-Book-tp4656357p4656367.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-29 Thread okrohne

Hi,

+1
yes, of course I will buy that book.

Oliver


Jonathan Locke wrote:
 
 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get it
 done). It does not cover any of the same ground as Wicket in Action (which
 you should buy if you have not already!), BTW. It's more of a companion to
 that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24713601.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-29 Thread Ralf Eichinger

Hi Jonathan,

 Wicket Tricks. Each trick in the book (lettered from A-Z)
demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component.

I would prefer to see
- Javascript component integration: especially YUI split, resizable pane
containing a panel in each pane or another split pane.
see: http://developer.yahoo.com/yui/examples/resize/grids_resize.html
- inmethod grid usage or (better if basic YUI is already integrated): YUI
datatable control
http://developer.yahoo.com/yui/examples/datatable/dt_complex.html
(resizabel columns, sorting, selection with cursors, ...!!!)

Would be a great step for Wicket also to have that mighty components!
-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24725019.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-29 Thread Vladimir K

Personally I would embed YUI splitter and jQuery layout only if their state
could survive page refresh. It does not seem they are capable for now. AFAIK
it is possible to use coockies to save the state of splitter or docked
panel.


Ralf Eichinger wrote:
 
 
 I would prefer to see
 - Javascript component integration: especially YUI split, resizable pane
 containing a panel in each pane or another split pane.
 see: http://developer.yahoo.com/yui/examples/resize/grids_resize.html
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24726444.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Vladimir K

+1
I will buy such trick


Erik van Oosten wrote:
 
 Jonathan Locke wrote:
  I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know
   
 Perhaps something about handling URLs. Like writing your own url coding 
 strategy and how to mount pages with URL that have some variable before 
 the fixed parts (like /{language}/products/{productid}).
 
 Regards,
 Erik.
 
 
 -- 
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24703581.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Mathias Nilsson

+1

I would buy the book.
-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24703709.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Vladimir K

ModalWindow (being a wicket cheat :) ) deserves a sole book of tricks. I'll
definitely author my own modal window unless someone fixes the original one.
-1 on including ModalWindow to the book.


egolan74 wrote:
 
 I can't wait for yet another great Wicket book.
 I will surly buy it.
 
 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small book by
 itself).
 Cool stuff with Ajax.
 
 
 Eyal Golan
 egola...@gmail.com
 
 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74
 
 P  Save a tree. Please don't print this e-mail unless it's really
 necessary
 
 
 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:
 

 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a companion
 to
 that book.

 Happy Holidays!

 Best,

   Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 
 -
 Eyal Golan
 egola...@gmail.com
 
 Visit: JVDrums 
 LinkedIn: LinkedIn 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24704037.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Jeremy Thomerson
Why create your own?  Submit a patch to fix what you see is wrong with
the current one.  Everyone wins.

--
Jeremy Thomerson
http://www.wickettraining.com




On Tue, Jul 28, 2009 at 12:20 PM, Vladimir Kkoval...@gmail.com wrote:

 ModalWindow (being a wicket cheat :) ) deserves a sole book of tricks. I'll
 definitely author my own modal window unless someone fixes the original one.
 -1 on including ModalWindow to the book.


 egolan74 wrote:

 I can't wait for yet another great Wicket book.
 I will surly buy it.

 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small book by
 itself).
 Cool stuff with Ajax.


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really
 necessary


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a companion
 to
 that book.

 Happy Holidays!

 Best,

       Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 Eyal Golan
 egola...@gmail.com

 Visit: JVDrums
 LinkedIn: LinkedIn


 --
 View this message in context: 
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24704037.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Vladimir K

Jeremy,

from my perspective ModalWindow is a mix of javascript widget that works in
non-wicket mode and an wicket wrapper that bridges js widget with wicket. It
is always created at the body level. That's why I said it's a cheat. Thus
are problems with form submitting when nested forms are used. Community
introduced a solution (a wrapping form that is threated as the root) to work
around the mismatch of ModalWindow structure. There is an issue registered
about that. But Matej keeps stating that we should put MW into a form. What
says that he is not aware what the problem is. And there are more problems
caused by the fact that the form element is created by javascript.

From the other hand I believe it is possible to write pure Wicket component
that would be as trice as simpler and won't suffer with problems with
request lifecycle. Probably I'm wrong and it is not worth turning the old
ModalWindow into pure Wicket component due to expensiveness of the effort
that would be spent to remain it compatible.

The same about tree components. The API is very difficult to comprehend.
Component does not work as I expect in dynamic context. But thankfully Sven
implemented different implementation that does what is expect and usable as
well as DataTable component. I believe forking and fixing the original
component would be much more expensive. After that so many people should
start complaining about that to convince core team that there is not just
one person who is experiencing problems. It is always difficult to
accomplish.


jthomerson wrote:
 
 Why create your own?  Submit a patch to fix what you see is wrong with
 the current one.  Everyone wins.
 
 --
 Jeremy Thomerson
 http://www.wickettraining.com
 
 
 
 
 On Tue, Jul 28, 2009 at 12:20 PM, Vladimir Kkoval...@gmail.com wrote:

 ModalWindow (being a wicket cheat :) ) deserves a sole book of tricks.
 I'll
 definitely author my own modal window unless someone fixes the original
 one.
 -1 on including ModalWindow to the book.


 egolan74 wrote:

 I can't wait for yet another great Wicket book.
 I will surly buy it.

 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small book by
 itself).
 Cool stuff with Ajax.


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really
 necessary


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would never
 do
 again (well, two things, if you include the JavaOne talk I'm working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there,
 please
 let me know. I'd also be interested in getting some idea how many
 people
 would be interested in this book (would provide some fuel for me to get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a companion
 to
 that book.

 Happy Holidays!

 Best,

       Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 Eyal Golan
 egola...@gmail.com

 Visit: JVDrums
 LinkedIn: LinkedIn


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24704037.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24705381.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Jeremy Thomerson
well thought out answer.  thanks.

--
Jeremy Thomerson
http://www.wickettraining.com




On Tue, Jul 28, 2009 at 1:31 PM, Vladimir Kkoval...@gmail.com wrote:

 Jeremy,

 from my perspective ModalWindow is a mix of javascript widget that works in
 non-wicket mode and an wicket wrapper that bridges js widget with wicket. It
 is always created at the body level. That's why I said it's a cheat. Thus
 are problems with form submitting when nested forms are used. Community
 introduced a solution (a wrapping form that is threated as the root) to work
 around the mismatch of ModalWindow structure. There is an issue registered
 about that. But Matej keeps stating that we should put MW into a form. What
 says that he is not aware what the problem is. And there are more problems
 caused by the fact that the form element is created by javascript.

 From the other hand I believe it is possible to write pure Wicket component
 that would be as trice as simpler and won't suffer with problems with
 request lifecycle. Probably I'm wrong and it is not worth turning the old
 ModalWindow into pure Wicket component due to expensiveness of the effort
 that would be spent to remain it compatible.

 The same about tree components. The API is very difficult to comprehend.
 Component does not work as I expect in dynamic context. But thankfully Sven
 implemented different implementation that does what is expect and usable as
 well as DataTable component. I believe forking and fixing the original
 component would be much more expensive. After that so many people should
 start complaining about that to convince core team that there is not just
 one person who is experiencing problems. It is always difficult to
 accomplish.


 jthomerson wrote:

 Why create your own?  Submit a patch to fix what you see is wrong with
 the current one.  Everyone wins.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Tue, Jul 28, 2009 at 12:20 PM, Vladimir Kkoval...@gmail.com wrote:

 ModalWindow (being a wicket cheat :) ) deserves a sole book of tricks.
 I'll
 definitely author my own modal window unless someone fixes the original
 one.
 -1 on including ModalWindow to the book.


 egolan74 wrote:

 I can't wait for yet another great Wicket book.
 I will surly buy it.

 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small book by
 itself).
 Cool stuff with Ajax.


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really
 necessary


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would never
 do
 again (well, two things, if you include the JavaOne talk I'm working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there,
 please
 let me know. I'd also be interested in getting some idea how many
 people
 would be interested in this book (would provide some fuel for me to get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a companion
 to
 that book.

 Happy Holidays!

 Best,

       Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 Eyal Golan
 egola...@gmail.com

 Visit: JVDrums
 LinkedIn: LinkedIn


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24704037.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24705381.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
On Tue, Jul 28, 2009 at 8:31 PM, Vladimir Kkoval...@gmail.com wrote:

 Jeremy,

 from my perspective ModalWindow is a mix of javascript widget that works in
 non-wicket mode and an wicket wrapper that bridges js widget with wicket. It
 is always created at the body level. That's why I said it's a cheat. Thus
 are problems with form submitting when nested forms are used.
There is a good reason why the modal window has to be created on body
level. That's the only reliable way to have element
with absolute position. If you create the DOM structure deeper you are
risking that a container has position:relative somewhere which will
essentially break it. Welcome to the wonderful world of CSS.

 Community
 introduced a solution (a wrapping form that is threated as the root) to work
 around the mismatch of ModalWindow structure. There is an issue registered
 about that. But Matej keeps stating that we should put MW into a form. What
 says that he is not aware what the problem is. And there are more problems
 caused by the fact that the form element is created by javascript.
Is it, really?

I've already explained why the DOM structure is created on root level.
If you have form component inside modal window, chances are that
wicket will (to support nested forms) render it as div. If this
happens it is no longer possible to serialize the form when doing an
ajax submit. That's why the actual modal window markup contains a real
form.

And this is why it is necessary to put a modal window inside a form if
you want to have form in modal window. What we should have done is to
put a wicket form inside the modal window panel itself (just to force
all forms in modal window content) to be rendered as nested. But for
some reason i thought that a simple mention in javadoc about putting
modal window to form would be sufficient. My bad.


 From the other hand I believe it is possible to write pure Wicket component
 that would be as trice as simpler and won't suffer with problems with
 request lifecycle. Probably I'm wrong and it is not worth turning the old
 ModalWindow into pure Wicket component due to expensiveness of the effort
 that would be spent to remain it compatible.
Would you mind specifying the actual problems with request
lifecycle? And how exactly would a pure wicket modal window look
like? No javascript?

 The same about tree components. The API is very difficult to comprehend.
 Component does not work as I expect in dynamic context. But thankfully Sven
 implemented different implementation that does what is expect and usable as
 well as DataTable component. I believe forking and fixing the original
 component would be much more expensive. After that so many people should
 start complaining about that to convince core team that there is not just
 one person who is experiencing problems. It is always difficult to
 accomplish.
I would like to have some clarification on this. What is so difficult
about the Wicket Tree API? (apart from the fact that it uses swing
TreeModel which seem to be too confusing for some people). What does
dynamic context mean? Assuming you have properly implemented
TreeModel that fires the proper notifications, wicket tree is capable
for updating itself on ajax request by only transmitting the changed
part to the clients. How much more dynamic can you get?

For next version we will probably ditch swing TreeModel for something
simpler but we will still need some kind of modal change notification.
Wicket tree has many objectives, simplicity is only one of them.
Having simple tree is nice as long as you don't have to refresh the
entire thing every time you expand a node or add a node child.

-Matej


 jthomerson wrote:

 Why create your own?  Submit a patch to fix what you see is wrong with
 the current one.  Everyone wins.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Tue, Jul 28, 2009 at 12:20 PM, Vladimir Kkoval...@gmail.com wrote:

 ModalWindow (being a wicket cheat :) ) deserves a sole book of tricks.
 I'll
 definitely author my own modal window unless someone fixes the original
 one.
 -1 on including ModalWindow to the book.


 egolan74 wrote:

 I can't wait for yet another great Wicket book.
 I will surly buy it.

 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small book by
 itself).
 Cool stuff with Ajax.


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really
 necessary


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would never
 do
 again (well, two things, if you include the JavaOne talk I'm working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Vladimir K
 is so difficult
 about the Wicket Tree API? (apart from the fact that it uses swing
 TreeModel which seem to be too confusing for some people). What does
 dynamic context mean? Assuming you have properly implemented
 TreeModel that fires the proper notifications, wicket tree is capable
 for updating itself on ajax request by only transmitting the changed
 part to the clients. How much more dynamic can you get?
 
 For next version we will probably ditch swing TreeModel for something
 simpler but we will still need some kind of modal change notification.
 Wicket tree has many objectives, simplicity is only one of them.
 Having simple tree is nice as long as you don't have to refresh the
 entire thing every time you expand a node or add a node child.
 
 -Matej


 jthomerson wrote:

 Why create your own?  Submit a patch to fix what you see is wrong with
 the current one.  Everyone wins.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Tue, Jul 28, 2009 at 12:20 PM, Vladimir Kkoval...@gmail.com wrote:

 ModalWindow (being a wicket cheat :) ) deserves a sole book of tricks.
 I'll
 definitely author my own modal window unless someone fixes the original
 one.
 -1 on including ModalWindow to the book.


 egolan74 wrote:

 I can't wait for yet another great Wicket book.
 I will surly buy it.

 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small book
 by
 itself).
 Cool stuff with Ajax.


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really
 necessary


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would
 never
 do
 again (well, two things, if you include the JavaOne talk I'm working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates
 something that people typically want to do and in the process builds
 a
 reusable and educational component. I've got 13 tricks coded up now
 and
 ideas for a handful more, but if there are any requests out there,
 please
 let me know. I'd also be interested in getting some idea how many
 people
 would be interested in this book (would provide some fuel for me to
 get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a
 companion
 to
 that book.

 Happy Holidays!

 Best,

       Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 Eyal Golan
 egola...@gmail.com

 Visit: JVDrums
 LinkedIn: LinkedIn


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24704037.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24705381.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24706784.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Vladimir K
 Wicket with JS libs (If it's not a topic for a small book
 by
 itself).
 Cool stuff with Ajax.


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really
 necessary


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would
 never
 do
 again (well, two things, if you include the JavaOne talk I'm working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates
 something that people typically want to do and in the process builds
 a
 reusable and educational component. I've got 13 tricks coded up now
 and
 ideas for a handful more, but if there are any requests out there,
 please
 let me know. I'd also be interested in getting some idea how many
 people
 would be interested in this book (would provide some fuel for me to
 get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a
 companion
 to
 that book.

 Happy Holidays!

 Best,

       Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 Eyal Golan
 egola...@gmail.com

 Visit: JVDrums
 LinkedIn: LinkedIn


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24704037.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24705381.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24706890.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
 believe it is possible to write pure Wicket
 component
 that would be as trice as simpler and won't suffer with problems with
 request lifecycle. Probably I'm wrong and it is not worth turning the old
 ModalWindow into pure Wicket component due to expensiveness of the effort
 that would be spent to remain it compatible.
 Would you mind specifying the actual problems with request
 lifecycle? And how exactly would a pure wicket modal window look
 like? No javascript?

 The same about tree components. The API is very difficult to comprehend.
 Component does not work as I expect in dynamic context. But thankfully
 Sven
 implemented different implementation that does what is expect and usable
 as
 well as DataTable component. I believe forking and fixing the original
 component would be much more expensive. After that so many people should
 start complaining about that to convince core team that there is not just
 one person who is experiencing problems. It is always difficult to
 accomplish.
 I would like to have some clarification on this. What is so difficult
 about the Wicket Tree API? (apart from the fact that it uses swing
 TreeModel which seem to be too confusing for some people). What does
 dynamic context mean? Assuming you have properly implemented
 TreeModel that fires the proper notifications, wicket tree is capable
 for updating itself on ajax request by only transmitting the changed
 part to the clients. How much more dynamic can you get?

 For next version we will probably ditch swing TreeModel for something
 simpler but we will still need some kind of modal change notification.
 Wicket tree has many objectives, simplicity is only one of them.
 Having simple tree is nice as long as you don't have to refresh the
 entire thing every time you expand a node or add a node child.

 -Matej


 jthomerson wrote:

 Why create your own?  Submit a patch to fix what you see is wrong with
 the current one.  Everyone wins.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Tue, Jul 28, 2009 at 12:20 PM, Vladimir Kkoval...@gmail.com wrote:

 ModalWindow (being a wicket cheat :) ) deserves a sole book of tricks.
 I'll
 definitely author my own modal window unless someone fixes the original
 one.
 -1 on including ModalWindow to the book.


 egolan74 wrote:

 I can't wait for yet another great Wicket book.
 I will surly buy it.

 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small book
 by
 itself).
 Cool stuff with Ajax.


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really
 necessary


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would
 never
 do
 again (well, two things, if you include the JavaOne talk I'm working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates
 something that people typically want to do and in the process builds
 a
 reusable and educational component. I've got 13 tricks coded up now
 and
 ideas for a handful more, but if there are any requests out there,
 please
 let me know. I'd also be interested in getting some idea how many
 people
 would be interested in this book (would provide some fuel for me to
 get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a
 companion
 to
 that book.

 Happy Holidays!

 Best,

       Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 Eyal Golan
 egola...@gmail.com

 Visit: JVDrums
 LinkedIn: LinkedIn


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24704037.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24705381.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Eelco Hillenius
On Tue, Jul 28, 2009 at 12:08 PM, Matej Knoppmatej.kn...@gmail.com wrote:

 I would like to have some clarification on this. What is so difficult
 about the Wicket Tree API? (apart from the fact that it uses swing
 TreeModel which seem to be too confusing for some people).

Confusing for some, easy for others (who maybe already have worked
with it in Swing) :-) Components like that get complex pretty quickly.
Look at what other frameworks deliver and see if you can use that
without a lot of hacking (if they provide a tree widget backed by a
model to start with, most probably just don't). But hey, the more
alternatives the merrier; in the end API design (and thus Wicket
widget design) involves a lot of subjective choices.

Eelco

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread David Chang

I would buy the book too. When will it be available? 

--- On Tue, 7/28/09, Mathias Nilsson wicket.program...@gmail.com wrote:

 From: Mathias Nilsson wicket.program...@gmail.com
 Subject: Re: Twenty Six Wicket Tricks
 To: users@wicket.apache.org
 Date: Tuesday, July 28, 2009, 1:02 PM
 
 +1
 
 I would buy the book.
 -- 
 View this message in context: 
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24703709.html
 Sent from the Wicket - User mailing list archive at
 Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 


  

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread David Chang


Why just 26 tricks?More please..! 

I feel the learning curve for Wicket is kind of tall and more tricks can 
definitely help new comers in terms of available practical tools and 
understanding masterful use of Wicket by gurus and ... and ...


--- On Tue, 7/28/09, David Chang david_q_zh...@yahoo.com wrote:

 From: David Chang david_q_zh...@yahoo.com
 Subject: Re: Twenty Six Wicket Tricks
 To: users@wicket.apache.org
 Date: Tuesday, July 28, 2009, 5:04 PM
 
 I would buy the book too. When will it be available? 
 
 --- On Tue, 7/28/09, Mathias Nilsson wicket.program...@gmail.com
 wrote:
 
  From: Mathias Nilsson wicket.program...@gmail.com
  Subject: Re: Twenty Six Wicket Tricks
  To: users@wicket.apache.org
  Date: Tuesday, July 28, 2009, 1:02 PM
  
  +1
  
  I would buy the book.
  -- 
  View this message in context: 
  http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24703709.html
  Sent from the Wicket - User mailing list archive at
  Nabble.com.
  
  
 
 -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
  
  
 
 
       
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Vladimir K
:

 Why create your own?  Submit a patch to fix what you see is wrong with
 the current one.  Everyone wins.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Tue, Jul 28, 2009 at 12:20 PM, Vladimir Kkoval...@gmail.com
 wrote:

 ModalWindow (being a wicket cheat :) ) deserves a sole book of
 tricks.
 I'll
 definitely author my own modal window unless someone fixes the
 original
 one.
 -1 on including ModalWindow to the book.


 egolan74 wrote:

 I can't wait for yet another great Wicket book.
 I will surly buy it.

 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small
 book
 by
 itself).
 Cool stuff with Ajax.


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really
 necessary


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would
 never
 do
 again (well, two things, if you include the JavaOne talk I'm
 working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates
 something that people typically want to do and in the process
 builds
 a
 reusable and educational component. I've got 13 tricks coded up now
 and
 ideas for a handful more, but if there are any requests out there,
 please
 let me know. I'd also be interested in getting some idea how many
 people
 would be interested in this book (would provide some fuel for me to
 get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a
 companion
 to
 that book.

 Happy Holidays!

 Best,

       Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 Eyal Golan
 egola...@gmail.com

 Visit: JVDrums
 LinkedIn: LinkedIn


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24704037.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24705381.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24706890.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24707953.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
 notification.
 Wicket tree has many objectives, simplicity is only one of them.
 Having simple tree is nice as long as you don't have to refresh the
 entire thing every time you expand a node or add a node child.

 -Matej


 jthomerson wrote:

 Why create your own?  Submit a patch to fix what you see is wrong with
 the current one.  Everyone wins.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Tue, Jul 28, 2009 at 12:20 PM, Vladimir Kkoval...@gmail.com
 wrote:

 ModalWindow (being a wicket cheat :) ) deserves a sole book of
 tricks.
 I'll
 definitely author my own modal window unless someone fixes the
 original
 one.
 -1 on including ModalWindow to the book.


 egolan74 wrote:

 I can't wait for yet another great Wicket book.
 I will surly buy it.

 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small
 book
 by
 itself).
 Cool stuff with Ajax.


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really
 necessary


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would
 never
 do
 again (well, two things, if you include the JavaOne talk I'm
 working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates
 something that people typically want to do and in the process
 builds
 a
 reusable and educational component. I've got 13 tricks coded up now
 and
 ideas for a handful more, but if there are any requests out there,
 please
 let me know. I'd also be interested in getting some idea how many
 people
 would be interested in this book (would provide some fuel for me to
 get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a
 companion
 to
 that book.

 Happy Holidays!

 Best,

       Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 Eyal Golan
 egola...@gmail.com

 Visit: JVDrums
 LinkedIn: LinkedIn


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24704037.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24705381.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24706890.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24707953.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Vladimir K


Matej Knopp-2 wrote:
 
 Modal Window is an ajax component. Submitting it with regular submit
 is not supported and it never was.
 

But I would like to have AjaxFallbackModalWindow that survives page refresh.
Why not author my own if the aims are different? Probably requirements we
have are far from being accepted as common.



 Again, modal window doesn't support regular submits (by design) so if
 you want to do file upload you'll have to use a hidden iframe or some
 other approach like that.
 

IMO, Iframe is not an approach it is a work around the limitation (made by
design) :)



 I just looked at jquery dialog example. The dialog is declared in
 markup but it is then reparented as top level DOM element. Same thing
 wicket modalwindow does.
 

What is especial in my case is that the page height is limited by the window
height and contains a srollable div within. Taking into account that the
browsers we support works well with fixed positioning and assuming that the
following excerpt works:



 Fixed positioning is a special case of absolute positioning. For fixed
 elements, the containing block is always taken to be the viewport of the
 browser window.
 

It seems to be pretty doable. But it needs investigation. I haven't tried
yet.



Anyway it is possible to do what the modal.js is doing by Wicket means and
don't have a component tree mismatch with DOM.
 
 Is it really? Mind sharing with me how?
 

In case if the position:fixed does not help I would subclass a Form and make
it a container of ModalWindows. Then by placing the
modal-window-container-form at the body level I would acquire a new
ModalWindow from the container. Does it make sense?

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24708596.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Vladimir K
 TreeModel that fires the proper notifications, wicket tree is capable
 for updating itself on ajax request by only transmitting the changed
 part to the clients. How much more dynamic can you get?

 For next version we will probably ditch swing TreeModel for something
 simpler but we will still need some kind of modal change notification.
 Wicket tree has many objectives, simplicity is only one of them.
 Having simple tree is nice as long as you don't have to refresh the
 entire thing every time you expand a node or add a node child.

 -Matej


 jthomerson wrote:

 Why create your own?  Submit a patch to fix what you see is wrong
 with
 the current one.  Everyone wins.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Tue, Jul 28, 2009 at 12:20 PM, Vladimir Kkoval...@gmail.com
 wrote:

 ModalWindow (being a wicket cheat :) ) deserves a sole book of
 tricks.
 I'll
 definitely author my own modal window unless someone fixes the
 original
 one.
 -1 on including ModalWindow to the book.


 egolan74 wrote:

 I can't wait for yet another great Wicket book.
 I will surly buy it.

 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small
 book
 by
 itself).
 Cool stuff with Ajax.


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really
 necessary


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would
 never
 do
 again (well, two things, if you include the JavaOne talk I'm
 working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates
 something that people typically want to do and in the process
 builds
 a
 reusable and educational component. I've got 13 tricks coded up
 now
 and
 ideas for a handful more, but if there are any requests out
 there,
 please
 let me know. I'd also be interested in getting some idea how many
 people
 would be interested in this book (would provide some fuel for me
 to
 get
 it
 done). It does not cover any of the same ground as Wicket in
 Action
 (which
 you should buy if you have not already!), BTW. It's more of a
 companion
 to
 that book.

 Happy Holidays!

 Best,

       Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 Eyal Golan
 egola...@gmail.com

 Visit: JVDrums
 LinkedIn: LinkedIn


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24704037.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24705381.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24706890.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24707953.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
On Tue, Jul 28, 2009 at 11:55 PM, Vladimir Kkoval...@gmail.com wrote:


 Matej Knopp-2 wrote:

 Modal Window is an ajax component. Submitting it with regular submit
 is not supported and it never was.


 But I would like to have AjaxFallbackModalWindow that survives page refresh.
 Why not author my own if the aims are different? Probably requirements we
 have are far from being accepted as common.
Of course you can. There's nothing wrong with that.



 Again, modal window doesn't support regular submits (by design) so if
 you want to do file upload you'll have to use a hidden iframe or some
 other approach like that.


 IMO, Iframe is not an approach it is a work around the limitation (made by
 design) :)
Yes. But from the beginning Modal Window was designed as Ajax Component.



 I just looked at jquery dialog example. The dialog is declared in
 markup but it is then reparented as top level DOM element. Same thing
 wicket modalwindow does.


 What is especial in my case is that the page height is limited by the window
 height and contains a srollable div within. Taking into account that the
 browsers we support works well with fixed positioning and assuming that the
 following excerpt works:



 Fixed positioning is a special case of absolute positioning. For fixed
 elements, the containing block is always taken to be the viewport of the
 browser window.
This is true. Unfortunately it doesn't apply to IE6 which doesn't
support position:fixed. Modal Window was written couple of years ago
when IE6 position was quite strong, however even now we can't afford
to ignore it. Unfortunately.


 It seems to be pretty doable. But it needs investigation. I haven't tried
 yet.
Position:fixed will work in your case if you can afford to ignore IE6.
But it's not something we can do in wicket extensions.



Anyway it is possible to do what the modal.js is doing by Wicket means and
don't have a component tree mismatch with DOM.

 Is it really? Mind sharing with me how?


 In case if the position:fixed does not help I would subclass a Form and make
 it a container of ModalWindows. Then by placing the
 modal-window-container-form at the body level I would acquire a new
 ModalWindow from the container. Does it make sense?

So the ModalWindow would have to be added to the container (which I
assume would have to be added to the page itself)? That's rather
limiting.

-Matej
 --
 View this message in context: 
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24708596.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread taha siddiqi
+1
26 Wicket Tricks or Wicket Cookbook or Wicket Recipes

(Whenever I am trying something new I always try a cookbook, It later
on acts as a reference too)

taha


On Wed, Jul 29, 2009 at 3:38 AM, Matej Knoppmatej.kn...@gmail.com wrote:
 On Tue, Jul 28, 2009 at 11:55 PM, Vladimir Kkoval...@gmail.com wrote:


 Matej Knopp-2 wrote:

 Modal Window is an ajax component. Submitting it with regular submit
 is not supported and it never was.


 But I would like to have AjaxFallbackModalWindow that survives page refresh.
 Why not author my own if the aims are different? Probably requirements we
 have are far from being accepted as common.
 Of course you can. There's nothing wrong with that.



 Again, modal window doesn't support regular submits (by design) so if
 you want to do file upload you'll have to use a hidden iframe or some
 other approach like that.


 IMO, Iframe is not an approach it is a work around the limitation (made by
 design) :)
 Yes. But from the beginning Modal Window was designed as Ajax Component.



 I just looked at jquery dialog example. The dialog is declared in
 markup but it is then reparented as top level DOM element. Same thing
 wicket modalwindow does.


 What is especial in my case is that the page height is limited by the window
 height and contains a srollable div within. Taking into account that the
 browsers we support works well with fixed positioning and assuming that the
 following excerpt works:



 Fixed positioning is a special case of absolute positioning. For fixed
 elements, the containing block is always taken to be the viewport of the
 browser window.
 This is true. Unfortunately it doesn't apply to IE6 which doesn't
 support position:fixed. Modal Window was written couple of years ago
 when IE6 position was quite strong, however even now we can't afford
 to ignore it. Unfortunately.


 It seems to be pretty doable. But it needs investigation. I haven't tried
 yet.
 Position:fixed will work in your case if you can afford to ignore IE6.
 But it's not something we can do in wicket extensions.



Anyway it is possible to do what the modal.js is doing by Wicket means and
don't have a component tree mismatch with DOM.

 Is it really? Mind sharing with me how?


 In case if the position:fixed does not help I would subclass a Form and make
 it a container of ModalWindows. Then by placing the
 modal-window-container-form at the body level I would acquire a new
 ModalWindow from the container. Does it make sense?

 So the ModalWindow would have to be added to the container (which I
 assume would have to be added to the page itself)? That's rather
 limiting.

 -Matej
 --
 View this message in context: 
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24708596.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-07-28 Thread Fernando Wermus
+1 Wicket Cookbook

On Tue, Jul 28, 2009 at 6:04 PM, taha siddiqi tawushaf...@gmail.com wrote:

 +1
 26 Wicket Tricks or Wicket Cookbook or Wicket Recipes

 (Whenever I am trying something new I always try a cookbook, It later
 on acts as a reference too)

 taha


 On Wed, Jul 29, 2009 at 3:38 AM, Matej Knoppmatej.kn...@gmail.com wrote:
  On Tue, Jul 28, 2009 at 11:55 PM, Vladimir Kkoval...@gmail.com wrote:
 
 
  Matej Knopp-2 wrote:
 
  Modal Window is an ajax component. Submitting it with regular submit
  is not supported and it never was.
 
 
  But I would like to have AjaxFallbackModalWindow that survives page
 refresh.
  Why not author my own if the aims are different? Probably requirements
 we
  have are far from being accepted as common.
  Of course you can. There's nothing wrong with that.
 
 
 
  Again, modal window doesn't support regular submits (by design) so if
  you want to do file upload you'll have to use a hidden iframe or some
  other approach like that.
 
 
  IMO, Iframe is not an approach it is a work around the limitation (made
 by
  design) :)
  Yes. But from the beginning Modal Window was designed as Ajax Component.
 
 
 
  I just looked at jquery dialog example. The dialog is declared in
  markup but it is then reparented as top level DOM element. Same thing
  wicket modalwindow does.
 
 
  What is especial in my case is that the page height is limited by the
 window
  height and contains a srollable div within. Taking into account that the
  browsers we support works well with fixed positioning and assuming that
 the
  following excerpt works:
 
 
 
  Fixed positioning is a special case of absolute positioning. For fixed
  elements, the containing block is always taken to be the viewport of
 the
  browser window.
  This is true. Unfortunately it doesn't apply to IE6 which doesn't
  support position:fixed. Modal Window was written couple of years ago
  when IE6 position was quite strong, however even now we can't afford
  to ignore it. Unfortunately.
 
 
  It seems to be pretty doable. But it needs investigation. I haven't
 tried
  yet.
  Position:fixed will work in your case if you can afford to ignore IE6.
  But it's not something we can do in wicket extensions.
 
 
 
 Anyway it is possible to do what the modal.js is doing by Wicket means
 and
 don't have a component tree mismatch with DOM.
 
  Is it really? Mind sharing with me how?
 
 
  In case if the position:fixed does not help I would subclass a Form and
 make
  it a container of ModalWindows. Then by placing the
  modal-window-container-form at the body level I would acquire a new
  ModalWindow from the container. Does it make sense?
 
  So the ModalWindow would have to be added to the container (which I
  assume would have to be added to the page itself)? That's rather
  limiting.
 
  -Matej
  --
  View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24708596.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus


Re: Twenty Six Wicket Tricks

2009-01-08 Thread Gwyn Evans
Not sure if it qualifies as enough of a topic, but would some form of
overview/comparison/when to use syummary of the various URL coding
strategies be worth considering?

/Gwyn

On Mon, Jan 5, 2009 at 8:37 AM, Jonathan Locke jonathan.lo...@gmail.com wrote:


 well, i got bored enough over the break to sink some hours into
 this and i'm liking what happened pretty well now. any other really
 ugly problems people want neat solutions to? ;-)


 Jonathan Locke wrote:


 yes.  this is a good one, but it might be too big for the book...
 although i've been pondering the possibility of something more
 general which is more in the neighborhood of arbitrarily-
 driven component factories (where property editors and
 bean editors are specializations).

 for property/bean editors you may want to take a look
 at will faler's wicket-rad which does this already.
 although i don't know if it's as ideal as it could be yet,
 i think he'd like some help with it seems open to working
 with people.

   jon


 walnutmon wrote:

 A component that takes some domain object, and for every property
 dynamically loads an appropriate form element.

 @Test
 {
 private class DomainObject{
 ListProperty1 prop1s;
 Boolean prop2;
 }
 panel = new DynamicPropertyPanel(new DomainObject());
 assertComponent(panel:form:formElement:0, DropDownChoice.class);
 assertComponent(panel:form:formElement:1, Checkbox.class);

 //test customization
 panel = new DynamicPropertyPanel(new DomainObject());
 panel.setProperty(prop1s, RadioGroup.class);
 assertComponent(panel:form:formElement:0, RadioGroup.class);
 assertComponent(panel:form:formElement:1, Checkbox.class);
 }

 My company would purchase several copies of the book if I recommended to
 do so; which I would.

 Jonathan Locke wrote:

 Well, over the break here I've started something I swore I would never
 do again (well, two things, if you include the JavaOne talk I'm working
 on). I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates something that people typically want to do and in the
 process builds a reusable and educational component. I've got 13 tricks
 coded up now and ideas for a handful more, but if there are any requests
 out there, please let me know. I'd also be interested in getting some
 idea how many people would be interested in this book (would provide
 some fuel for me to get it done). It does not cover any of the same
 ground as Wicket in Action (which you should buy if you have not
 already!), BTW. It's more of a companion to that book.

 Happy Holidays!

 Best,

Jonathan








 --
 View this message in context: 
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21287125.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-01-08 Thread Martin Makundi
Here's one good article:
http://talk-on-tech.blogspot.com/2008/12/wicket-neat-url-encoding-strategy-and.html

2009/1/8 Gwyn Evans gwyn.ev...@gmail.com:
 Not sure if it qualifies as enough of a topic, but would some form of
 overview/comparison/when to use syummary of the various URL coding
 strategies be worth considering?

 /Gwyn

 On Mon, Jan 5, 2009 at 8:37 AM, Jonathan Locke jonathan.lo...@gmail.com 
 wrote:


 well, i got bored enough over the break to sink some hours into
 this and i'm liking what happened pretty well now. any other really
 ugly problems people want neat solutions to? ;-)


 Jonathan Locke wrote:


 yes.  this is a good one, but it might be too big for the book...
 although i've been pondering the possibility of something more
 general which is more in the neighborhood of arbitrarily-
 driven component factories (where property editors and
 bean editors are specializations).

 for property/bean editors you may want to take a look
 at will faler's wicket-rad which does this already.
 although i don't know if it's as ideal as it could be yet,
 i think he'd like some help with it seems open to working
 with people.

   jon


 walnutmon wrote:

 A component that takes some domain object, and for every property
 dynamically loads an appropriate form element.

 @Test
 {
 private class DomainObject{
 ListProperty1 prop1s;
 Boolean prop2;
 }
 panel = new DynamicPropertyPanel(new DomainObject());
 assertComponent(panel:form:formElement:0, DropDownChoice.class);
 assertComponent(panel:form:formElement:1, Checkbox.class);

 //test customization
 panel = new DynamicPropertyPanel(new DomainObject());
 panel.setProperty(prop1s, RadioGroup.class);
 assertComponent(panel:form:formElement:0, RadioGroup.class);
 assertComponent(panel:form:formElement:1, Checkbox.class);
 }

 My company would purchase several copies of the book if I recommended to
 do so; which I would.

 Jonathan Locke wrote:

 Well, over the break here I've started something I swore I would never
 do again (well, two things, if you include the JavaOne talk I'm working
 on). I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates something that people typically want to do and in the
 process builds a reusable and educational component. I've got 13 tricks
 coded up now and ideas for a handful more, but if there are any requests
 out there, please let me know. I'd also be interested in getting some
 idea how many people would be interested in this book (would provide
 some fuel for me to get it done). It does not cover any of the same
 ground as Wicket in Action (which you should buy if you have not
 already!), BTW. It's more of a companion to that book.

 Happy Holidays!

 Best,

Jonathan








 --
 View this message in context: 
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21287125.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-01-08 Thread Jonathan Locke


thanks. will think about it.


Gwyn wrote:
 
 Not sure if it qualifies as enough of a topic, but would some form of
 overview/comparison/when to use syummary of the various URL coding
 strategies be worth considering?
 
 /Gwyn
 
 On Mon, Jan 5, 2009 at 8:37 AM, Jonathan Locke jonathan.lo...@gmail.com
 wrote:


 well, i got bored enough over the break to sink some hours into
 this and i'm liking what happened pretty well now. any other really
 ugly problems people want neat solutions to? ;-)


 Jonathan Locke wrote:


 yes.  this is a good one, but it might be too big for the book...
 although i've been pondering the possibility of something more
 general which is more in the neighborhood of arbitrarily-
 driven component factories (where property editors and
 bean editors are specializations).

 for property/bean editors you may want to take a look
 at will faler's wicket-rad which does this already.
 although i don't know if it's as ideal as it could be yet,
 i think he'd like some help with it seems open to working
 with people.

   jon


 walnutmon wrote:

 A component that takes some domain object, and for every property
 dynamically loads an appropriate form element.

 @Test
 {
 private class DomainObject{
 ListProperty1 prop1s;
 Boolean prop2;
 }
 panel = new DynamicPropertyPanel(new DomainObject());
 assertComponent(panel:form:formElement:0, DropDownChoice.class);
 assertComponent(panel:form:formElement:1, Checkbox.class);

 //test customization
 panel = new DynamicPropertyPanel(new DomainObject());
 panel.setProperty(prop1s, RadioGroup.class);
 assertComponent(panel:form:formElement:0, RadioGroup.class);
 assertComponent(panel:form:formElement:1, Checkbox.class);
 }

 My company would purchase several copies of the book if I recommended
 to
 do so; which I would.

 Jonathan Locke wrote:

 Well, over the break here I've started something I swore I would never
 do again (well, two things, if you include the JavaOne talk I'm
 working
 on). I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates something that people typically want to do and in the
 process builds a reusable and educational component. I've got 13
 tricks
 coded up now and ideas for a handful more, but if there are any
 requests
 out there, please let me know. I'd also be interested in getting some
 idea how many people would be interested in this book (would provide
 some fuel for me to get it done). It does not cover any of the same
 ground as Wicket in Action (which you should buy if you have not
 already!), BTW. It's more of a companion to that book.

 Happy Holidays!

 Best,

Jonathan








 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21287125.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21355450.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-01-05 Thread Jonathan Locke


well, i got bored enough over the break to sink some hours into
this and i'm liking what happened pretty well now. any other really 
ugly problems people want neat solutions to? ;-)


Jonathan Locke wrote:
 
 
 yes.  this is a good one, but it might be too big for the book...
 although i've been pondering the possibility of something more 
 general which is more in the neighborhood of arbitrarily-
 driven component factories (where property editors and
 bean editors are specializations).
 
 for property/bean editors you may want to take a look 
 at will faler's wicket-rad which does this already. 
 although i don't know if it's as ideal as it could be yet, 
 i think he'd like some help with it seems open to working 
 with people.
 
   jon
 
 
 walnutmon wrote:
 
 A component that takes some domain object, and for every property
 dynamically loads an appropriate form element.
 
 @Test
 {
 private class DomainObject{
 ListProperty1 prop1s;
 Boolean prop2;
 }
 panel = new DynamicPropertyPanel(new DomainObject());
 assertComponent(panel:form:formElement:0, DropDownChoice.class);
 assertComponent(panel:form:formElement:1, Checkbox.class);
 
 //test customization
 panel = new DynamicPropertyPanel(new DomainObject());
 panel.setProperty(prop1s, RadioGroup.class);
 assertComponent(panel:form:formElement:0, RadioGroup.class);
 assertComponent(panel:form:formElement:1, Checkbox.class);
 }
 
 My company would purchase several copies of the book if I recommended to
 do so; which I would.  
 
 Jonathan Locke wrote:
 
 Well, over the break here I've started something I swore I would never
 do again (well, two things, if you include the JavaOne talk I'm working
 on). I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates something that people typically want to do and in the
 process builds a reusable and educational component. I've got 13 tricks
 coded up now and ideas for a handful more, but if there are any requests
 out there, please let me know. I'd also be interested in getting some
 idea how many people would be interested in this book (would provide
 some fuel for me to get it done). It does not cover any of the same
 ground as Wicket in Action (which you should buy if you have not
 already!), BTW. It's more of a companion to that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21287125.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-01-05 Thread Jeremy Thomerson
Yeah - the problem of eagerly anticipating a book, yet knowing that it will
be many months before the Amazon package arrives at your door.

Solution to that?

On Mon, Jan 5, 2009 at 2:37 AM, Jonathan Locke jonathan.lo...@gmail.comwrote:



 well, i got bored enough over the break to sink some hours into
 this and i'm liking what happened pretty well now. any other really
 ugly problems people want neat solutions to? ;-)


 Jonathan Locke wrote:
 
 
  yes.  this is a good one, but it might be too big for the book...
  although i've been pondering the possibility of something more
  general which is more in the neighborhood of arbitrarily-
  driven component factories (where property editors and
  bean editors are specializations).
 
  for property/bean editors you may want to take a look
  at will faler's wicket-rad which does this already.
  although i don't know if it's as ideal as it could be yet,
  i think he'd like some help with it seems open to working
  with people.
 
jon
 
 
  walnutmon wrote:
 
  A component that takes some domain object, and for every property
  dynamically loads an appropriate form element.
 
  @Test
  {
  private class DomainObject{
  ListProperty1 prop1s;
  Boolean prop2;
  }
  panel = new DynamicPropertyPanel(new DomainObject());
  assertComponent(panel:form:formElement:0, DropDownChoice.class);
  assertComponent(panel:form:formElement:1, Checkbox.class);
 
  //test customization
  panel = new DynamicPropertyPanel(new DomainObject());
  panel.setProperty(prop1s, RadioGroup.class);
  assertComponent(panel:form:formElement:0, RadioGroup.class);
  assertComponent(panel:form:formElement:1, Checkbox.class);
  }
 
  My company would purchase several copies of the book if I recommended to
  do so; which I would.
 
  Jonathan Locke wrote:
 
  Well, over the break here I've started something I swore I would never
  do again (well, two things, if you include the JavaOne talk I'm working
  on). I'm writing a (hopefully relatively short) book. It's called
  Twenty-Six Wicket Tricks. Each trick in the book (lettered from A-Z)
  demonstrates something that people typically want to do and in the
  process builds a reusable and educational component. I've got 13 tricks
  coded up now and ideas for a handful more, but if there are any
 requests
  out there, please let me know. I'd also be interested in getting some
  idea how many people would be interested in this book (would provide
  some fuel for me to get it done). It does not cover any of the same
  ground as Wicket in Action (which you should buy if you have not
  already!), BTW. It's more of a companion to that book.
 
  Happy Holidays!
 
  Best,
 
 Jonathan
 
 
 
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21287125.html
  Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Jeremy Thomerson
http://www.wickettraining.com


Re: Twenty Six Wicket Tricks

2009-01-04 Thread ZedroS



Jonathan Locke wrote:
 
 yeah. good one.
 

oh oh... so I'll have to buy this book ;)

lol

bye

zedros

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21280822.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-01-02 Thread Jawad Kakar
Just got Wicket in Action, It is really a very good book
Thanks
Jawad

--- On Fri, 1/2/09, walnutmon justin.m.boy...@gmail.com wrote:

 From: walnutmon justin.m.boy...@gmail.com
 Subject: Re: Twenty Six Wicket Tricks
 To: users@wicket.apache.org
 Date: Friday, January 2, 2009, 1:16 AM
 A component that takes some domain object, and for every
 property dynamically
 loads an appropriate form element.
 
 @Test
 {
 private class DomainObject{
 ListProperty1 prop1s;
 Boolean prop2;
 }
 panel = new DynamicPropertyPanel(new DomainObject());
 assertComponent(panel:form:formElement:0,
 DropDownChoice.class);
 assertComponent(panel:form:formElement:1,
 Checkbox.class);
 
 //test customization
 panel = new DynamicPropertyPanel(new DomainObject());
 panel.setProperty(prop1s,
 RadioGroup.class);
 assertComponent(panel:form:formElement:0,
 RadioGroup.class);
 assertComponent(panel:form:formElement:1,
 Checkbox.class);
 }
 
 My company would purchase several copies of the book if I
 recommended to do
 so; which I would.  
 
 Jonathan Locke wrote:
  
  Well, over the break here I've started something I
 swore I would never do
  again (well, two things, if you include the JavaOne
 talk I'm working on).
  I'm writing a (hopefully relatively short) book.
 It's called Twenty-Six
  Wicket Tricks. Each trick in the book (lettered
 from A-Z) demonstrates
  something that people typically want to do and in the
 process builds a
  reusable and educational component. I've got 13
 tricks coded up now and
  ideas for a handful more, but if there are any
 requests out there, please
  let me know. I'd also be interested in getting
 some idea how many people
  would be interested in this book (would provide some
 fuel for me to get it
  done). It does not cover any of the same ground as
 Wicket in Action (which
  you should buy if you have not already!), BTW.
 It's more of a companion to
  that book.
  
  Happy Holidays!
  
  Best,
  
 Jonathan
  
  
  
 
 -- 
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21246830.html
 Sent from the Wicket - User mailing list archive at
 Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail:
 users-h...@wicket.apache.org


  

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2009-01-01 Thread walnutmon

A component that takes some domain object, and for every property dynamically
loads an appropriate form element.

@Test
{
private class DomainObject{
ListProperty1 prop1s;
Boolean prop2;
}
panel = new DynamicPropertyPanel(new DomainObject());
assertComponent(panel:form:formElement:0, DropDownChoice.class);
assertComponent(panel:form:formElement:1, Checkbox.class);

//test customization
panel = new DynamicPropertyPanel(new DomainObject());
panel.setProperty(prop1s, RadioGroup.class);
assertComponent(panel:form:formElement:0, RadioGroup.class);
assertComponent(panel:form:formElement:1, Checkbox.class);
}

My company would purchase several copies of the book if I recommended to do
so; which I would.  

Jonathan Locke wrote:
 
 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get it
 done). It does not cover any of the same ground as Wicket in Action (which
 you should buy if you have not already!), BTW. It's more of a companion to
 that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21246830.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-31 Thread dtoffe

It would be nice to see examples of complex components with values that
depend on other values from the same component.
As an example, I've recently build a tab panel, each tab contains a
table of items each one with unit price and quantity, and the tab's Subtotal
below the table. The whole tabpanel has a Total below it. When you enter a
quantity for an item, his unitprice * quentity in the same row has to be
updated, and also the Subtotal price for that tab and the Total price.
Getting the Total of the whole component working was a bit tricky, and
trying to think all that in terms of a reusable component was a bit tricky
also.

Happy new year !

Daniel



Jonathan Locke wrote:
 
 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get it
 done). It does not cover any of the same ground as Wicket in Action (which
 you should buy if you have not already!), BTW. It's more of a companion to
 that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21230921.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-31 Thread ZedroS

Hi !

Good idea :) 

Personally, intra components communication is something I would be keen to
read more about  : what are the pro and cons of the various ways of letting
various components know about other components states/model changes ? I
found some interesting blogs entry about this topic but an extensive review
would be welcome.

Happy new year

Best,
ZedroS


-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21238924.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-31 Thread Jonathan Locke

yeah. good one.


ZedroS wrote:
 
 Hi !
 
 Good idea :) 
 
 Personally, intra components communication is something I would be keen to
 read more about  : what are the pro and cons of the various ways of
 letting various components know about other components states/model
 changes ? I found some interesting blogs entry about this topic but an
 extensive review would be welcome.
 
 Happy new year
 
 Best,
 ZedroS
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21239057.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Twenty Six Wicket Tricks

2008-12-30 Thread Jonathan Locke

Well, over the break here I've started something I swore I would never do
again (well, two things, if you include the JavaOne talk I'm working on).
I'm writing a (hopefully relatively short) book. It's called Twenty-Six
Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
something that people typically want to do and in the process builds a
reusable and educational component. I've got 13 tricks coded up now and
ideas for a handful more, but if there are any requests out there, please
let me know. I'd also be interested in getting some idea how many people
would be interested in this book (would provide some fuel for me to get it
done). It does not cover any of the same ground as Wicket in Action (which
you should buy if you have not already!), BTW. It's more of a companion to
that book.

Happy Holidays!

Best,

   Jonathan


-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Dipu
i will surely buy a copy

Dipu

On Tue, Dec 30, 2008 at 8:32 AM, Jonathan Locke
jonathan.lo...@gmail.com wrote:

 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get it
 done). It does not cover any of the same ground as Wicket in Action (which
 you should buy if you have not already!), BTW. It's more of a companion to
 that book.

 Happy Holidays!

 Best,

   Jonathan


 --
 View this message in context: 
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Casper Bang

Sounds interesting, although it would be nice if you could mention a trick or
two such as to provide us with a little more info. I'm guessing its
different from what you'd find in the wiki?!

Casper



Jonathan Locke wrote:
 
 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get it
 done). It does not cover any of the same ground as Wicket in Action (which
 you should buy if you have not already!), BTW. It's more of a companion to
 that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214772.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Nino Martinez

Interesting, what kind of topics will it cover?


Jonathan Locke wrote:

Well, over the break here I've started something I swore I would never do
again (well, two things, if you include the JavaOne talk I'm working on).
I'm writing a (hopefully relatively short) book. It's called Twenty-Six
Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
something that people typically want to do and in the process builds a
reusable and educational component. I've got 13 tricks coded up now and
ideas for a handful more, but if there are any requests out there, please
let me know. I'd also be interested in getting some idea how many people
would be interested in this book (would provide some fuel for me to get it
done). It does not cover any of the same ground as Wicket in Action (which
you should buy if you have not already!), BTW. It's more of a companion to
that book.

Happy Holidays!

Best,

   Jonathan


  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread jWeekend

Jonathan,

We're finally starting work on a more advanced jWeekend Wicket
course/workshop to complement our existing Wicket training so we would
certainly look into buying several copies of such a book. 

Our Wicket courses have been running for 18 months and for much of that time
we have been buying Martijn  Eelco's  http://manning.com/dashorst Wicket In
Action  (since the WiA MEAPs) as gifts for most attendees and also
occasionally for our  http://jweekend.co.uk/dev/LWUGReg/ London Wicket Event 
delegates (next event on Feb 4, BTW - registration page/details coming
soon). 
Once we've reviewed the contents, we would certainly consider buying
licences for the PDF of your new book for students attending our Wicket
training. 

If you need reviewers, I am sure we can help with that here, and can no
doubt also get some meaningful feedback to you from our more advanced London
Wicket Event delegates if you like.

Regards - Cemal
http://www.jWeekend.co.uk jWeekend 

PS  Is your JavaOne talk on Wicket?
 

Jonathan Locke wrote:
 
 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get it
 done). It does not cover any of the same ground as Wicket in Action (which
 you should buy if you have not already!), BTW. It's more of a companion to
 that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21215322.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Eyal Golan
I can't wait for yet another great Wicket book.
I will surly buy it.

regarding tricks,
using Modal window can be nice.
Integrating Wicket with JS libs (If it's not a topic for a small book by
itself).
Cool stuff with Ajax.


Eyal Golan
egola...@gmail.com

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74

P  Save a tree. Please don't print this e-mail unless it's really necessary


On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get it
 done). It does not cover any of the same ground as Wicket in Action (which
 you should buy if you have not already!), BTW. It's more of a companion to
 that book.

 Happy Holidays!

 Best,

   Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Twenty Six Wicket Tricks

2008-12-30 Thread Martin Grigorov
Does it have to be a book ?

I do really like Igor's series at wicketinaction.com.

Pros: the community feedback as comments.
Cons: it is not profitable.


El mar, 30-12-2008 a las 00:32 -0800, Jonathan Locke escribió:
 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get it
 done). It does not cover any of the same ground as Wicket in Action (which
 you should buy if you have not already!), BTW. It's more of a companion to
 that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Jonathan Locke


Thanks, I appreciate the offer to review. I will get back to you in some
number of weeks. ;-)

Yeah, the JavaOne talk I submitted is indeed on Wicket.

Jon


jWeekend wrote:
 
 Jonathan,
 
 We're finally starting work on a more advanced jWeekend Wicket
 course/workshop to complement our existing Wicket training so we would
 certainly look into buying several copies of such a book. 
 
 Our Wicket courses have been running for 18 months and for much of that
 time we have been buying Martijn  Eelco's  http://manning.com/dashorst
 Wicket In Action  (since the WiA MEAPs) as gifts for most attendees and
 also occasionally for our  http://jweekend.co.uk/dev/LWUGReg/ London
 Wicket Event  delegates (next event on Feb 4, BTW - registration
 page/details coming soon). 
 Once we've reviewed the contents, we would certainly consider buying
 licences for the PDF of your new book for students attending our Wicket
 training. 
 
 If you need reviewers, I am sure we can help with that here, and can no
 doubt also get some meaningful feedback to you from our more advanced
 London Wicket Event delegates if you like.
 
 Regards - Cemal
  http://www.jWeekend.co.uk jWeekend 
 
 PS  Is your JavaOne talk on Wicket?
  
 
 Jonathan Locke wrote:
 
 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get
 it done). It does not cover any of the same ground as Wicket in Action
 (which you should buy if you have not already!), BTW. It's more of a
 companion to that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21218934.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Jonathan Locke


I've already got a bit of most of that in there. Thanks.


egolan74 wrote:
 
 I can't wait for yet another great Wicket book.
 I will surly buy it.
 
 regarding tricks,
 using Modal window can be nice.
 Integrating Wicket with JS libs (If it's not a topic for a small book by
 itself).
 Cool stuff with Ajax.
 
 
 Eyal Golan
 egola...@gmail.com
 
 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74
 
 P  Save a tree. Please don't print this e-mail unless it's really
 necessary
 
 
 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:
 

 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a companion
 to
 that book.

 Happy Holidays!

 Best,

   Jonathan


 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21214357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 
 -
 Eyal Golan
 egola...@gmail.com
 
 Visit: JVDrums 
 LinkedIn: LinkedIn 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21218958.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Jonathan Locke


i like those too. and i hope people keep blogging about 
wicket like that. it's nice to get the gist of how to do
something that way and boost WIA in the process.

however, the quality bar of chapters in twenty-six tricks
will be higher and my goals for each trick are (i hope) 
considerably more rigorous and educational than a blog 
entry. they are:

(1) to present a fully reusable, high-quality component 
suitable for including in your application directly and with 
no changes (i'm generally designing these tricks for 
reuse and extension)

(2) to cohesively demonstrate and detail through discussion
a range of design choices and patterns in the process 
(probably the more valuable part, as you will (hopefully) 
understand not only what it is that i've done, but why it's
been done that way and not some other way). 

(3) to reuse tricks in building new tricks

if it's mainly cost you are worried about, i haven't chosen 
a price yet, but it will obviously be less than WIA. 

and if you want to give feedback, i will need some reviewers 
and you're welcome to be one, although be warned that i'm 
not looking for casual feedback since this is a book project
and not a blog. i'd want thorough and detailed comments 
on the code and text for several (say 5) chapters (which will 
take you hours, not minutes). in return for their work, 
each reviewer gets a free copy of the book.

  jon


martin-g wrote:
 
 Does it have to be a book ?
 
 I do really like Igor's series at wicketinaction.com.
 
 Pros: the community feedback as comments.
 Cons: it is not profitable.
 
 
 El mar, 30-12-2008 a las 00:32 -0800, Jonathan Locke escribió:
 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a companion
 to
 that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21219849.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Twenty Six Wicket Tricks

2008-12-30 Thread Dane Laverty
I think that sounds like a wonderful idea. I've enjoyed WIA (as much as I've 
read so far) and would certainly purchase a follow-up book of Wicket tricks.

Dane

-Original Message-
From: Jonathan Locke [mailto:jonathan.lo...@gmail.com] 
Sent: Tuesday, December 30, 2008 8:56 AM
To: users@wicket.apache.org
Subject: Re: Twenty Six Wicket Tricks



i like those too. and i hope people keep blogging about 
wicket like that. it's nice to get the gist of how to do
something that way and boost WIA in the process.

however, the quality bar of chapters in twenty-six tricks
will be higher and my goals for each trick are (i hope) 
considerably more rigorous and educational than a blog 
entry. they are:

(1) to present a fully reusable, high-quality component 
suitable for including in your application directly and with 
no changes (i'm generally designing these tricks for 
reuse and extension)

(2) to cohesively demonstrate and detail through discussion
a range of design choices and patterns in the process 
(probably the more valuable part, as you will (hopefully) 
understand not only what it is that i've done, but why it's
been done that way and not some other way). 

(3) to reuse tricks in building new tricks

if it's mainly cost you are worried about, i haven't chosen 
a price yet, but it will obviously be less than WIA. 

and if you want to give feedback, i will need some reviewers 
and you're welcome to be one, although be warned that i'm 
not looking for casual feedback since this is a book project
and not a blog. i'd want thorough and detailed comments 
on the code and text for several (say 5) chapters (which will 
take you hours, not minutes). in return for their work, 
each reviewer gets a free copy of the book.

  jon


martin-g wrote:
 
 Does it have to be a book ?
 
 I do really like Igor's series at wicketinaction.com.
 
 Pros: the community feedback as comments.
 Cons: it is not profitable.
 
 
 El mar, 30-12-2008 a las 00:32 -0800, Jonathan Locke escribió:
 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a companion
 to
 that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21219849.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Scott Swank
Jonathan,

I think that Wicket is missing a solid overview of the below form
components, how they differ, how they overlap, and when to use each.

Check, Checkbox, CheckGroup, CheckGroupSelector
DropDownChoice (there are 3 wiki pages, but I'd like to draw out the
overlap with RadioChoice and the role of IChoiceRenderer)
Radio, RadioChoice, RadioGroup

And of course: IChoiceRenderer.

For example, I really don't know whether my above list is missing any
components.

If such a topic is not in the works for your book, I'll volunteer to
put together a first pass at such a wiki page.

Cheers,
Scott


 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would never do
 again (well, two things, if you include the JavaOne talk I'm working on).
 I'm writing a (hopefully relatively short) book. It's called Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there, please
 let me know. I'd also be interested in getting some idea how many people
 would be interested in this book (would provide some fuel for me to get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a companion
 to
 that book.

 Happy Holidays!

 Best,

   Jonathan

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread svenmeier

I'd like to review your Wicket tricks too.

Regards

Sven


Jonathan Locke wrote:
 
 
 Thanks, I appreciate the offer to review. I will get back to you in some
 number of weeks. ;-)
 
 Yeah, the JavaOne talk I submitted is indeed on Wicket.
 
 Jon
 
 
 jWeekend wrote:
 
 Jonathan,
 
 We're finally starting work on a more advanced jWeekend Wicket
 course/workshop to complement our existing Wicket training so we would
 certainly look into buying several copies of such a book. 
 
 Our Wicket courses have been running for 18 months and for much of that
 time we have been buying Martijn  Eelco's  http://manning.com/dashorst
 Wicket In Action  (since the WiA MEAPs) as gifts for most attendees and
 also occasionally for our  http://jweekend.co.uk/dev/LWUGReg/ London
 Wicket Event  delegates (next event on Feb 4, BTW - registration
 page/details coming soon). 
 Once we've reviewed the contents, we would certainly consider buying
 licences for the PDF of your new book for students attending our Wicket
 training. 
 
 If you need reviewers, I am sure we can help with that here, and can no
 doubt also get some meaningful feedback to you from our more advanced
 London Wicket Event delegates if you like.
 
 Regards - Cemal
  http://www.jWeekend.co.uk jWeekend 
 
 PS  Is your JavaOne talk on Wicket?
  
 
 Jonathan Locke wrote:
 
 Well, over the break here I've started something I swore I would never
 do again (well, two things, if you include the JavaOne talk I'm working
 on). I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six Wicket Tricks. Each trick in the book (lettered from A-Z)
 demonstrates something that people typically want to do and in the
 process builds a reusable and educational component. I've got 13 tricks
 coded up now and ideas for a handful more, but if there are any requests
 out there, please let me know. I'd also be interested in getting some
 idea how many people would be interested in this book (would provide
 some fuel for me to get it done). It does not cover any of the same
 ground as Wicket in Action (which you should buy if you have not
 already!), BTW. It's more of a companion to that book.
 
 Happy Holidays!
 
 Best,
 
Jonathan
 
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21220309.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Uwe Schäfer

Jonathan Locke schrieb:

I'd also be interested in getting some idea how many people
would be interested in this book (would provide some fuel for me to get it
done). 


where´s the pre-order link ? ;)
you write it, we buy it.


--

THOMAS DAILY GmbH
Adlerstraße 19
79098 Freiburg
Deutschland
T  + 49 761 3 85 59 0
F  + 49 761 3 85 59 550
E  schae...@thomas-daily.de
www.thomas-daily.de

Geschäftsführer/Managing Directors:
Wendy Thomas, Susanne Larbig
Handelsregister Freiburg i.Br., HRB 3947

Registrieren Sie sich unter http://morningnews.thomas-daily.de für die 
kostenfreien TD Morning News, eine Auswahl aktueller Themen des Tages 
morgens um 9:00 in Ihrer Mailbox.


Hinweis: Der Redaktionsschluss für unsere TD Morning News ist täglich um 
8:30 Uhr. Es werden vorrangig Informationen berücksichtigt, die nach 
16:00 Uhr des Vortages eingegangen sind. Die Email-Adresse unserer 
Redaktion lautet redakt...@thomas-daily.de.



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Jonathan Locke


well, if there's a reusable component in it somehow...
i don't see how to approach that though, so maybe it's a wiki article.


Scott Swank wrote:
 
 Jonathan,
 
 I think that Wicket is missing a solid overview of the below form
 components, how they differ, how they overlap, and when to use each.
 
 Check, Checkbox, CheckGroup, CheckGroupSelector
 DropDownChoice (there are 3 wiki pages, but I'd like to draw out the
 overlap with RadioChoice and the role of IChoiceRenderer)
 Radio, RadioChoice, RadioGroup
 
 And of course: IChoiceRenderer.
 
 For example, I really don't know whether my above list is missing any
 components.
 
 If such a topic is not in the works for your book, I'll volunteer to
 put together a first pass at such a wiki page.
 
 Cheers,
 Scott
 
 
 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:


 Well, over the break here I've started something I swore I would never
 do
 again (well, two things, if you include the JavaOne talk I'm working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there,
 please
 let me know. I'd also be interested in getting some idea how many
 people
 would be interested in this book (would provide some fuel for me to get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a companion
 to
 that book.

 Happy Holidays!

 Best,

   Jonathan
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21220767.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Nino Martinez
Check = detailed control of each check (you have to iterate over them to 
add more than one forexample in a listview)

CheckBox = list of checks (not same as above)
CheckGroup = Holds the model for checks

Repeat above for radios.

Dropdown = simple component

There are also some ajax versions of above...

It might just be me that have become blind to these things :) Of all the 
frameworks I work with, be it web, orm, log etc Wicket brings me the 
least trouble :)



Happy new year :)




Scott Swank wrote:

Jonathan,

I think that Wicket is missing a solid overview of the below form
components, how they differ, how they overlap, and when to use each.

Check, Checkbox, CheckGroup, CheckGroupSelector
DropDownChoice (there are 3 wiki pages, but I'd like to draw out the
overlap with RadioChoice and the role of IChoiceRenderer)
Radio, RadioChoice, RadioGroup

And of course: IChoiceRenderer.

For example, I really don't know whether my above list is missing any
components.

If such a topic is not in the works for your book, I'll volunteer to
put together a first pass at such a wiki page.

Cheers,
Scott


  

On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
jonathan.lo...@gmail.comwrote:

  

Well, over the break here I've started something I swore I would never do
again (well, two things, if you include the JavaOne talk I'm working on).
I'm writing a (hopefully relatively short) book. It's called Twenty-Six
Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
something that people typically want to do and in the process builds a
reusable and educational component. I've got 13 tricks coded up now and
ideas for a handful more, but if there are any requests out there, please
let me know. I'd also be interested in getting some idea how many people
would be interested in this book (would provide some fuel for me to get
it
done). It does not cover any of the same ground as Wicket in Action
(which
you should buy if you have not already!), BTW. It's more of a companion
to
that book.

Happy Holidays!

Best,

  Jonathan



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Scott Swank
Thanks Nino.  The problem is that there isn't any place on the wiki
that pulls all of this together.  Consequently I've seen aspects of
this asked several times on the list.

If I don't hear anything to the contrary, I'll assume that this
material is in fact missing from the wiki and I'll add it.  This is
the best info I'm aware of on these components (excepting the good
coverage of DropDownChoice on the wiki):

http://www.wicket-library.com/wicket-examples/forminput/

Oh, and in my first pass I missed

CheckBoxMultipleChoice.
Select (from extensions)

Scott


On Tue, Dec 30, 2008 at 11:08 AM, Nino Martinez
nino.martinez.w...@gmail.com wrote:
 Check = detailed control of each check (you have to iterate over them to add
 more than one forexample in a listview)
 CheckBox = list of checks (not same as above)
 CheckGroup = Holds the model for checks

 Repeat above for radios.

 Dropdown = simple component

 There are also some ajax versions of above...

 It might just be me that have become blind to these things :) Of all the
 frameworks I work with, be it web, orm, log etc Wicket brings me the least
 trouble :)


 Happy new year :)




 Scott Swank wrote:

 Jonathan,

 I think that Wicket is missing a solid overview of the below form
 components, how they differ, how they overlap, and when to use each.

 Check, Checkbox, CheckGroup, CheckGroupSelector
 DropDownChoice (there are 3 wiki pages, but I'd like to draw out the
 overlap with RadioChoice and the role of IChoiceRenderer)
 Radio, RadioChoice, RadioGroup

 And of course: IChoiceRenderer.

 For example, I really don't know whether my above list is missing any
 components.

 If such a topic is not in the works for your book, I'll volunteer to
 put together a first pass at such a wiki page.

 Cheers,
 Scott




 On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
 jonathan.lo...@gmail.comwrote:



 Well, over the break here I've started something I swore I would never
 do
 again (well, two things, if you include the JavaOne talk I'm working
 on).
 I'm writing a (hopefully relatively short) book. It's called
 Twenty-Six
 Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
 something that people typically want to do and in the process builds a
 reusable and educational component. I've got 13 tricks coded up now and
 ideas for a handful more, but if there are any requests out there,
 please
 let me know. I'd also be interested in getting some idea how many
 people
 would be interested in this book (would provide some fuel for me to get
 it
 done). It does not cover any of the same ground as Wicket in Action
 (which
 you should buy if you have not already!), BTW. It's more of a companion
 to
 that book.

 Happy Holidays!

 Best,

  Jonathan


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Nino Martinez
NP, yeah but anyhow you have your point. If it gets asked a lot then the 
WIKI needs it :)


Scott Swank wrote:

Thanks Nino.  The problem is that there isn't any place on the wiki
that pulls all of this together.  Consequently I've seen aspects of
this asked several times on the list.

If I don't hear anything to the contrary, I'll assume that this
material is in fact missing from the wiki and I'll add it.  This is
the best info I'm aware of on these components (excepting the good
coverage of DropDownChoice on the wiki):

http://www.wicket-library.com/wicket-examples/forminput/

Oh, and in my first pass I missed

CheckBoxMultipleChoice.
Select (from extensions)

Scott


On Tue, Dec 30, 2008 at 11:08 AM, Nino Martinez
nino.martinez.w...@gmail.com wrote:
  

Check = detailed control of each check (you have to iterate over them to add
more than one forexample in a listview)
CheckBox = list of checks (not same as above)
CheckGroup = Holds the model for checks

Repeat above for radios.

Dropdown = simple component

There are also some ajax versions of above...

It might just be me that have become blind to these things :) Of all the
frameworks I work with, be it web, orm, log etc Wicket brings me the least
trouble :)


Happy new year :)




Scott Swank wrote:


Jonathan,

I think that Wicket is missing a solid overview of the below form
components, how they differ, how they overlap, and when to use each.

Check, Checkbox, CheckGroup, CheckGroupSelector
DropDownChoice (there are 3 wiki pages, but I'd like to draw out the
overlap with RadioChoice and the role of IChoiceRenderer)
Radio, RadioChoice, RadioGroup

And of course: IChoiceRenderer.

For example, I really don't know whether my above list is missing any
components.

If such a topic is not in the works for your book, I'll volunteer to
put together a first pass at such a wiki page.

Cheers,
Scott



  

On Tue, Dec 30, 2008 at 10:32 AM, Jonathan Locke
jonathan.lo...@gmail.comwrote:


  

Well, over the break here I've started something I swore I would never
do
again (well, two things, if you include the JavaOne talk I'm working
on).
I'm writing a (hopefully relatively short) book. It's called
Twenty-Six
Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
something that people typically want to do and in the process builds a
reusable and educational component. I've got 13 tricks coded up now and
ideas for a handful more, but if there are any requests out there,
please
let me know. I'd also be interested in getting some idea how many
people
would be interested in this book (would provide some fuel for me to get
it
done). It does not cover any of the same ground as Wicket in Action
(which
you should buy if you have not already!), BTW. It's more of a companion
to
that book.

Happy Holidays!

Best,

 Jonathan



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


  

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Twenty Six Wicket Tricks

2008-12-30 Thread Jeremy Thomerson
Jon,
  I would also offer to review for you, even understanding your rigorous
requirements :)

  That would be a privilege if you have the need.
-- 
Jeremy Thomerson
http://www.wickettraining.com

On Tue, Dec 30, 2008 at 10:55 AM, Jonathan Locke
jonathan.lo...@gmail.comwrote:



 i like those too. and i hope people keep blogging about
 wicket like that. it's nice to get the gist of how to do
 something that way and boost WIA in the process.

 however, the quality bar of chapters in twenty-six tricks
 will be higher and my goals for each trick are (i hope)
 considerably more rigorous and educational than a blog
 entry. they are:

 (1) to present a fully reusable, high-quality component
 suitable for including in your application directly and with
 no changes (i'm generally designing these tricks for
 reuse and extension)

 (2) to cohesively demonstrate and detail through discussion
 a range of design choices and patterns in the process
 (probably the more valuable part, as you will (hopefully)
 understand not only what it is that i've done, but why it's
 been done that way and not some other way).

 (3) to reuse tricks in building new tricks

 if it's mainly cost you are worried about, i haven't chosen
 a price yet, but it will obviously be less than WIA.

 and if you want to give feedback, i will need some reviewers
 and you're welcome to be one, although be warned that i'm
 not looking for casual feedback since this is a book project
 and not a blog. i'd want thorough and detailed comments
 on the code and text for several (say 5) chapters (which will
 take you hours, not minutes). in return for their work,
 each reviewer gets a free copy of the book.

  jon


 martin-g wrote:
 
  Does it have to be a book ?
 
  I do really like Igor's series at wicketinaction.com.
 
  Pros: the community feedback as comments.
  Cons: it is not profitable.
 
 
  El mar, 30-12-2008 a las 00:32 -0800, Jonathan Locke escribió:
  Well, over the break here I've started something I swore I would never
 do
  again (well, two things, if you include the JavaOne talk I'm working
 on).
  I'm writing a (hopefully relatively short) book. It's called Twenty-Six
  Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates
  something that people typically want to do and in the process builds a
  reusable and educational component. I've got 13 tricks coded up now and
  ideas for a handful more, but if there are any requests out there,
 please
  let me know. I'd also be interested in getting some idea how many people
  would be interested in this book (would provide some fuel for me to get
  it
  done). It does not cover any of the same ground as Wicket in Action
  (which
  you should buy if you have not already!), BTW. It's more of a companion
  to
  that book.
 
  Happy Holidays!
 
  Best,
 
 Jonathan
 
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p21219849.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Twenty Six Wicket Tricks

2008-12-30 Thread Erik van Oosten

Jonathan Locke wrote:

 I've got 13 tricks coded up now and
ideas for a handful more, but if there are any requests out there, please
let me know
  
Perhaps something about handling URLs. Like writing your own url coding 
strategy and how to mount pages with URL that have some variable before 
the fixed parts (like /{language}/products/{productid}).


Regards,
   Erik.


--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org