Re: [Wicket-user] wicket-ajax and firefox 1.06

2006-09-07 Thread Tomer Mevorach
I get it consistently in ff 1.06. It never happened to me in ff 1.5. Igor Vaynberg wrote: heh, i have never seen this error before. but just now i was using confluence - starred a page (which is done using their ajax stuff) - and bam got this error. how weird. i am using 1.5.0.6

[Wicket-user] shades project on sourceforge

2006-09-07 Thread Geoff hendrey
Yo yo yo, I have created a sourceforge project for Shades. http://sourceforge.net/projects/shadesdb For those who are interested, Shades is an Object/Relational mapping system with no XML nor annotation configuration. In that regard, it is inspired by Wicket. In writing Shades, I hope I have

Re: [Wicket-user] DateTable with alternating row color

2006-09-07 Thread Stefan Lindner
From: Igor Vaynberg [EMAIL PROTECTED] i just tried examples in the trunk and it seems to work just fine using the DefaultDataTable. Dear Igor, you tried it with wicket 2.0 from current trunk? Stefan winmail.dat- Using

Re: [Wicket-user] Auto extend webpage for plain html file ?

2006-09-07 Thread Igor Vaynberg
there are examples in extensions already that load markup from a different place - all you have to do is pass a parameter to the page - maybe a file name - and that page can use the markup from that file to render itself. or another way is to use a regular page that adds a label whose model points

Re: [Wicket-user] wicket-ajax and firefox 1.06

2006-09-07 Thread Igor Vaynberg
i dont think any of us still have ff 1.06 - thats like supporting ie4 :) any reason why you are not keeping your ffox up to date?-IgorOn 9/6/06, Tomer Mevorach [EMAIL PROTECTED] wrote: I get it consistently in ff 1.06.It never happened to me in ff 1.5.Igor Vaynberg wrote: heh, i have never seen

Re: [Wicket-user] DateTable with alternating row color

2006-09-07 Thread Igor Vaynberg
yep-IgorOn 9/6/06, Stefan Lindner [EMAIL PROTECTED] wrote: From: Igor Vaynberg [EMAIL PROTECTED]i just tried examples in the trunk and it seems to work just fine using theDefaultDataTable. Dear Igor, you tried it with wicket 2.0 from current

Re: [Wicket-user] wicket-ajax and firefox 1.06

2006-09-07 Thread Tomer Mevorach
to be honest, we discovered it by mistake, as we have some test machines with fedora core 4 there were not updated. Anyway, we need to inform our customers which versions of ff we support. Tomer Igor Vaynberg wrote: i dont think any of us still have ff 1.06 - thats like supporting ie4 :) any

Re: [Wicket-user] shades project on sourceforge

2006-09-07 Thread Martijn Dashorst
I added a link on the Wiki (under external links) On 9/7/06, Geoff hendrey [EMAIL PROTECTED] wrote: Yo yo yo, I have created a sourceforge project for Shades. http://sourceforge.net/projects/shadesdb For those who are interested, Shades is an Object/Relational mapping system with no XML

[Wicket-user] Testing Wicket application

2006-09-07 Thread Pierre-Yves Saumont
Hello, I would be interested to hear about your experience in testing Wicket application, particularly using Ajax. My experience, after one week trying several solutions, is not so good. I tried jWebUnit and ad a lot of problems with scripts. So I downgrade to HtmlUnit to found that the

Re: [Wicket-user] Testing Wicket application

2006-09-07 Thread Martijn Dashorst
Take a look at selenium. That runs inside your browser, and makes recording of tests pretty easy with the selenium ide. The tests will be rather slow but much faster than running them by hand. jWebUnit (Julien Henry) is currenlty working on integrating selenium runner as one of the drivers.

Re: [Wicket-user] Testing Wicket application

2006-09-07 Thread Matej Knopp
Pierre-Yves Saumont wrote: Hello, I would be interested to hear about your experience in testing Wicket application, particularly using Ajax. My experience, after one week trying several solutions, is not so good. I tried jWebUnit and ad a lot of problems with scripts. So I downgrade

[Wicket-user] Custom date component...

