[Wicket-user] Info-Message for DropDownChoice

2006-09-26 Thread MailingWicketUser
Title: Info-Message for DropDownChoice Hello, I'm using a DropDownChoice and I have one entry which shouldn't be selected. I implemented a validator which captures this feature. The validator does the right thing but only when the page is submitted. The problem is that I need an info

Re: [Wicket-user] Info-Message for DropDownChoice

2006-09-26 Thread Igor Vaynberg
one way or another you need to submit the form - thats just how http works.what i would do is override wantOnSelectionChangedNotifications() of the dropdown - that way the form is submitted every time you change the selection. then also override onSelectionChanged and call validate() to run the

[Wicket-user] Info-Message for DropDownChoice

2006-09-26 Thread MailingWicketUser
Title: Info-Message for DropDownChoice An additional problem is that the entry can be the default selection! So the user makes no changes in the dropdownchoice! Overriding the methods wantOnSelectionChangedNotifications() and onSelectionChanged() is not the right way! I just want to

Re: [Wicket-user] Info-Message for DropDownChoice

2006-09-26 Thread Igor Vaynberg
whats with all the exclamation marks? :)as i said - you need to submit the value - it is just how http works. if it is selected by default then it will be validated on submit and form processing will be halted - but your validator should call error() not info() in order to halt the form

Re: [Wicket-user] ajax refresh on date picker

2006-09-26 Thread Matej Knopp
The problem was that AjaxRequestTarget called component.renderHead(), without calling rendered() on component behaviors after that (co the thread local has not been cleaned). The fix is in SVN. Can you please test if it works for you? It works with the quick start you've provided, so I'd say

Re: [Wicket-user] Info-Message for DropDownChoice

2006-09-26 Thread MailingWicketUser
Title: Re: [Wicket-user] Info-Message for DropDownChoice Hello, I don't want to submit the page! When I display the page the first time, an entry in the dropdownchoice is selected (due to the property). The only thing is that I need an info-Message, so that the user can change the

Re: [Wicket-user] Info-Message for DropDownChoice

2006-09-26 Thread Eelco Hillenius
Does xxx have getters and setters? What do you get when you do getModel()? Eelco On 9/26/06, MailingWicketUser [EMAIL PROTECTED] wrote: Hello, the main problem is not the info-message. When I call info(bla) in thze constructor, then the message is displayed. I think the main problem is

Re: [Wicket-user] Problem Selecting Tree Nodes

2006-09-26 Thread Matej Knopp
Class and html file would do the trick. -Matej Karl M. Davis wrote: Matej, I got and installed the latest SVN rev right before I sent the email. I should have some time Wed. to put together a quick test case for you. Should I just mimic one of the existing Junit tests or can I just send

[Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
Hi all, A collegue of mine at a very big and slow organization is evaluating web frameworks, of which one is wicket. As expected, there is the remark that wicket is not scalable because of its use of session scope. I already gave the most important arguments, but it would be nice to have some

Re: [Wicket-user] Problem Selecting Tree Nodes

2006-09-26 Thread Matej Knopp
Please send a test case, I'll look at it. your code seems to be fine, it's nothing illegal, it can be bug in tree. Would you mind testing svn version first, it _might_ be already fixed. Thanks, -Matej Karl M. Davis wrote: Matej, I'm getting an ArrayIndexOutOfBounds when I go to select a

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik van Oosten
(Breaking my week-long self-inflicted moratorium) Erik, I am very interested in your other arguments that would interest big slow companies. Regards, Erik. Erik Brakkee schreef: Hi all, A collegue of mine at a very big and slow organization is evaluating web frameworks, of which

Re: [Wicket-user] Info-Message for DropDownChoice

2006-09-26 Thread MailingWicketUser
Title: Re: [Wicket-user] Info-Message for DropDownChoice Hello, the main problem is not the info-message. When I call info(bla) in thze constructor, then the message is displayed. I think the main problem is that the method getModelObject() (see method isChoiceAvailable())provides null,

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
Ok, and don't forget the robustness. I really haven't seen any weird or unexpected behavior or wicket at all. On 9/26/06, Erik Brakkee [EMAIL PROTECTED] wrote: On 9/26/06, Erik van Oosten [EMAIL PROTECTED] wrote: Hi Erik,Let me rephrase the question:What arguments did you use, that would

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
The first argument was that not every application needs to scale to thousands of concurrent users. The second argument is that active replication is only one strategy for clustering. In practise, server affinity is also a very good option. Perhaps another argument, that I did not mention yet, is

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik van Oosten
Or this one? http://www.javalobby.org/java/forums/t70272.html Erik. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT

Re: [Wicket-user] Info-Message for DropDownChoice

2006-09-26 Thread MailingWicketUser
Title: Re: [Wicket-user] Info-Message for DropDownChoice Hello, my Model-Object has Gettes and Setters, but the method getModel() in the method isChoiceAvailable() returns null! Daniel - Take Surveys. Earn Cash.

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik van Oosten
Hi Erik, Let me rephrase the question: What arguments did you use, that would interest big slow companies in adopting Wicket? Regards, Erik. PS. Too many Eriks in The Netherlands :) -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/

