Re: [Wicket-user] filtertable and checkgroup cannot work together

2006-09-07 Thread wq
I made it. I replace this line --table.addTopToolbar(new FilterToolbar(table,provider)); with --add(new FilterPanel("filter-panel",table,provider)); the Filterpanel is copied from FilterToolbar with some modification and not added into table,the filterform is now out of table. it works fine!

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 th

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=detail&aid=1554508&group_id=119783&atid=684975 and assigned it to Johan to look at if he has some spare time. Eelco On 9/7/06, Iman Rahmatizadeh <[EMAIL PROTEC

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=detail&aid=1554506&group_id=119783&atid=684975 for it. Eelco On 9/6/06, samyem <[EMAIL PROTECTED]> wrote: > I found out that the error happens only

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 adds

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 > oth

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

2006-09-07 Thread Erik Brakkee
Andrew Lombardi wrote: 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 it: http://www.mysticcoders

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 w

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 bef

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 Ob

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 <[E

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] 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 > http://svn.sourceforge.net/viewvc/wicket-stuff/branches/WICKET_1_2/wicket-

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. Any

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
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 catch

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] 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] 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] 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 issues/suggestoins/

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: > > > > http://svn.sourceforge.net/viewvc/wicket-stu

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 Peter Neubauer
Cool, that would be great, setting out markers programmatic is a good thing IMHO. Seems GMap is a nice tool to fast get things up. Otherwise, what are people using to visualise locations? Image Maps? Any pointers there? /peter On 9/7/06, Iulian Costan <[EMAIL PROTECTED]> wrote: > the project was

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

2006-09-07 Thread Iulian Costan
give me some time to take a look what;s going on there and i'll get back to you asap./iulianOn 9/7/06, Peter Neubauer < [EMAIL PROTECTED]> wrote:Hi there again,tried to get the stuff up, but get an error when starting up 7/09/2006 18:48:06 wicket.protocol.http.WicketServlet initINFO: WicketServlet

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

2006-09-07 Thread Peter Neubauer
Hi there again, tried to get the stuff up, but get an error when starting up 7/09/2006 18:48:06 wicket.protocol.http.WicketServlet init INFO: WicketServlet loaded application Waylookwebapplication via com.waylook.application.internal.WicketApplicationFactory factory 7/09/2006 18:48:06 wicket.Applic

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 PROTE

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

2006-09-07 Thread Eelco Hillenius
>From what I now, portlet support is basic but works. There is an example project in the wicket-1.x branch: 'https://svn.sourceforge.net/svnroot/wicket/branches/wicket-1.x/wicket-portlet-examples' that you could take a look at. Maybe Janne can tell a bit more about this. But he's in Spain for 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

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

2006-09-07 Thread Jerry Smith
I’ve 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 i

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 it:http://www.mysticcoders.com/blog/2006/08/21/datechooser-component-fo

[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 > > https://lis

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

2006-09-07 Thread Igor Vaynberg
yeah, there is already a project that integrates google maps in wicket-stuff-IgorOn 9/7/06, Peter Neubauer < [EMAIL PROTECTED]> wrote: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-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

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 ha

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 che

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 paren

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() a

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 can

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 it.

[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 cur

[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 PRO

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

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/ > >

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] 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 ma

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 I

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 obje

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, a

Re: [Wicket-user] Testing Wicket application

2006-09-07 Thread Pierre-Yves Saumont
> try to set in your application class > getPageSettings().setMultiWindowSupport(false) when testing I tried this and it solved the problem about incorrect content of the Ajax Response. However, it does not solve the problem of the scripts error. After modifying mys scripts, I have now problem

[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 tags around the image tag in the markup. Is there an easy way to surround the tag in the generated markup by overriding onComponentTag or am I trying the wrong way? kind regards, roland ---

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 nee

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

2006-09-07 Thread Gudata
Here is the example http://www.nabble.com/user-files/235898/OrInputValidator.java OrInputValidator.java you will need also to put this line in the properties file OrInputValidator=One of '${input0}' from ${label0} or '${input1}' from ${label1} must have value -- View this message in context:

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] 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 'c

[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 local

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/ Regards,

[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 serv

[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, mon

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 "downg

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. Marti

Re: [Wicket-user] Testing Wicket application

2006-09-07 Thread Nino Wael
Hi We tried jWebUnit aswell and found it very slow to work with, at some point it just became to time consuming(it's properly fine if you have normal simple html pages). Currently we are wondering if we could use Jmeter for unit tests of the GUI, it seems doable but haven't really looked into

[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 java

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 n

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 > :) an