improved resource bundles in 1.4

2008-10-30 Thread Igor Vaynberg
i just committed a patch for WICKET-1103 which greatly improves i18n in wicket. first: you can have validators provide their own bundles. eg MyValidator.properties that is next to MyValidator.java. These keys are searched last - after the application.properties - which will allow you to override

Re: improved resource bundles in 1.4

2008-10-30 Thread Jeremy Thomerson
Awesome! Thanks!! -- Jeremy Thomerson http://www.wickettraining.com On Thu, Oct 30, 2008 at 1:00 AM, Igor Vaynberg [EMAIL PROTECTED]wrote: i just committed a patch for WICKET-1103 which greatly improves i18n in wicket. first: you can have validators provide their own bundles. eg

Re: improved resource bundles in 1.4

2008-10-30 Thread Nino Saturnino Martinez Vazquez Wael
Yeah, really cool:) Igor Vaynberg wrote: i just committed a patch for WICKET-1103 which greatly improves i18n in wicket. first: you can have validators provide their own bundles. eg MyValidator.properties that is next to MyValidator.java. These keys are searched last - after the

Re: inmethod / grid website?

2008-10-30 Thread Nino Saturnino Martinez Vazquez Wael
It would be great if you could write a bit about it on wicketstuff wiki.. And which license are it under? It looks really cool btw. Matej Knopp wrote: There is branch for Wicket 1.3 in Wicketstuff SVN. -Matej On Wed, Oct 29, 2008 at 10:41 PM, Edvin Syse [EMAIL PROTECTED] wrote: What

Re: inmethod / grid website?

2008-10-30 Thread Edvin Syse
Thanks, that worked great. I'm really impressed by this component, and I think it would be very good for Wicket in general that this gets more available to people, including some examples. I'd be happy to write examples and wiki-pages once I understand a bit more of it, btw. -- Edvin Matej

Re: Need to change the image in AJAX TREE

2008-10-30 Thread geke
see the Class http://www.nabble.com/file/p20242569/WicketDmsTree.java WicketDmsTree.java newbie_to_wicket wrote: i've to change the Ajax tree images folder open and folder close with other images. can any body let me know once how do we do this by programmatically in wicket.

Double-click to select row - inmethod grid

2008-10-30 Thread Edvin Syse
Hi, I subclassed the AbstractGrid class to enable double-click to select a row instead of single-click, since it is handy to be able to click in a row to copy text etc, and then use double-click to select instead. Wouldn't this be a nice addition to the AbstractGrid class? Here is my

Hot deployment / Server restart

2008-10-30 Thread geke
Hi, on every change in my HTML or Java file the tomcat 6.0 server restarts completely, for example if I change the css definitions. This is annoying and primarily time-consuming. Is there a possibility that the server only restarts, if for example the method signature in the java file or a tag

Re: Hot deployment / Server restart

2008-10-30 Thread Martin Grigorov
Wicket doesn't control the lifecycle of the web container. There is something else that triggers the restart (maybe the IDE ?!). On Thu, 2008-10-30 at 01:46 -0700, geke wrote: Hi, on every change in my HTML or Java file the tomcat 6.0 server restarts completely, for example if I change the

Re: Hot deployment / Server restart

2008-10-30 Thread geke
My IDE is eclipse-jee-ganymede. Where can I find such information? martin-g wrote: Wicket doesn't control the lifecycle of the web container. There is something else that triggers the restart (maybe the IDE ?!). On Thu, 2008-10-30 at 01:46 -0700, geke wrote: Hi, on every change in

Re: Hot deployment / Server restart

2008-10-30 Thread francisco treacy
i suggest you use the jetty container for development. you can find a perfect working example in the wicket quickstart archetype: http://wicket.apache.org/quickstart.html francisco On Thu, Oct 30, 2008 at 10:11 AM, geke [EMAIL PROTECTED] wrote: My IDE is eclipse-jee-ganymede. Where can I find

Re: Hot deployment / Server restart

2008-10-30 Thread Witold Czaplewski
In your context.xml did you set the attribute reloadable on true? On true catalina monitors classes in /WEB-INF/classes for changes and automatically reloads the application. Am Thu, 30 Oct 2008 02:31:08 -0700 (PDT) schrieb geke [EMAIL PROTECTED]: No I´m working with Tomcat 6.0

I've got the dreaded org.hibernate.LazyInitializationException with WicketTester

2008-10-30 Thread Nino Saturnino Martinez Vazquez Wael
Hi I am doing this: applicationContext = new ClassPathXmlApplicationContext( classpath*:/META-INF/beans.xml); final WicketApplication application = new WicketApplication(); application.setApplicationContext(applicationContext); wicketTester = new

[proposal] Recipies on wiki?

2008-10-30 Thread Nino Saturnino Martinez Vazquez Wael
Should we have a recipies page on the wicket wiki? Where you can post things that are too small to go into our wicket stuff svn ? -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684