[Wicket-user] wicket.util.lang.PropertyResolver / migth be a little offtopic

2006-09-26 Thread Nino Wael
Hi I need to do something similar as the propertyresolver does. Therefore im writing to the wicket userlist. I have a component that can update a list of other components by a ajax call. This component also fills out a palette(something similar to the extension.palette). It gets

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
On 9/26/06, Erik van Oosten [EMAIL PROTECTED] wrote: Or this one?http://www.javalobby.org/java/forums/t70272.htmlErik. Yes that was it! Thanks! - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [Wicket-user] wicket.util.lang.PropertyResolver / migth be a littleofftopic

2006-09-26 Thread Johan Compagner
you have to make sure that the object[] that you give to the invokeare all of the right type.. Else you will get a class cast exception.Reflection will not convert from one object to the other. PropertyResolver is using the given converter for that. johanOn 9/26/06, Nino Wael [EMAIL PROTECTED]

Re: [Wicket-user] SUSPECT: Re: Wicket arguments for big slow companies (Was: links about wicket scalability...)

2006-09-26 Thread Che Schneider
Hi, Erik, I agree with you: it seems like most BSCs (big slow companies) don't care about that at all. Still I think - just like you - that they are valid arguments and thus need to be mentioned. Be the prophet! Make them care about it! :) Additionally, presenting this stuff to a sales team

[Wicket-user] Wicket arguments for big slow companies (Was: links about wicket scalability...)

2006-09-26 Thread Erik van Oosten
Okay, so we've got: Irrefutable arguments for using wicket in big slow companies: * Very small learning curve. Comment: Agreed. But I still think you need at least one more experienced Wicket developers for more advanced things like manipulating html generated by other

Re: [Wicket-user] License for CMS (components)

2006-09-26 Thread Che Schneider
Hi Martijn, Well said - I did not think about that. And agreed, you might very well run into that problem. I admit that I have not had a thorough look at the Apache license but only 'read over it' and found it to be too 'open' for my liking: if you use an Apache-d software, you can keep the whole

Re: [Wicket-user] Wicket arguments for big slow companies (Was:links about wicket scalability...)

2006-09-26 Thread Nino Wael
Hehe, I espcially agree to the unlearning effect. Had a hard time getting used to the fact that wicket controls what are selected in a component... Regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: 26. september 2006

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Dirk Markert
Erik,did you search this link?http://www.virtuas.com/articles/webframework-sweetspots.html -Dirk2006/9/26, Erik Brakkee [EMAIL PROTECTED]: Hi all, A collegue of mine at a very big and slow organization is evaluating web frameworks, of which one is wicket. As expected, there is the remark that

[Wicket-user] License for CMS (components)

2006-09-26 Thread Ted Roeloffzen
Hello all,We are going to create a Wicket CMS and/or CMS Components, but we are not sure under which license to do this. Which license would you prefer? BSD, Apache, (L)GPL or another one?greets,Ted - Take Surveys. Earn Cash.

