Re: [Wicket-user] inconsistent exception

2006-09-14 Thread Tomer Mevorach
I have opened a bug about this issue (#1556190). I see its still open so i guess you can close it. Thanks, Tomer Eelco Hillenius wrote: Ah, cool. Eelco On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: actually i think its already been fixed action type=fix dev=Matej Knopp

Re: [Wicket-user] How to detect page switch

2006-09-14 Thread Frank Bille
On 9/14/06, Martijn Dashorst [EMAIL PROTECTED] wrote: http://jroller.com/page/dashorst?entry=wicket_goodie_hibernate_versioned_form(BTW Frank: woogle didn't find this article!) Hmm, I'm not sure how to fetch that with woogle. How would a normal user find the article? I can't find any archive, back

Re: [Wicket-user] Pro Wicket: Great first book on wicket

2006-09-14 Thread Che Schneider
Hey, I have to agree with Gavin: the book is indeed a bit rough. For example, the auther takes loads of time to elaborate certain 'features' while others are being handled as if he expects the audience to know what he is talking about. The examples are imo completely useless in real life since

Re: [Wicket-user] Pro Wicket: Great first book on wicket

2006-09-14 Thread Che Schneider
By the way: There is a very nice introduction to Wicket 2.0 in the last chapters of the book - I cannot wait to play around with that baby... :) //Che __ DISCLAIMER: This e-mail message is intended for the addressee(s) or authorized recipient only. If you are not the

Re: [Wicket-user] [Wicket-announce] First Wicket book published

2006-09-14 Thread Thomas Queste
Great ! A whole book. But does it cover Wicket 1.2 or 1.1 ? Regards, Thomas - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your

Re: [Wicket-user] [Wicket-announce] First Wicket book published

2006-09-14 Thread Per Ejeklint
It covers 1.2 and has a small part about what will change in 2.0. I can recommend the book, it's a very good starting point./Per14 sep 2006 kl. 09.32 skrev Thomas Queste:Great ! A whole book.But does it cover Wicket 1.2 or 1.1

Re: [Wicket-user] what mail client to you use?

2006-09-14 Thread Martijn Dashorst
I used thunderbird as mail client, and reading the user list was taking a lot of time. It was hard to follow the discussions, and don't get me started about getting back from 3 weeks of beach leisure. When I got to gmail, my mailinglist reading went down to 10% of the time it used to take. You can

Re: [Wicket-user] How to detect page switch

2006-09-14 Thread Martijn Dashorst
I used the google, but knew what to look for (as I wrote it). But even I don't know everything I put on that blog by memory.I'd have to digg into roller's code to see how to publish the full list under an url. But no time for that unfortunately. MartijnOn 9/14/06, Frank Bille [EMAIL PROTECTED]

Re: [Wicket-user] shades wicket project

2006-09-14 Thread Martijn Dashorst
There is no restriction on what to do on wicket stuff, as long as it is Wicket related and helps our community. I think both criteria are met: shades is for the greater good of the Java community at large and creating a demo project to utilize it with Wicket is a good showcase of what it can do.

Re: [Wicket-user] How to detect page switch

2006-09-14 Thread Pierre-Yves Saumont
Thanks Martijn, Your implementation is inspiring. I will rewrite mine following your example. Merging adds some problems in itself, and some more if you want to be smart to the user when some field conflict. There even is a problem when no fields conflict because the resulting record might not

Re: [Wicket-user] How to detect page switch

2006-09-14 Thread Pierre-Yves Saumont
Yes, that's what I am doing. I will then store the objects in the session and later add support for storing them in a temp table if needded. In case the objects are to be saved in the database, what would be the best approach? I the same table as the actual object (needs one more field to

Re: [Wicket-user] shades wicket project

2006-09-14 Thread Juergen Donnerstag
Geoff, the SVN doesn't seem to be up to date. E.g. ImmutableQuery cannot be resolved to a type Juergen On 9/14/06, Geoff hendrey [EMAIL PROTECTED] wrote: yo yo yo, So I've got a decent build of Shades up on sourceforge http://sourceforge.net/projects/shadesdb I've incorporated some of

[Wicket-user] Why item.getIndex() always zero?