Re: inmethod / grid website?

2008-10-30 Thread Matej Knopp
The license is ASL2. As for wiki, I wouldn't mind if someone put a brief info to wicketstuff wiki. I can't do that, I can't get to wicketstuff. Some firewall issue. -Matej On Thu, Oct 30, 2008 at 7:29 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: It would be great if you

Re: Migration to 1.4 - generic headache

2008-10-30 Thread Johan Compagner
i added my comments on how generics should be in a javalobby/dzone thread about java 7: http://java.dzone.com/articles/java-7-and-art-patience couldnt help myself :) I think java 7 could help wicket in 2 areas generics: class FooT default Void { Foo(){} Foo(BarT){} } better

Re: Hot deployment / Server restart

2008-10-30 Thread geke
No I´m working with Tomcat 6.0 francisco treacy-2 wrote: i suggest you use the jetty container for development. you can find a perfect working example in the wicket quickstart archetype: http://wicket.apache.org/quickstart.html francisco On Thu, Oct 30, 2008 at 10:11 AM, geke [EMAIL

RE: improved resource bundles in 1.4

2008-10-30 Thread Kai Mütz
Igor Vaynberg mailto:[EMAIL PROTECTED] wrote: i just committed a patch for WICKET-1103 which greatly improves i18n in wicket. first: you can have validators provide their own bundles. eg MyValidator.properties that is next to MyValidator.java. These keys are searched last - after the

Re: [proposal] Recipies on wiki?

2008-10-30 Thread James Carman
I thought we had something like that. I posted my focus on me behaviour thingy on the wiki somewhere. On Thu, Oct 30, 2008 at 7:34 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Should we have a recipies page on the wicket wiki? Where you can post things that are too small

Re: Hot deployment / Server restart

2008-10-30 Thread John Krasnay
You can fix this through Eclipse too... - double-click your Tomcat server in your Servers view - select the Modules tab on the resulting editor page - select your application module and click Edit - de-select Auto reloading enabled and click OK - save the editor page and restart Tomcat jk On

Re: I've got the dreaded org.hibernate.LazyInitializationException with WicketTester

2008-10-30 Thread James Carman
IMHO, you shouldn't really be using real hibernate with wicket tester. You should be using mock objects. On Thu, Oct 30, 2008 at 6:37 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I am doing this: applicationContext = new ClassPathXmlApplicationContext(

Re: [proposal] Recipies on wiki?

2008-10-30 Thread Nino Saturnino Martinez Vazquez Wael
Well I dont believe theres a real recipe page.. Im just thinking that it would be very nice to have these things linked together somewhere, before the wiki gets too much out of control... James Carman wrote: I thought we had something like that. I posted my focus on me behaviour thingy on

Re: I've got the dreaded org.hibernate.LazyInitializationException with WicketTester

2008-10-30 Thread Nino Saturnino Martinez Vazquez Wael
Is this the general consensus that this are the way todo stuff? BTW I think I got away with the error before because I ran in an extended persistence context, but this approach has unwanted effects on performance etc.. James Carman wrote: IMHO, you shouldn't really be using real hibernate

Re: I've got the dreaded org.hibernate.LazyInitializationException with WicketTester

2008-10-30 Thread James Carman
I would say that if you're trying to test your components, you should try to do that without a database (whether its an in-memory HSQLDB database or not). The only thing I usually actually use a database for is when I'm trying to test my queries (and inserts/deletes, etc.) in my repository

Re: I've got the dreaded org.hibernate.LazyInitializationException with WicketTester