Re: [Wicket-user] License for CMS (components)

2006-09-26 Thread Erik van Oosten
HOWTO: Pick an open source license http://www.theserverside.com/news/thread.tss?thread_id=40946 Regards, Erik. Ted Roeloffzen schreef: Hello all, We are going to create a Wicket CMS and/or CMS Components, but we are not sure under which license to do this. Which license would you

Re: [Wicket-user] SUSPECT: Re: Wicket arguments for big slow companies (Was:links about wicket scalability...)

2006-09-26 Thread Che Schneider
Hi Eelco, I totally agree to you (*)-comment: We are working on a project at the moment where almost exactly that is happening. A collegue is creating all the markup while 'we Java developers' (;) give it a life afterwards. And yes, it works very smoothly and with success... :) // Che

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Eelco Hillenius
Not anything downloadable I'm afraid. But here is my current brain dump on the matter. The most important question: what are your scalability needs? If you are creating a public facing web site with possibly *very* large fluctuations in user behavior, your scalability needs are way more important

Re: [Wicket-user] License for CMS (components)

2006-09-26 Thread Che Schneider
Hi, My vote goes to LGPL: not as restrictive as GPL but preserves the gist of it. :) // Che -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Roeloffzen Sent: Tuesday, September 26, 2006 2:13 PM To: wicket-user Subject: [Wicket-user]

Re: [Wicket-user] License for CMS (components)

2006-09-26 Thread Martijn Dashorst
It is true that a company can take the source code and make it closed and sell it with a new label when using Apache license. Personally I don't mind and there are a lot of people that don't mind either. The problem with taking the ASL product, rebrand it and market it is that the product will

Re: [Wicket-user] The problem about encoding and event in ajax

2006-09-26 Thread Ingram Chen
sorry.. I don't exactly understand what you mean, do you mean browser's charactor encoding mode ? if so, my browser's Charactor Encoding switch to Big5 when request set to Big5.anyway, I just create a quickstart with encoding cp866, a Russian encoding. I can't read Runssian, either. but it should

Re: [Wicket-user] Wicket arguments for big slow companies (Was: links about wicket scalability...)

2006-09-26 Thread Erik van Oosten
I like those. Lets hold them against the unfair criteria again (this is really fun): - Developer team scalability: Nice, this is indeed something large companies need and/or struggle with. Who has never had revision 1285 of struts-config.xml? And many big companies like splitting up work over

Re: [Wicket-user] Wicket arguments for big slow companies (Was: links about wicket scalability...)

2006-09-26 Thread Eelco Hillenius
- Reusability: I have unfortunately never seen a big slow company that cared about this. Please tell me if you saw some. - Maintainability: I have not seen many big slow companies that cared about this deeply. Furthermore, the big companies I worked at 'maintainability' is usually associated

Re: [Wicket-user] Wicket arguments for big slow companies (Was:links about wicket scalability...)

2006-09-26 Thread Eelco Hillenius
I prefer saying 'Just Java', which means the same (kind of), but sounds a bit nicer and has a broader application :) Eelco On 9/26/06, Ryan Sonnek [EMAIL PROTECTED] wrote: Don't forget my *favorite* selling point of wicket... * NO XML!!!

Re: [Wicket-user] Wicket arguments for big slow companies (Was: links about wicket scalability...)

2006-09-26 Thread Erik van Oosten
Eelco, IMHO, what you describe here is 'flexible development' (I am avoiding the term Agile) rather then reusability and maintainability. Can you agree with this (somewhat condensed) assessment? Erik. Eelco Hillenius schreef: For both arguments: they *should care* about that and it

Re: [Wicket-user] Wicket arguments for big slow companies (Was:links about wicket scalability...)

2006-09-26 Thread Marc-Andre Houle
I never liked HTML, PHP and everything related to GUI programming. Finding a Framework like Wicket that let me do all my trick in Java and never have to tweak html and CSS make me so happy, you can't understand. And the learning curve was not that hard. I begin Wicket in my new Job and after 1