2006-09-14 Thread wq
.. int c = 0; .. List columns = new ArrayList(); columns.add(new AbstractColumn(new Model(操作)){ public void populateItem(Item cellItem, String componentId, IModel model){ c +=

Re: [Wicket-user] Why item.getIndex() always zero?

2006-09-14 Thread Martijn Dashorst
Because the cellItems are the column items... You only have one column, so it will always return 0 (first column). Martijn On 9/14/06, wq [EMAIL PROTECTED] wrote: .. int c = 0; .. List columns = new ArrayList(); columns.add(new

Re: [Wicket-user] Why item.getIndex() always zero?

2006-09-14 Thread wq
List columns = new ArrayList(); columns.add(new AbstractColumn(new Model(操作)){ public void populateItem(Item cellItem, String componentId, IModel model){ rowIndex += cellItem.getIndex()+ 1;

Re: [Wicket-user] SubmitLink and back button...

2006-09-14 Thread Johan Compagner
But also for input in the wicket side??convertInput(),getInput(),getConvertedInput,validate name themAren't really meant for a button as far as i know.johanOn 9/13/06, Martijn Dashorst [EMAIL PROTECTED] wrote: I guess the reason that a button is a formcomponent is because abutton can receive

Re: [Wicket-user] Modal Window

2006-09-14 Thread Matej Knopp
Modal window width and height is stored in a cookie. First time initial width and height is used, and after that the width and height from the cookie is used. What you need to do is set different cookie id for different modal windows. Or disable cookies at all (setCookieId(null)). -Matej

[Wicket-user] Wicket requires my model to be serializable???

2006-09-14 Thread Christian Hvid
Hi. I keep getting: WicketMessage: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: ... ... I am using wicket 1.2.2 - when I roll back to an earlier version of 1.2 (checked out from main trunk in february) - the problem is gone and everything

Re: [Wicket-user] Wicket requires my model to be serializable???

2006-09-14 Thread Ayodeji Aladejebi
ensure your dependent objects implement serializable (important for replication across server clusters) or else use transient keywordOn 9/14/06, Christian Hvid [EMAIL PROTECTED] wrote: Hi.I keep getting:WicketMessage: Internal error cloning object. Make sure all dependentobjects implement

Re: [Wicket-user] PortletPage vs. WebPage

2006-09-14 Thread Janne Hietamäki
On 13.9.2006, at 17.58, Manuel Barzi wrote: But, what about that webapp - based on WebPage - to be integrated in a portlet by means of PortletPage? I mean, does PortletPage offer the same flexibility WebPage does? I guess we'll find some limitations, have to test yet, but all information

Re: [Wicket-user] Wicket requires my model to be serializable???

2006-09-14 Thread Dirk Markert
Maybe this helps:http://www.wicket-wiki.org.uk/wiki/index.php/FAQs#I_get_.27Internal_error_cloning_object.27_errors 2006/9/14, Christian Hvid [EMAIL PROTECTED]: Hi.I keep getting:WicketMessage: Internal error cloning object. Make sure all dependentobjects implement Serializable. Class: ..I am

Re: [Wicket-user] Wicket requires my model to be serializable???

2006-09-14 Thread Christian Hvid
It helped. Thank you. On 14 Sep 2006, at 15:00, Dirk Markert wrote: Maybe this helps: http://www.wicket-wiki.org.uk/wiki/index.php/FAQs#I_get_. 27Internal_error_cloning_object.27_errors 2006/9/14, Christian Hvid [EMAIL PROTECTED]: Hi. I keep getting: WicketMessage: Internal error

[Wicket-user] ImmutableQueryMissing

2006-09-14 Thread Geoff hendrey
AR, you're right, I forgot to do a SVN add. I just committed. ImmutableQuery should be in the shades-0.0.3.zip download, however. I will add it tonight. -geoff Message: 5 Date: Thu, 14 Sep 2006 13:03:35 +0200 From: Juergen Donnerstag [EMAIL PROTECTED] Subject: Re: [Wicket-user] shades

[Wicket-user] SUSPECT: RE: Pro Wicket: Great first book on wicket

2006-09-14 Thread Che Schneider
Hi Karthik, I totally agree with you: it is almost impossible to write something that everybody likes. It might well be that most other readers love the book and find it absolutely perfekt to learn Wicket. I think it depends a lot on what you expect, what you previous experience is and how much

Re: [Wicket-user] Wicket requires my model to be serializable???

2006-09-14 Thread Johan Compagner
now i am curious what your fix was that you did.Disable the check? That would be the wrong fix.On 9/14/06, Christian Hvid [EMAIL PROTECTED] wrote:It helped.Thank you.On 14 Sep 2006, at 15:00, Dirk Markert wrote: Maybe this helps: http://www.wicket-wiki.org.uk/wiki/index.php/FAQs#I_get_.

Re: [Wicket-user] Pro Wicket: Great first book on wicket

2006-09-14 Thread Pierre-Yves Saumont
This book was (and still is) a very valuable help to me. I did not read it cover to cover, although I should have. (I wish I had enough time for this !). It's a very good introductory book, the kind that gives the best value for the time you spend reading it. In a perfect world, it would have

Re: [Wicket-user] Pro Wicket: Great first book on wicket

2006-09-14 Thread middledot
There is always this thing called expectations. This is the first book written for those who want to get up to speed with Wicket and I find it extremely to the point. Funny, but I have dramatically oppossite comments after reading this book. I like it very much and I find it extremely important

Re: [Wicket-user] what mail client to you use?

2006-09-14 Thread Gustavo Santucho
It was hard to follow the discussions Just curious... why? This (complicated on purpose) picture shows: a) a visited thread with an unread message b) a totally unread thread c) a totally read and closed (for me) thread d) an important (for me) visited thread with an unread message inside (I

Re: [Wicket-user] what mail client to you use?

2006-09-14 Thread Manuel Barzi
Agree with Gustavo, Thunderbird is without question a great thread-oriented mail client, and it's for free. Moreover, you can carry it all in your memory stick, as achieved with this version: http://portableapps.com/portablethunderbird ;)

Re: [Wicket-user] what mail client to you use?

2006-09-14 Thread Martijn Dashorst
Yes, but you have to open each individual message inside the thread. With gmail I can read all responses in one thread by just scrolling my mousewheel. Martijn On 9/14/06, Manuel Barzi [EMAIL PROTECTED] wrote: Agree with Gustavo, Thunderbird is without question a great thread-oriented mail

Re: [Wicket-user] what mail client to you use?

2006-09-14 Thread Manuel Barzi
With gmail I can read all responses in one thread by just scrolling my mousewheel. That's a good proposal to forward to Mozilla Thunderbird ORG - Using Tomcat but need to do more? Need to support web services,

Re: [Wicket-user] shades wicket project

2006-09-14 Thread Igor Vaynberg
maybe add shades into wicket-phonebook, it already supports hibernate and ibatis.-IgorOn 9/14/06, middledot [EMAIL PROTECTED] wrote:Thanks Goeff,By your own admission Shades owns it to Wicket so it would be nice if this special relationship was maintained. I think it would be great if you put

Re: [Wicket-user] Modal Window

2006-09-14 Thread samyem
Thanks. That was helpful, but it seems to be more difficult than it needs to be. I think the default behaviour should have been to use different cookie names per instance of the modal window, but apparently the same cookie name were used for all instances. I tried to use getClassRelativePath()

Re: [Wicket-user] SUSPECT: RE: Pro Wicket: Great first book on wicket

2006-09-14 Thread Igor Vaynberg
And as I stated in my last email, I personally do notlike the way of saying 'Let's do it like this!' and then a chapter later you revoke it all because it can be done quicker and cleanerdifferently. for an introductory book i do not think this is all that bad actually. you are learning the api.

Re: [Wicket-user] what mail client to you use?

2006-09-14 Thread Igor Vaynberg
he can always try both seeing how they are both free. even try them in parallel.-IgorOn 9/14/06, Manuel Barzi [EMAIL PROTECTED] wrote: With gmail I can read all responses in one thread by just scrolling my mousewheel.That's a good proposal to forward to Mozilla Thunderbird

Re: [Wicket-user] what mail client to you use?

2006-09-14 Thread Gustavo Santucho
but you have to open each individual message inside the thread. With gmail I can read all responses in one thread by just scrolling my mousewheel. This is really a good point. You loose the conversation this way (i.e. who is answering who) but I think is better for you, being on the

Re: [Wicket-user] shades wicket project

2006-09-14 Thread Gustavo Santucho
maybe add shades into wicket-phonebook, it already supports hibernate and ibatis. I'd like this. - Gustavo. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with

[Wicket-user] How to validate a form using ajax?

2006-09-14 Thread Paolo Di Tommaso
I would like to use Ajax to validate my form. I've tried using AjaxFormValidatingBehavior but it always will call my Form#onSubmit() method when data contains no validation error. How to validate a form without invoking the form submit method? Thanks for helping Paolo

Re: [Wicket-user] How to validate a form using ajax?

2006-09-14 Thread Igor Vaynberg
form submit is necessary to validate the form.what i usually do is put any logic into my buttons and not into form's onsubmit.-IgorOn 9/14/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: I would like to use Ajax to validate my form. I've tried using AjaxFormValidatingBehavior but it always will

Re: [Wicket-user] Modal Window

2006-09-14 Thread Matej Knopp
I'll think about it. The behavior you have suggested might be the right default behavior. Would you please be so kind as to fill a feature request so that I won't forget about it? Thanks. -Matej samyem wrote: Thanks. That was helpful, but it seems to be more difficult than it needs to be. I

Re: [Wicket-user] How to validate a form using ajax?

2006-09-14 Thread Paolo Di Tommaso
OK, but if it is so which is the difference between AjaxFormSubmitBehavior and AjaxFormValidatingBehavior? Thanks, PaoloOn 9/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote: form submit is necessary to validate the form.what i usually do is put any logic into my buttons and not into form's

Re: [Wicket-user] How to validate a form using ajax?

2006-09-14 Thread Igor Vaynberg
/*** Ajax event behavior that submits the form and updates all form feedback* panels on the page. Useful for providing instant feedback. *-IgorOn 9/14/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: OK, but if it is so which is the difference between AjaxFormSubmitBehavior and

[Wicket-user] DatePicker setting.

2006-09-14 Thread wicketmarsh
Hi I am using datePicker the same way as it is shown in forminput example. but i need to position the bottom of popup at top edge of my textfield. i tried using DatePickerSettings dps = new DatePickerSettings(); dps.setAlign(T); add(new DatePicker(abc,New TextField(a,Date.class),dps)) it