2008-10-30 Thread Nino Saturnino Martinez Vazquez Wael
Im trying todo some integration tests and not component testing. I completely agree if it's unit testing then you should mock it up.. James Carman wrote: I would say that if you're trying to test your components, you should try to do that without a database (whether its an in-memory HSQLDB

Re: [proposal] Recipies on wiki?

2008-10-30 Thread Jeremy Thomerson
wicketstuff-minis? I haven't looked at that project in a long while, but I thought that's what it was for. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Oct 30, 2008 at 6:34 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Should we have a recipies page on the

Re: improved resource bundles in 1.4

2008-10-30 Thread Igor Vaynberg
On Thu, Oct 30, 2008 at 5:13 AM, Kai Mütz [EMAIL PROTECTED] wrote: package-level properties sounds good. This is what I am looking for currently. Is there a plan to port PackageStringResourceLoader to 1.3.x branch? no plan so far. this is a new feature and we dont generally roll new features

Re: [proposal] Recipies on wiki?

2008-10-30 Thread Nino Saturnino Martinez Vazquez Wael
No I mean stuff thats too small for even minis, or stuff thats just very small and no general enough to put in minis.. Jeremy Thomerson wrote: wicketstuff-minis? I haven't looked at that project in a long while, but I thought that's what it was for. -- -Wicket for love Nino Martinez

Wicket 1.4-m3, wicket-auth-roles and Context Path

2008-10-30 Thread Alan Romaniusc
I mm trying to test the dumbest example of wicket auth roles, using examples in 1.4 m3 zip, and just extends pages that can be found there. Everytime that I log in, I was expected to be redirected from login to page that I tried to access, but I am being redirected to the correct page, but

RE: JFreeChart component

2008-10-30 Thread jwray
Good idea, I wasn't aware the wiki was open. http://cwiki.apache.org/confluence/display/WICKET/JFreeChart+with+clickable+imagemap Hoover, William wrote: Why not post your solution to the wiki? -Original Message- From: jwray [mailto:[EMAIL PROTECTED] Sent: Wednesday, October

Re: Migration to 1.4 - generic headache

2008-10-30 Thread Edward
Well I'll speak up and say I don't like generics in Wicket. I like them in other places... just not here. It is a lot of extra ugly code just to fix the rare occurrence that I have to cast the model object. Not to mention in my opinion it breaks the data abstraction the model provides.

Re: IE7 ignores AjaxButton onSubmit when I use the keyboard enter key

2008-10-30 Thread mallet
Solution: Igor's solution worked. I just had to make one small fix in my java code for my modal. The problem was that the DOM contained no element with id = okButton. A co-worker of mine pointed out that the id I assign to my submit input in the HTML template is being overwritten by Wicket

RE: improved resource bundles in 1.4

2008-10-30 Thread Kai Mütz
Igor Vaynberg mailto:[EMAIL PROTECTED] wrote: On Thu, Oct 30, 2008 at 5:13 AM, Kai Mütz [EMAIL PROTECTED] wrote: package-level properties sounds good. This is what I am looking for currently. Is there a plan to port PackageStringResourceLoader to 1.3.x branch? no plan so far. this is a new

Re: Migration to 1.4 - generic headache

2008-10-30 Thread Johan Compagner
i agree and we only need 2 things to be fixed improved by sun and then all the current problems are completely gone But i guess we never get them Because they find JavaFX way more importand.. I am glad the focused on that because it gave us Java6U10 but that whole JavaFX i dont have much hope

Ajax self updating label cause browser problems

2008-10-30 Thread d1rk
Hello! We implemented a little AJAX based counter which shows the user how long a file is locked. It counts down the time from for example 60 seconds to 0 seconds. On the same page are some Form elements. In Opera everything is fine, in Firefox it seems that the whole page is updated every

Re: Migration to 1.4 - generic headache

2008-10-30 Thread Ricky
I don't know if i should speak up amongst elite group of people discussing, but hey i'll try ... :) From what i understand most people have issues with readability of generics; but as i have indicated time and again as java improves and generic types become reified; and java becomes inferred

Moving from Tapestry to Wicket?

2008-10-30 Thread GK1971
Hi. I hope this email is appropriate for the forum - its my first time posting. My partner and I are in the process of working on a site that currently uses Tapestry 4 and must be reasonably scalable vertically (we have horizontally covered in a road map). I am looking around at technologies

Re: Moving from Tapestry to Wicket?

2008-10-30 Thread Daniel Frisk
I actually read your mail but I didn't quite get it, what is your main concern? It seems to me like Wicket would be a perfect fit to your four criteria. // Daniel jalbum.net On 2008-10-30, at 21:05, GK1971 wrote: Hi. I hope this email is appropriate for the forum - its my first time

Re: Moving from Tapestry to Wicket?

2008-10-30 Thread GK1971
Hi. You are possibly correct. My main concern is that I have to upgrade from Tapestry 4 to... something. Given that Tapestry 5 is not compatible in the least I have allowed myself to look at the options. I guess I am really asking for reasons to move from Tapestry to Wicket - particularlu if

Issue with nested forms

2008-10-30 Thread Andrew Berman
Hello, I am using Wicket 1.3.5 and I created a panel which contains a form. I have a parent template page and a child of the parent page, both of which contain an instance of the panel. However, even if I give the panels two different ids, I get an error like: The component [MarkupContainer

Re: problem with PropertyModel and setDefaultFormProcessing(false) for button

2008-10-30 Thread Timo Rantalaiho
On Tue, 28 Oct 2008, itayh wrote: I have a page that contain a hidden form. When the user press on Add Item or Edit Item then I set the visability of the form to true and the user can add details and the OK button save the data and set the visability of the form to false. The problem is if

Re: set the feedback message to js function

2008-10-30 Thread rolandpeng
thank you,igor here is my try and that work. But how could I display message only in alert dialog instead of both feedback panel and alert dialog? thanks. roland. -- HeaderContributor alert = new HeaderContributor( new IHeaderContributor() { public void renderHead(IHeaderResponse