Re: [Wicket-user] Wicket arguments for big slow companies (Was:links about wicket scalability...)

2006-09-26 Thread Ryan Sonnek
Don't forget my *favorite* selling point of wicket...* NO XML!!!On 9/26/06, Marc-Andre Houle [EMAIL PROTECTED] wrote:I never liked HTML, PHP and everything related to GUI programming. Finding a Framework like Wicket that let me do all my trick in Java and never have to tweak html and CSS make me

[Wicket-user] AJAX Events - which key?

2006-09-26 Thread ChuckDeal
For a given textfield (part of a pair of fields where the text value is used to filter a listbox) I want to respond to the onkeyup event but do different things depending on the key pressed. Specifically, on Enter submit the form and on anything else filter the listbox. Looking at

Re: [Wicket-user] Wicket arguments for big slow companies(Was:links about wicket scalability...)

2006-09-26 Thread Che Schneider
+1 because this actually _is_ a very important point. // Che -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Sonnek Sent: Tuesday, September 26, 2006 3:29 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Wicket

[Wicket-user] Big-Before Now-Fast Wicketed-Companies Samples? (follows: Wicket arguments for big slow companies)

2006-09-26 Thread Manuel Barzi
Sirs, Just for curiosity, wouldn't it be nice to see Work in Progress samples at Wicket's site, where some of those big slow companies are brain-gaining to Wicket's productivity? Haven't seen much information... maybe there's some hidden link there at wicket's :? For the moment, if it's of your

Re: [Wicket-user] Wicket arguments for big slow companies (Was: links about wicket scalability...)

2006-09-26 Thread Erik van Oosten
I understand and I agree wholeheartedly. I appreciate and like your complete and thorough answers. But for BSCs (thanks for the TLA Che) we'll need terse and to the point arguments. I'll wait another day for some more comments and then write a little article about this discussion. Should be

Re: [Wicket-user] wicket.util.lang.PropertyResolver / migth bealittleofftopic

2006-09-26 Thread Nino Wael
Hmm, just went ahead and tried the original code, and it workedJ: private Object[] fillParameters() { Object param[] = new Object[parameters.size()]; for (int i = 0; i parameters.size(); i++) { Object[] params = (Object[]) parameters.get(i); Class clazz = (Class) params[0];

Re: [Wicket-user] AJAX Events - which key?

2006-09-26 Thread ChuckDeal
I think I was having a problem because I was using AjaxFormComponentUpdatingBehavior to update the listbox when the textfield changed. I wanted to add the Enter capability to that and that is where I got a little confused. What seems to work is overriding the getCallbackScript of the original

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Eelco Hillenius
Perhaps another argument, that I did not mention yet, is that the next version of wicket will also provide other ways for storing session state. That exists today/ for 2.0 and 1.2 actually. Session represents the session state, but ISessionStore hides where the information is actually stored.

Re: [Wicket-user] License for CMS (components)

2006-09-26 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Agreed. Apache or BSD is my vote. I'm much less likely to use anything under the (L)GPL license. IMNSHO, that the LGPL preserves the gist of the GPL isn't a good a thing. ;) Martijn Dashorst wrote: I'm very biased against LGPL. The letter

Re: [Wicket-user] Wicket arguments for big slow companies (Was: links about wicket scalability...)

2006-09-26 Thread Eelco Hillenius
IMHO, what you describe here is 'flexible development' (I am avoiding the term Agile) rather then reusability and maintainability. Can you agree with this (somewhat condensed) assessment? Sure, whatever works for you :) What I tried to get across is that I don't think reusability and

Re: [Wicket-user] Wicket arguments for big slow companies (Was: links about wicket scalability...)

2006-09-26 Thread Eelco Hillenius
* Very small learning curve. Comment: Agreed. But I still think you need at least one more experienced Wicket developers for more advanced things like manipulating html generated by other components. Of course, books like 'Pro Wicket' help a lot but are not for

[Wicket-user] Problem Selecting Tree Nodes