2006-09-07 Thread Erik Brakkee
Hi, I have tried to use the DatePicker component but somehow it doesn't really work on Firefox 1.5 on linux. For instance, it only shows the even years, and has strange behavior resetting fields. Therefore, I want to write my own date component. Very simple, three drop down choices for year,

[Wicket-user] Abstraction of Google Maps API?

2006-09-07 Thread Peter Neubauer
Hi there, I'm just wondering if anyone has done some abstration for a Google Map panel for Wicket in order to display points of interest etc in e.g. a Panel? /peter - Using Tomcat but need to do more? Need to support web

Re: [Wicket-user] Abstraction of Google Maps API?

2006-09-07 Thread Erik van Oosten
You might want to take a look at jMaki. It provides 'components' that you can extract and Wicketify. The available components allow mashing with Google Maps, Yahoo Maps, Yahoo Geocoder and Flickr. jmaki home: https://ajax.dev.java.net/ jmaki sample app: http://www.javaserver.org/jmaki/

[Wicket-user] Normalizing phone numbers with a Converter

2006-09-07 Thread Stefan Arentz
I have an entity with a phoneNumber field. The format of this phone number is +9912345678..., the international number notation. What I want to do is to have a text field that accepts phonenumbers in different formats. For example 0612345678, 06 12345678 but also +31612345678. Based on the locale

Re: [Wicket-user] Abstraction of Google Maps API?

2006-09-07 Thread Frank Bille
There is something in Wicket-Stuff:http://svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-gmap/ http://svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-gmap-examples/On 9/7/06, Erik van Oosten [EMAIL PROTECTED] wrote:You might want to take a look at jMaki. It provides

Re: [Wicket-user] wicket-ajax and firefox 1.06

2006-09-07 Thread Frank Bille
HeyPlease update the FAQ if you have a spare minute:http://www.wicket-wiki.org.uk/wiki/index.php/FAQs#Which_browsers_has_been_tested_with_Wicket_AJAX FrankOn 9/7/06, Tomer Mevorach [EMAIL PROTECTED] wrote: to be honest, we discovered it by mistake, as we have some test machineswith fedora core 4

Re: [Wicket-user] shades project on sourceforge

2006-09-07 Thread middledot
Thanks Geoff, Will check it out soon. Les -- View this message in context: http://www.nabble.com/shades-project-on-sourceforge-tf2231475.html#a6188848 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but

[Wicket-user] Is it possible to surround a tag with extra tags in onComponentTag?

2006-09-07 Thread Roland Kaercher
Hello, I would like to have a component which extends Image and automatically adds some a href../a tags around the image tag in the markup. Is there an easy way to surround the img tag in the generated markup by overriding onComponentTag or am I trying the wrong way? kind regards, roland

Re: [Wicket-user] Testing Wicket application

2006-09-07 Thread Pierre-Yves Saumont
I just download Selenium and make my first test case. It works like a charm. It looks so smart I don't think I will ever want to use anything else for testing Web applications ! Thanks, Martijn ! Pierre-Yves Martijn Dashorst a écrit : Take a look at selenium. That runs inside your browser,

Re: [Wicket-user] Normalizing phone numbers with a Converter

2006-09-07 Thread Johan Compagner
Can you debug to see if the model that holds the number is getting the new objecteven if a validation error is thrown?Because that shouldn't happen. But it seems like it happens at your case becauseif you say that the object after the bad submit is converted then it has to come from the model

Re: [Wicket-user] Is it possible to surround a tag with extra tags in onComponentTag?

2006-09-07 Thread Johan Compagner
yes this is possible to do. But i think you need to do this in onRender()so write out the tags you want in front. then call super.onRender() and then afterwards write the closing stuff.johan On 9/7/06, Roland Kaercher [EMAIL PROTECTED] wrote: Hello,I would like to have a component which extends

Re: [Wicket-user] Auto extend webpage for plain html file ?

2006-09-07 Thread Ingram Chen
Thanks all ideas, I will try these to see which is better :-) On 9/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote:there are examples in extensions already that load markup from a different place - all you have to do is pass a parameter to the page - maybe a file name - and that page can use the

Re: [Wicket-user] Custom date component...

