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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to