Re: [Wicket-user] can'nt read wiki

2006-09-15 Thread ali
On Thu, 15 Jun 2006 13:24:38 +0430, Gwyn Evans [EMAIL PROTECTED] wrote: OK, I've reset the spam-traps again - If you want to stay out of them then: a) Don't use Offline Explorer. [1] b) Don't use Opera. [2] More... [1] When I have some spare time, I'll try have a go with some

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

2006-09-15 Thread Che Schneider
Hey Les, For me code is like pictures, they speek for themselves. Sorry, I probably was not clear enough about this: I totally agree with that. Actually, for me, looking at the code most of the time helps more than any technichal explanation. However, if I read a book on Wicket (or any other

Re: [Wicket-user] Date Picker in Modal Window

2006-09-15 Thread Matej Knopp
Dunno. It's web. What I'd do is that I'd let datepicker be and change the modal window content to page instead of panel. There are also other poblems with panel (hiding inputs in explorer), so for now I'd stick with page. -Matej Eelco Hillenius wrote: On 9/13/06, Igor Vaynberg [EMAIL

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

2006-09-15 Thread Che Schneider
Hey Igor, Although I disagree about the 'real life' (that's what you have the design for: to avoid the constant architecture change), you are right that in a book it is a valid approach. However, I very much dislike it unless you clearly state in the beginning that you are gonna do it in a messy

Re: [Wicket-user] [Wicket-develop] Developing a Wicket CMS

2006-09-15 Thread Ted Roeloffzen
What other types of components would you like to see? How would you all like to see the data stored?Would you like te see a relatively simple database or a content repository like the one described in the JSR-170? Ted RickOn 9/14/06, Nick Heudecker [EMAIL PROTECTED] wrote: One project we did

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

2006-09-15 Thread Igor Vaynberg
the point i was trying to make is that the progression itself can be an important part of the learning - its the journey not the destination stuff.compare the code you write now to the code you wrote two years ago. i bet the one you write now is a lot more efficient and much cleaner. now imagine

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

2006-09-15 Thread Che Schneider
Okay, understood. And you are right, there hopefullt (and luckily, looking back at my code from former days :) always is a progress and you learn (baby-)step by (baby-)step. However, I think that I chose to read a book in order to skip a few of these steps. Basically, I am trying to learn from

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

2006-09-15 Thread Igor Vaynberg
On the other hand, showing the newbie how to write the (possiblycomplex) program without anonymous classes and then have him refactor the whole thing later to use anonymous classes he will not understandwhen to use and when not to use anonymous classes and he would have togo through the whole code

Re: [Wicket-user] [Wicket-develop] Developing a Wicket CMS

2006-09-15 Thread Pierre-Yves Saumont
Is there any good reason - for the user, not for the developpers;-) not to be JSR-170 compliant ? It would normally be possible to use an existing repository for start. After all Wicket seems to be much more usefull to developp the client application than the repository itself. Pierre-Yves

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

2006-09-15 Thread Pierre-Yves Saumont
Che, One thing I have learned is that you learn much more from your errors than from your successes. The reason is that when you make an error, you have to figure why it didn't work and how to fix it. When you have success, you already know the reason: it's just because you are very good at

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

2006-09-15 Thread Che Schneider
except that i wouldnt consider a few printed pages of code a complex example, but thats just me :) Well, some of the examples are actually quite complex - if you are new in Wicket. There are loads of IConverters and stuff that need to register each other (chained) with the main application. It

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

2006-09-15 Thread Che Schneider
Hey Pierre-Yves, I absolutely agree with you! But then you actually have to say Not like this! when you do point out an error in your book. I don't know if you have read this book, but in quite a few places the author shows you one (absolutely valid) way of doing something, then another one

Re: [Wicket-user] [Wicket-develop] Developing a Wicket CMS

2006-09-15 Thread Eelco Hillenius
On 9/15/06, Ted Roeloffzen [EMAIL PROTECTED] wrote: What other types of components would you like to see? How would you all like to see the data stored? Would you like te see a relatively simple database or a content repository like the one described in the JSR-170? From what I read, using

Re: [Wicket-user] can'nt read wiki

2006-09-15 Thread Gwyn Evans
I'm out of the country today, so can't do anything right now, but did you read my point (b), as your comment suggests you didn't? /Gwyn On 15/09/06, ali [EMAIL PROTECTED] wrote: On Thu, 15 Jun 2006 13:24:38 +0430, Gwyn Evans [EMAIL PROTECTED] wrote: OK, I've reset the spam-traps again - If

[Wicket-user] AJAX Javascript not found

2006-09-15 Thread Arseny
Hello! Sorry for may be a silly question, but I am a newbie in Wicket. Now I am studying it and came to studying AJAX components. I have a following message in Firefox JS Console when I try to use AutocompleteTextField with just copy/paste from examples. Error: wicketThrottler is not defined

Re: [Wicket-user] AJAX Javascript not found

2006-09-15 Thread Igor Vaynberg
make sure your servlet mapping ends with /*so /something/* not just /something or /something/-IgorOn 9/15/06, Arseny [EMAIL PROTECTED] wrote:Hello!Sorry for may be a silly question, but I am a newbie in Wicket. Now I am studying it and came to studying AJAX components.I have a following message

Re: [Wicket-user] Loop element with panels that have FormComponents

2006-09-15 Thread Igor Vaynberg
can we get a quickstart please?-IgorOn 9/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:Hello,I have the problem whereI have to display a form that haslist of panels where every panel has a bunch of form components. It looks like if my panelhas only labels and I use a Loop component everythig

Re: [Wicket-user] Loop element with panels that have FormComponents

2006-09-15 Thread Gennadiy . Vasilevskiy
I did and I did see the fragment example, but in my case I am dealing with the subclasses of the panel class being attached to the item element of the list. If the panel has lables only it works, but in case I put there a textfield it dies. Does it mean I should not be using Loop to loop over

Re: [Wicket-user] Modal Window

2006-09-15 Thread Matej Knopp
Okay, this is how it is in current svn. For 1.x, hashCode is used to generate id. For 2.0, getClassRelativePath() is used, as the place in component hierarchy is already known in constructor. hope it helps. -Matej samyem wrote: Thanks. That was helpful, but it seems to be more difficult than

Re: [Wicket-user] Loop element with panels that have FormComponents

2006-09-15 Thread Igor Vaynberg
loop generally shouldnt be used because you will run into problems with losing state when validation fails, but that does not cause an exception.to avoid the state loss issue use a listview with setReuseItems(true) called on it. if you want help with this i think you need to recreate the problem

Re: [Wicket-user] Loop element with panels that have FormComponents

2006-09-15 Thread Gennadiy . Vasilevskiy
That worked. THank you Gennadiy [EMAIL PROTECTED] [EMAIL PROTECTED] Sent by:

Re: [Wicket-user] DatePicker problem - java script stack overflow error

2006-09-15 Thread Matej Knopp
The fix should be in SVN. But there is a bug in 1.2 now that prevents rendering datepicker in ajax response, so I wouldn't recommend updating right now. In the meanwhile you can try to disable ajax debug, it should help. ( getAjaxSettings().setAjaxDebugModeEnabled(false) ). -Matej Iuly

[Wicket-user] Wicket 2.0: Form within a modal Window

2006-09-15 Thread Stefan Lindner
I tried to put a Panel with a Form inside a model window. The form is displayes very well but I notice some strange behavior. So my questionis: are modal windows designed to work with forms and are my problems related to the early state of wicket 2.0 or were modal windows never ment to contain all

[Wicket-user] constructors and on attach

2006-09-15 Thread Scott Lusebrink
I need a place where i can initialize a page, get data from the database and set the models of my components. I assume I'm going to need the data before i set the models. I know some components constructors require models to be passed in and can not be set later. The problem with doing this work

Re: [Wicket-user] constructors and on attach

2006-09-15 Thread Eelco Hillenius
On 9/15/06, Scott Lusebrink [EMAIL PROTECTED] wrote: I need a place where i can initialize a page, get data from the database and set the models of my components. I assume I'm going to need the data before i set the models. The models and the actual data they link to are different things.

Re: [Wicket-user] constructors and on attach

2006-09-15 Thread Igor Vaynberg
Why would you even create the page while you're actually linking toit? E.g, when you do ( 2.0 code):because he wants to link to a page, the obvious component is PageLink and it takes a Page instance in its contructor - so its the most obvious way to link to a page for a noob. you guys keep

Re: [Wicket-user] constructors and on attach

2006-09-15 Thread Eelco Hillenius
because he wants to link to a page, the obvious component is PageLink and it takes a Page instance in its contructor - so its the most obvious way to link to a page for a noob. Erm. Maybe. I didn't get that from his email. you guys keep outvoting me on removing that constructor, but its

Re: [Wicket-user] can'nt read wiki

2006-09-15 Thread ali
On Fri, 15 Sep 2006 15:31:49 +0430, Gwyn Evans [EMAIL PROTECTED] wrote: you read my point (b), as your comment suggests you didn't? /Gwyn On 15/09/06, ali [EMAIL PROTECTED] wrote: On Thu, 15 Jun 2006 13:24:38 +0430, Gwyn Evans [EMAIL PROTECTED] wrote: OK, I've reset the spam-traps again