2006-09-26 Thread Karl M. Davis
Matej, I'm getting an ArrayIndexOutOfBounds when I go to select a tree node right after it has been inserted into the treewhen I callTree.updateTree(target); (my tree model is firing the correct events). If you'd like, I can get you a test case for this in a day or two, but I just wanted

Re: [Wicket-user] Wicket arguments for big slow companies (Was: links about wicket scalability...)

2006-09-26 Thread Eelco Hillenius
I'm missing my favorites :) - Scales very well for development. Whether you're working in a team of 2 people or 20, you'll have all the possibilities of breaking functionality down in smaller pieces. Let your developers works on whole pages, or just (reusable) panels, or even on highly

Re: [Wicket-user] License for CMS (components)

2006-09-26 Thread Martijn Dashorst
I'm very biased against LGPL. The letter of the license is not applicable for Java use, and LGPL is strongly at odds with Apache license. If at some time we would like to adopt such components when we arrive at Apache, then this will prohibit reusing any code from this project. I'm in favor of

Re: [Wicket-user] Problem Selecting Tree Nodes

2006-09-26 Thread Karl M. Davis
Matej, I got and installed the latest SVN rev right before I sent the email. I should have some time Wed. to put together a quick test case for you. Should I just mimic one of the existing Junit tests or can I just send you a class html file? -- Karl -Original Message- From: [EMAIL

Re: [Wicket-user] Wicket arguments for big slow companies (Was: links about wicket scalability...)

2006-09-26 Thread Erik van Oosten
Hi Eelco, Nino, I'm not even sure whether I agree :) Wicket can be hard for people that are not comfortable with OO programming... I did not have a very small learning curve, nor did the two other consultants working here. I guess 'very small learning curve' is off then. I must

Re: [Wicket-user] wicket.util.lang.PropertyResolver / migth be a littleofftopic

2006-09-26 Thread Nino Wael
fillParameters should have looked like this private Object[] fillParameters() { Object param[] = new Object[parameters.size()]; for (int i = 0; i parameters.size(); i++) { Object[] params = (Object[]) parameters.get(i); Class clazz = (Class) params[0]; param[i] =

Re: [Wicket-user] wicket.util.lang.PropertyResolver / migth be alittleofftopic

2006-09-26 Thread Nino Wael
So there is no simple solution like this, which does not work: param[i] = (clazz) ((IModel) params[1]).getObject(null); or (purely fictional) param[i] = (clazz.getType) ((IModel) params[1]).getObject(null); From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [Wicket-user] AJAX Events - which key?

2006-09-26 Thread Igor Vaynberg
a less intrusive way would be to use an AjaxCallDecorator to wrap the script in the same way.-IgorOn 9/26/06, ChuckDeal [EMAIL PROTECTED] wrote:I think I was having a problem because I was using AjaxFormComponentUpdatingBehavior to update the listbox when the textfieldchanged.I wanted to add the

Re: [Wicket-user] AJAX Events - which key?

2006-09-26 Thread ChuckDeal
igor.vaynberg wrote: a less intrusive way would be to use an AjaxCallDecorator to wrap the script in the same way. -Igor I tried the AjaxCallDecorator approach, but it did not work. Fundamentally, it looks like the same code; so, what did I miss? protected IAjaxCallDecorator

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
On 9/26/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Perhaps another argument, that I did not mention yet, is that the next version of wicket will also provide other ways for storing session state.That exists today/ for 2.0 and 1.2 actually. Ok, thanks for the clarification. But, in my

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Igor Vaynberg
When can we expect to see the first alpha and beta releases for 2.0 in the maven2 repository? This would be nice for use since then we could start using it already (I don't want to distribute the jars with my project).http://maven.sateh.com/wicket/-Igor

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Eelco Hillenius
Good question. I'll propose on the dev list. Eelco On 9/26/06, Erik Brakkee [EMAIL PROTECTED] wrote: On 9/26/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Perhaps another argument, that I did not mention yet, is that the next version of wicket will also provide other ways for storing

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Eelco Hillenius
Ah, yeah. We have the snapshots to start with. Eelco On 9/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: When can we expect to see the first alpha and beta releases for 2.0 in the maven2 repository? This would be nice for use since then we could start using it already (I don't want to

Re: [Wicket-user] ajax refresh on date picker

2006-09-26 Thread Pierre-Yves Saumont
Is it fixed only in trunk or also in releases ? Pierre-Yves Matej Knopp a écrit : The problem was that AjaxRequestTarget called component.renderHead(), without calling rendered() on component behaviors after that (co the thread local has not been cleaned). The fix is in SVN. Can you

Re: [Wicket-user] ajax refresh on date picker

2006-09-26 Thread samyem
So far so good. Now if only the z-index issue can be cleanly fixed. I still have other issues that I'll post in other threads. - Samyem Matej Knopp wrote: The problem was that AjaxRequestTarget called component.renderHead(), without calling rendered() on component behaviors after that (co

[Wicket-user] AjaxSubmitButton does not disable

2006-09-26 Thread samyem
When I do setEnabled(false) on AjaxSubmitButton component, it does not disable the button. However, it seems to work for other components like textbox and checkboxes. Looks like a wicket problem? For now, I have had to override onComponentTag and manually set the disabled attribute on the tag. Is

Re: [Wicket-user] ajax refresh on date picker

2006-09-26 Thread Matej Knopp
It also is fixed in wicket-1.x -Matej Pierre-Yves Saumont wrote: Is it fixed only in trunk or also in releases ? Pierre-Yves Matej Knopp a écrit : The problem was that AjaxRequestTarget called component.renderHead(), without calling rendered() on component behaviors after that (co the

Re: [Wicket-user] AjaxSubmitButton does not disable

2006-09-26 Thread Matej Knopp
I don't think it is a feature. Seems more like a bug to me. -Matej samyem wrote: When I do setEnabled(false) on AjaxSubmitButton component, it does not disable the button. However, it seems to work for other components like textbox and checkboxes. Looks like a wicket problem? For now, I have

Re: [Wicket-user] Problem Selecting Tree Nodes

2006-09-26 Thread Karl M. Davis
Matej, Ended up with some extra free time today. I took a look at the existing unit tests and didn't see any that jumped out at me for testing the tree component. So instead of a unit test, I put together a modified version of wicket.examples.ajax.builtin.tree.BaseTreePage that has an added

Re: [Wicket-user] Wicket2: table inside of tabpanel

2006-09-26 Thread Stefan Lindner
The span class=tab-panel markup is generated by the tab panel component of wicket extensions automatically. I have no chance to change this. The source code for the tabpanel component must be modified. Stefan Lindner --- It's up to you to use a div instead of a span. Just change your

Re: [Wicket-user] Wicket2: table inside of tabpanel

2006-09-26 Thread Igor Vaynberg
just committed this change into trunk.-IgorOn 9/26/06, Stefan Lindner [EMAIL PROTECTED] wrote: The span class=tab-panel markup is generated by the tab panel component of wicket extensions automatically. I have no chance to changethis. The source code for the tabpanel component must be

[Wicket-user] rendering of a collection property in a PropertyColumn

2006-09-26 Thread Jaime De La Jara
Hi, playing with the phonebook example app I added a collection field to Contact class, this field is a collection of instances of class Address which has two String fields : city and street. I'd like to display a drop down choice containing the street property for each address instance that a

Re: [Wicket-user] Problem Selecting Tree Nodes

2006-09-26 Thread Matej Knopp
Thanks for the example. Fix is in SVN (both 1-x and 2.0), would you mind trying it? I also fixed the refresh of item before the added ( or removed) item, so that the tree lines are changed properly. -Matej Karl M. Davis wrote: Matej, Ended up with some extra free time today. I took a

Re: [Wicket-user] rendering of a collection property in a PropertyColumn

2006-09-26 Thread Igor Vaynberg
dont quote me on thisin MyPage.htmlwicket:fragment id=addresses-fragselect wicket:id=dropdown/select/wicket:fragmentclass MyPage {class AddressColumn extends AbstractColumn { void populateItem(final Item cellItem, final String componentId, final IModel rowModel) { Fragment frag=new

Re: [Wicket-user] Wicket-user Digest, Vol 4, Issue 234

2006-09-26 Thread Stefan Lindner
The source for TabbedPanel.html (wicket 2.0 svn checkout today) reads wicket:panel div class=tab-row ul li wicket:id=tabs a href=# wicket:id=linkspan wicket:id=title[[tabtitle]]/span/a /li /ul /div

Re: [Wicket-user] Wicket2: table inside of tabpanel

2006-09-26 Thread Stefan Lindner
just committed this change into trunk. -Igor Thank you Igor! Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT

[Wicket-user] RunAs java/debug

2006-09-26 Thread Patrick Angeles
Pardon the newbie question... but... I run the 'Start' classes in the examples that call the Jetty servlet engine... all is well and good. But is there a more elegant way of stopping/restarting, apart from dropping to the command line and issuing a 'kill -9' command? -- View this message in

Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread Igor Vaynberg
on the console window there is a little red square - just click that :)-IgorOn 9/26/06, Patrick Angeles [EMAIL PROTECTED] wrote:Pardon the newbie question... but... I run the 'Start' classes in the examples that call the Jetty servletengine... all is well and good.But is there a more elegant way

Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread Igor Vaynberg
those classes are meant to be launched from an ide. jetty has a shutdown port or something similar, read the jetty docs.-igorOn 9/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: on the console window there is a little red square - just click that :)-IgorOn 9/26/06, Patrick Angeles [EMAIL

Re: [Wicket-user] ajax refresh on date picker

2006-09-26 Thread Pierre-Yves Saumont
It works now much better, but still not correctly. Changing the locale when the datepicker is not displayed, and then loading the datepicker through Ajax dont work. The datepicker does not use the new locale. I finally decided to apply the solution proposed by Eelco (only change locale through

Re: [Wicket-user] Wicket2: table inside of tabpanel

2006-09-26 Thread Pierre-Yves Saumont
Sorry I misunderstood. I use the TabbedPanel through extending AjaxTabbedPanel which itslef extends TabbedPanel. So I provide the markup. By the way, I had not noticed that the parent class TabbedPanel had it's own markup. So I am now a bit confused: what happen to the parent markup if the

Re: [Wicket-user] ajax refresh on date picker

2006-09-26 Thread Eelco Hillenius
I finally decided to apply the solution proposed by Eelco (only change locale through a normal link so that the whole page is reloaded) although I feel it is like closing our eyes and pretended the problem is solved. I don't agree with that. Changing the locale potentially has effect on the

Re: [Wicket-user] Wicket2: table inside of tabpanel

2006-09-26 Thread Igor Vaynberg
if you dont use wicket:extend+wicket:child the subclass completely overrides the parent's markup-IgorOn 9/26/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:Sorry I misunderstood. I use the TabbedPanel through extending AjaxTabbedPanel which itslef extends TabbedPanel. So I provide the markup.By

Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread Johan Compagner
Yeah igor!Please use the elegant shutdown of jetty! and then look what is generated in the log for saving the session ;)johanOn 9/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: those classes are meant to be launched from an ide. jetty has a shutdown port or something similar, read the jetty

Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread Igor Vaynberg
go to window/preferences/general/keyscategory: Run/DebugName: Terminate or Terminate and Relaunchso how much is your kingdom worth?-IgorOn 9/26/06, James McLaughlin [EMAIL PROTECTED] wrote: it astounds me that eclipse doesn't have some full fist, quintuple buckey key combo for this. I have

Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread Igor Vaynberg
naah, cause then i have to fix that stuff instead of you :)-IgorOn 9/26/06, Johan Compagner [EMAIL PROTECTED] wrote:Yeah igor!Please use the elegant shutdown of jetty! and then look what is generated in the log for saving the session ;) johanOn 9/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote:

[Wicket-user] Forms/Models

2006-09-26 Thread Patrick Angeles
I wrote the following code with Forms and Models... is there a more compact way of doing this? Would it be a bad idea to combine the form class and the model class into one and have it reference itself as a Model object? Also, since I am not so concerned about holding on to the model's state

Re: [Wicket-user] Forms/Models

2006-09-26 Thread Igor Vaynberg
it really depends on the reusability you want.do you want loginform to be reusable?do you want loginmodel to be reusable?if the answer to both is no then you can just doclass Login extends WebPage { private String login; private String password; public Login() { Form form=new Form(form, new

Re: [Wicket-user] rendering of a collection property in a PropertyColumn

2006-09-26 Thread Jaime De La Jara
I tried the code, but it throws the following exception :Exception : wicket.markup.MarkupException: Markup does not contain a fragment with id=addr-frag; Component: [MarkupContainer [Component id = cell, page = wicket.contrib.phonebook.web.page.ListContactsPage, path =

Re: [Wicket-user] rendering of a collection property in a PropertyColumn

2006-09-26 Thread Igor Vaynberg
you need to be more careful when copying code :)Fragment frag=new Fragment(componentId, addresses-frag, Mypage.this);which in your case would be Fragment frag=new Fragment(componentId, addresses-frag, ListContactsPage.this);-IgorOn 9/26/06, Jaime De La Jara [EMAIL PROTECTED] wrote: I tried the

Re: [Wicket-user] Forms/Models

2006-09-26 Thread Patrick Angeles
Thanks... that's exactly what I was looking for ;)So I take it, CompoundPropertyModel does not require get/set methods to access/mutate properties? (I think I have to make login public, in this case?) On 9/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: it really depends on the reusability you

Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread James McLaughlin
Well, its more a kingdom of pain, which i guess i should have mentioned upfront. Never doubted you would provide an answer though. But honestly, I am running 3.2 and the Terminate/Terminate and Relaunch option just isn't there. Curses! On 9/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: go to

Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread Frank Bille
On 9/26/06, James McLaughlin [EMAIL PROTECTED] wrote: Well, its more a kingdom of pain, which i guess i should have mentioned upfront. Never doubted you would provide an answer though. But honestly, I am running 3.2 and the Terminate/Terminate and Relaunch option just isn't there. Curses! It is if

Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread Igor Vaynberg
On 9/26/06, Frank Bille [EMAIL PROTECTED] wrote: On 9/26/06, James McLaughlin [EMAIL PROTECTED] wrote: Well, its more a kingdom of pain, which i guess i should have mentioned upfront.yeah, i had a feeling about that...-Igor Never doubted you would provide an answer though. But honestly, I am

Re: [Wicket-user] Forms/Models

2006-09-26 Thread Martijn Dashorst
I thought this is in his private 1.3 branch On 9/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we have been talking about letting it access private fields directly so you dont have to implement the pesky getters/setters. not sure if that has been committed yet. johan? -Igor On 9/26/06,

Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread James McLaughlin
There is no question the mighty Igor can not answer! Now I have my own finger crunching quintuple buckey for killing and relaunching applications. A million thank yous. And to you too Frank.jim On 9/26/06, Frank Bille [EMAIL PROTECTED] wrote: On 9/26/06, James McLaughlin [EMAIL PROTECTED] wrote:

Re: [Wicket-user] ajax refresh on date picker

2006-09-26 Thread Pierre-Yves Saumont
Well, I believe a functionnality should work whatever teh reason you have to use it. I agree it make sense to refresh the whole page... if it is what you want. If it is not what you need, it makes very little sense. Of course, it it does not work, I will not use it. No choice. But I think it

Re: [Wicket-user] ajax refresh on date picker

2006-09-26 Thread Eelco Hillenius
It is the same kind of problem we have with character encoding. Every time someone has a problem with encoding, the answer can be use XXX encoding for all and there will be no problem. This is false AND irrelevant. Well, I guess we hoped that UTF-8 would just work for everyone. It's certainly

Re: [Wicket-user] ajax refresh on date picker

2006-09-26 Thread Matej Knopp
The reason why locale switching using ajax link on datepicker is, that ajax header contribution is for performance reasons done only once per component instance (until the entire page is refreshed). The reason is reduce amount of data sent to browser on every ajax call. The Unicode problem also