2006-09-07 Thread Johan Compagner
you could try to help us with the wicket-contrib-datepickerwhich should replace the current datepicker that we have in extentions.I don't have any problems with the datepicker in FF15 by the way. What exactly do you see? On 9/7/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi,I have tried to use the

Re: [Wicket-user] Abstraction of Google Maps API?

2006-09-07 Thread Peter Neubauer
cool, thanks a lot for the pointer! /peter On 9/7/06, Frank Bille [EMAIL PROTECTED] wrote: There is something in Wicket-Stuff: http://svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-gmap/ http://svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-gmap-examples/ On

Re: [Wicket-user] Normalizing phone numbers with a Converter

2006-09-07 Thread Stefan Arentz
I will create a simple and isolated test case and debug that. S. On 9/7/06, Johan Compagner [EMAIL PROTECTED] wrote: Can you debug to see if the model that holds the number is getting the new object even if a validation error is thrown? Because that shouldn't happen. But it seems like it

[Wicket-user] Fwd: Wicket WebApp as a Portlet (T-Systems - Barcelona)

2006-09-07 Thread Juergen Donnerstag
The request should go to our mailing list I assume. There are users with more portlet experience than I have. Juergen -- Forwarded message -- From: Manuel Barzi [EMAIL PROTECTED] Date: Sep 7, 2006 2:00 PM Subject: Wicket WebApp as a Portlet (T-Systems - Barcelona) To: [EMAIL

[Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Iman Rahmatizadeh
There's a problem with my app, where clicking on a link would generate an ArrayOutOfBoundsException. However, pressing the back button and clicking on any other link in the page would cause an infinite loop in the getPage method of Session, between lines 405 and 415 (Wicket 1.2.2),where the

Re: [Wicket-user] shades project on sourceforge

2006-09-07 Thread middledot
Hello Geoff, I've checked out Shades form sourceforge. Would it be possible to include a Wicket applications that takes advantage of Shades. For me the best way to learn/understand is to see an example in action. I know you have posted something on this list before but somehow I can't download

Re: [Wicket-user] Custom date component...

2006-09-07 Thread Erik Brakkee
Johan Compagner wrote: you could try to help us with the wicket-contrib-datepicker which should replace the current datepicker that we have in extentions. I didn't know about wicket-contrib. The only place I looked was in wicket-extensions. It doens't appear on the main wicket site. Where

Re: [Wicket-user] Is it possible to surround a tag with extra tags in onComponentTag?

2006-09-07 Thread Roland Kaercher
Wow! Thank you! This works so great, I just love the way things are solved in wicket :-) roland On 9/7/06, Johan Compagner [EMAIL PROTECTED] wrote: yes this is possible to do. But i think you need to do this in onRender() so write out the tags you want in front. then call super.onRender() and

Re: [Wicket-user] Is it possible to surround a tag with extra tags in onComponentTag?

2006-09-07 Thread Frank Bille
Just out of curiosity: Why don't create a custom component which extends Panel and then have a have a Link with an Image inside it. Then you don't have to mess with onRender and stuff.IMO it's more clean to do it in that way if you don't have a specific need for the component to have Image as

Re: [Wicket-user] shades project on sourceforge

2006-09-07 Thread Martijn Dashorst
Les, I think Geoff already posted a project on his blog: the library example was modified to take advantage of shades. Here's the relevant search query: http://woogle.billen.dk/search/q/shades%20example%20wicket Martijn On 9/7/06, middledot [EMAIL PROTECTED] wrote: Hello Geoff, I've checked

Re: [Wicket-user] Error: too much recursion for Date Widget

2006-09-07 Thread samyem
I noticed that I could use addOnLoadModifier. However, it makes me know the javascript to do the ajax. I wanted to do the way I've done it this quickstart. Is there a way I can make my onload ajax event behavior to actually work as it is? -Samyem samyem wrote: I found out that the error

[Wicket-user] wicket 1.2.1 and ModalDialog problem

2006-09-07 Thread shumbola
All, I've got this simple use case: On compose e-mail page click on some button that shows list of users in modal window and after user chooses the the user(s), the modal window closes and compose page updated with the address of choosen user. Here is the simple html test case: --compose.html

[Wicket-user] Library on Shades example

2006-09-07 Thread Geoff hendrey
Yes, I will include the Wicket/Shades Library example. Probably not get to it until this weekend. --- [EMAIL PROTECTED] wrote: Send Wicket-user mailing list submissions to wicket-user@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit

Re: [Wicket-user] Custom date component...

2006-09-07 Thread Andrew Lombardi
Erik,I had similar issues with the DatePicker for various reasons.  After some help from Nick and Igor I built a 3 dropdown component for choosing date similar to what you describe below.  Check out my blog entry for details on

[Wicket-user] Form.updateFormComponentModels() doesn't seem to be working

2006-09-07 Thread Jerry Smith
Ive got a simple Form with TextField(tf, new PropertyModel(myObj, text).setRequired(true). I have one non-Wicket submit button, and a wicket Button, with setDefaultFormProcessing set to false. In the onSubmit() of the Wicket button I call updateFormComponentModels(). If I put text in the

Re: [Wicket-user] Is it possible to surround a tag with extra tags in onComponentTag?

2006-09-07 Thread Roland Kaercher
I wanted to integrate the litebox javascript image viewer and thought this way i could use a LiteboxImage as drop in replacement for Image components but i guess i should rethink that. I just thought i could get away with this approach because the surrounding link tag isn't really used as one, but

Re: [Wicket-user] Abstraction of Google Maps API?

2006-09-07 Thread Iulian Costan
the project was created more than 1 year ago and because of lack of interest i stopped maintaining it. i am not sure it still works with latest codebase but at least i can take a look and fix any existing issues; so you can give it a try if you want. /iulianOn 9/7/06, Peter Neubauer [EMAIL

Re: [Wicket-user] Abstraction of Google Maps API?

2006-09-07 Thread Erik van Oosten
Nice. Is there an example application running somewhere? Erik. Frank Bille schreef: There is something in Wicket-Stuff: http://svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-gmap/ http://svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-gmap-examples/ --

Re: [Wicket-user] Abstraction of Google Maps API?

2006-09-07 Thread Eelco Hillenius
Well, you can run the example project... Eelco On 9/7/06, Erik van Oosten [EMAIL PROTECTED] wrote: Nice. Is there an example application running somewhere? Erik. Frank Bille schreef: There is something in Wicket-Stuff:

Re: [Wicket-user] Abstraction of Google Maps API?

2006-09-07 Thread Iulian Costan
just a quick fix and it is up now. please co http://svn.sourceforge.net/viewvc/wicket-stuff/branches/WICKET_1_2/wicket-contrib-gmap/ http://svn.sourceforge.net/viewvc/wicket-stuff/branches/WICKET_1_2/wicket-contrib-gmap-examples/ and try it out. let me know if you have any other

Re: [Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Johan Compagner
Can you reproduce this in a sample and make a bug report out of it?The used pages should be cleared in a finaly block in the page detach.IF that doesn't happen somehow then that is a bug.johan On 9/7/06, Iman Rahmatizadeh [EMAIL PROTECTED] wrote: There's a problem with my app, where clicking on a

Re: [Wicket-user] DateTable with alternating row color

2006-09-07 Thread Stefan Lindner
Dear Igor, the problem is solved. The wicket-extensions-version that is downloadable from http://maven.sateh.com/wicket/wicket/ ist a little bit outdated. With the current trunk (shipping around compile errors in dropdownlist code) everything works well.

Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor

2006-09-07 Thread Stefan Lindner
Works well with the current wicket 2.0 trunk. The wicket-extensions-version that is downloadable from http://maven.sateh.com/wicket/wicket/ ist a little bit outdated. With the current trunk (shipping around compile errors in dropdownlist code) everything works well.

Re: [Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Eelco Hillenius
I've tried to reproduce it, but without luck so far. Looking at that code, I was wondering about a few things though... what is the idea on the whole thread thing (usedPages)? Why would t != Thread.currentThread() be recoverable? Why not use a thread local instead? Why throw an exception on

Re: [Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Johan Compagner
A thread local can't be used ofcourse because it is map that has to be shared across threads!Did you look at the code that releases the usedPages?Page.internalDetach() calls getSession().pageDetached(this); which does:usedPages.remove(page.getId()); notifyAll();and all synched on session. So

Re: [Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Eelco Hillenius
On 9/7/06, Johan Compagner [EMAIL PROTECTED] wrote: A thread local can't be used ofcourse because it is map that has to be shared across threads! Yes, of course I got that. But while (t != null t != Thread.currentThread()) looked to me like you are trying to achieve something similar. Anyway,

Re: [Wicket-user] Abstraction of Google Maps API?

2006-09-07 Thread Peter Neubauer
Hi, works great, thanks for the quick fix! Will play around with it and see if there is more to wish :) Cheers /peter On 9/7/06, Iulian Costan [EMAIL PROTECTED] wrote: just a quick fix and it is up now. please co

Re: [Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Johan Compagner
The InterruptedException can be ignored completely i guess. But it is such an rare case that that would happen.Is it? If you give up the lock by calling wait, and another threadaccesses it in the mean time (1 sec window), it will happen.no that exception is thrown when you take another thread

Re: [Wicket-user] Form.updateFormComponentModels() doesn't seem to be working

2006-09-07 Thread Johan Compagner
you should call :validateConversion() first before calling updateFormComponentModels()Because first the conversion has to be done before anything can be updated. I guess that button you press with no default form processing you just want to by pase the required flag?johanOn 9/7/06, Jerry Smith

Re: [Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Eelco Hillenius
no that exception is thrown when you take another thread instance and call interrupt() on that when that thread is in wait. Well, if another request comes in for the same session, that is exactly what happens, right? Maybe I don't understand it properly, but this is from the javadocs of

Re: [Wicket-user] Form.updateFormComponentModels() doesn't seem to be working

2006-09-07 Thread Igor Vaynberg
if thats all it is then just override isrequired() on the components and in the button call form.process()-IgorOn 9/7/06, Johan Compagner [EMAIL PROTECTED] wrote:you should call :validateConversion() first before calling updateFormComponentModels()Because first the conversion has to be done

Re: [Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Johan Compagner
Well, if another request comes in for the same session, that isexactly what happens, right? Maybe I don't understand it properly, but this is from the javadocs ofObject.wait' The current thread must own this object's monitor.This method causes the current thread (call it T) to place itself in the

Re: [Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Eelco Hillenius
Its exactly that. You have to have a lock on the monitor to call wait. When you start waiting you don't lock in anymore so others can take the lock and also see that they also have to wait and start waiting. Then the first thread that calls notifyAll() on the monitor lock (where the other 2

Re: [Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Iman Rahmatizadeh
Well here's a trace of what happens that causes the problem : During the RESOLVE_TARGET step of RequestCycle, the target is trying to be resolved using the DefaultRequestTargetResolverStrategy, which first inside the resolveRenderedPage() method uses Session.getPage() to get the page,(which

Re: [Wicket-user] Error: too much recursion for Date Widget

2006-09-07 Thread Eelco Hillenius
I can confirm that problem exist. I tested it on Camino. No idea what the problem is though. I opened http://sourceforge.net/tracker/index.php?func=detailaid=1554506group_id=119783atid=684975 for it. Eelco On 9/6/06, samyem [EMAIL PROTECTED] wrote: I found out that the error happens only when

Re: [Wicket-user] Infinite Loop on Session.getPage()

2006-09-07 Thread Eelco Hillenius
I get how that happens now. Thanks for tracing and explaining. Nasty one. I opened up a bug http://sourceforge.net/tracker/index.php?func=detailaid=1554508group_id=119783atid=684975 and assigned it to Johan to look at if he has some spare time. Eelco On 9/7/06, Iman Rahmatizadeh [EMAIL

Re: [Wicket-user] Multiple form component validation, validate two or more fields tha

2006-09-07 Thread Eelco Hillenius
For use tips, tricks and other writings, maybe the WIKI is a better place for people to find stuff? Eelco On 9/7/06, Gudata [EMAIL PROTECTED] wrote: Here is the example http://www.nabble.com/user-files/235898/OrInputValidator.java OrInputValidator.java you will need also to put this line