1.3-beta4 development mode

2007-10-15 Thread Alex Objelean
I've noticed that when working in development mode with beta4, changing the markup is not visible when browser page is refreshed (in beta3 was ok) - thus a restart is needed. Are there any ModificationWatcher changes in latest beta release? Thank you! Alex. -- View this message in context:

Wicket Meetup in November: 30 attendees already...

2007-10-15 Thread Arje Cahn
Hi all, Great news ! 30 attendees so far have signed up for the Amsterdam Wicket meetup, and already 19 attendees (!) have added their preferred dates. That's a really good score for a first double opt-in call :-) This meetup will be in English, and open to all people from abroad. So add your

Re: Page expired upon file download + model update

2007-10-15 Thread Federico Fanton
On Mon, 15 Oct 2007 09:37:50 +0200 Federico Fanton [EMAIL PROTECTED] wrote: See here http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html#BestPracticesandGotchas-Startingdownloadafterformsubmission(Wicket1.1) Sorry, I forgot to say I'm using 1.3-beta3

UploadProgressBar prevents execution of onSubmit-methods of buttons

2007-10-15 Thread pixotec
i have a form with one uploadfield and an uploadprogressbar. i wanted to start upload by clicking on an upload-button having his own onSubmit-method. this did not work. the onSubmit-method is never entered. when remove uploadprogressbar, it works. -- View this message in context:

VisitChildren + IComponentResolver broken in beta 4?

2007-10-15 Thread Juha Alatalo
Hi, If the components are added on the page using ComponentResolver, visitChildren() method seems to be working incorrectly. Created following example which works in beta 3 but not in beta 4. http://download.syncrontech.com/public/VisitChildrenExample.zip - Juha

Re: Wicket Meetup in November: 30 attendees already...

2007-10-15 Thread Wouter Huijnink
30 attendees so far have signed up for the Amsterdam Wicket meetup, and already 19 attendees (!) have added their preferred dates. That's a really good score for a first double opt-in call :-) wheeheew! Some people have stated that they won't be able to attend all day and prefer an

Re: VisitChildren + IComponentResolver broken in beta 4?

2007-10-15 Thread Matej Knopp
Please create a JIRA entry and assign the example to it. Thanks. -Matej On 10/15/07, Juha Alatalo [EMAIL PROTECTED] wrote: Hi, If the components are added on the page using ComponentResolver, visitChildren() method seems to be working incorrectly. Created following example which works in

Re: VisitChildren + IComponentResolver broken in beta 4?

2007-10-15 Thread Juha Alatalo
https://issues.apache.org/jira/browse/WICKET-1077 - Juha Matej Knopp wrote: Please create a JIRA entry and assign the example to it. Thanks. -Matej On 10/15/07, Juha Alatalo [EMAIL PROTECTED] wrote: Hi, If the components are added on the page using ComponentResolver, visitChildren()

Re: Wicket Article on DevX

2007-10-15 Thread Matej Knopp
We mostly use jetty as embedded in the project itself. Then starting a web application is as simple as starting any other java application. Also debugging is much simpler. No need to configure remote debug connection, not to mention that you need to configure separate ports if you want to debug

Re: Wicket Article on DevX

2007-10-15 Thread Sam Hough
Doesn't sound that different from tomcat... I don't build a war or anything and run it just like any java application... Read somewhere that jetty lets you take out JSP support. I've found with Tomcat that it spends a lot of time looking for taglib defs in lucene.jar, wicket.jar... Current

Re: safari and ajax (issue 938)

2007-10-15 Thread Nino Saturnino Martinez Vazquez Wael
Hmm changing it OnChangeAjaxBehavior, makes it stop working if using it in conjuction with datepicker on safari and FF.. BTW, i am using an text field with datepicker and want to make selecting a date with the datepicker trigger the ajax call, it works in IE FF but not safari.. Nino

Re: safari and ajax (issue 938)

2007-10-15 Thread Matej Knopp
Unless you submit a quickstart I can't really help with this. -Matej On 10/15/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hmm changing it OnChangeAjaxBehavior, makes it stop working if using it in conjuction with datepicker on safari and FF.. BTW, i am using an text

Re: Wicket Article on DevX

2007-10-15 Thread Matej Knopp
Well, I guess you can. Still you need to have tomcat installed, whereas with jetty you only need a 300kb jar in project. Also as stated above, you don't need JSP support (compiler, etc) so the footprint is really small. -Matej On 10/15/07, Sam Hough [EMAIL PROTECTED] wrote: Still can't see why

Re: Wicket Article on DevX

2007-10-15 Thread Erik van Oosten
Of course you can startup Tomcat from Eclipse just as well :) I seem to remember that Jetty is vastly easier to configure from Java source. I tried this with Jetty 6. Hardly any documentation or complete examples to be found. So I switched back to Jetty 4 for which I had an example from an

Re: Wicket Article on DevX

2007-10-15 Thread Martijn Dashorst
The embedded tomcat was not that hard to install, not harder than creating a jetty quickstart. Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/

DropDownChoice - how to get the current selected value and I can't use OnSelected event as well :(

2007-10-15 Thread raybristol
Hi, I am quite new to wicket and got 2 questions about DropDownChoice don't know how to solve even after some googling as well from this forum so need some helps again: 1. I want to get the current selected item's value from DropDownChoice, I was looking for something like

Re: Wicket Article on DevX

2007-10-15 Thread shumbola
I'm fun of Winstone, too. Before switching to wicket I used to use it for struts based applications. The only small fix I did into Winstone is that I've added clientAuth flag, so I can use command line to tell Winstone use client authentication or not use. Gwyn wrote: Of course, having

Re: Wicket Article on DevX

2007-10-15 Thread Gwyn Evans
On Monday, October 15, 2007, 1:35:25 PM, Erik [EMAIL PROTECTED] wrote: Of course you can startup Tomcat from Eclipse just as well I seem to remember that Jetty is vastly easier to configure from Java source. I tried this with Jetty 6. Hardly any documentation or complete examples to be

Re: DropDownChoice - how to get the current selected value and I can't use OnSelected event as well :(

2007-10-15 Thread Gwyn Evans
On Monday, October 15, 2007, 1:54:32 PM, raybristol [EMAIL PROTECTED] wrote: Hi, I am quite new to wicket and got 2 questions about DropDownChoice don't know how to solve even after some googling as well from this forum so need some helps again: Have you found the wiki

Re: Wicket Article on DevX

2007-10-15 Thread james yong
Tomcat doesn't requires you to deploy with a war file. Check out setting the context in conf/server.xml james yong Gwyn wrote: Even better, when developing you dont need to package your app into a war and deploy it - which are big time wasting steps when you have to do them every ten

Re: Wicket Article on DevX

2007-10-15 Thread Sam Hough
The article seems to be more advocating running multiple JVMs if you are prepared to run a front end proxy to put everything back under the same ip/port? Presumably you could do the same with Tomcat etc..? The runtime usage of Jetty vs Tomcat would be interesting but as always turns out it is

Invalid task 'org.apache.wicket' running quickstart with maven

2007-10-15 Thread cupdike
I'm trying to follow along here: http://wicket.apache.org/quickstart.html but I get the error below. I'm new to maven and wicket, and searching this error didn't help, so no doubt I'm doing something dumb/obvious. BTW, the quickstart page suggests that replaceable items are in bold, but nothing

Re: Invalid task 'org.apache.wicket' running quickstart with maven

2007-10-15 Thread cupdike
cupdike wrote: BTW, the quickstart page suggests that replaceable items are in bold, but nothing is showing in bold (perhaps I'm supposed to replace something else?): My bad on the comment about nothing being bold in the code sample--my browser font was so small that it didn't look bold

Re: Invalid task 'org.apache.wicket' running quickstart with maven

2007-10-15 Thread Martijn Dashorst
Download maven 2.0.7 instead and look at the following screencast: http://herebebeasties.com/2007-10-07/wicket-quickstart/ Martijn On 10/15/07, cupdike [EMAIL PROTECTED] wrote: I'm trying to follow along here: http://wicket.apache.org/quickstart.html but I get the error below. I'm new to

Re: Wicket Article on DevX

2007-10-15 Thread Sam Hough
Daniel, Sorry for starting an emacs vs vi debate. Really is a nice article. Anything to drag people out of the struts dark ages! Cheers Sam -- View this message in context: http://www.nabble.com/Wicket-Article-on-DevX-tf4623720.html#a13214216 Sent from the Wicket - User mailing list archive

Re: Invalid task 'org.apache.wicket' running quickstart with maven

2007-10-15 Thread cupdike
Case solved--I was trying to keep maven off my path by using an alias to the mvn command. However, it obviously requires being on the path. Thanks for the nice screencast. -Clark Martijn Dashorst wrote: Download maven 2.0.7 instead and look at the following screencast:

Re: Wicket Article on DevX

2007-10-15 Thread Roland Kaercher
Yes, you're right, I didn't read it again. But it also got me to switch to jetty because IIRC the the memory overhead for using tomcat 5 (I heard tomcat 6 is different there) when just starting up my tiny apps was significantly higher - although it might be less dramatic than I have in memory ;-)

Re: 1.3-beta4 development mode

2007-10-15 Thread Igor Vaynberg
the latest beta is beta5, could you try with that -igor On 10/14/07, Alex Objelean [EMAIL PROTECTED] wrote: I've noticed that when working in development mode with beta4, changing the markup is not visible when browser page is refreshed (in beta3 was ok) - thus a restart is needed. Are

Re: UploadProgressBar prevents execution of onSubmit-methods of buttons

2007-10-15 Thread Igor Vaynberg
please create a jira issue with a quickstart -igor On 10/15/07, pixotec [EMAIL PROTECTED] wrote: i have a form with one uploadfield and an uploadprogressbar. i wanted to start upload by clicking on an upload-button having his own onSubmit-method. this did not work. the onSubmit-method is

Re: 1.3-beta4 development mode

2007-10-15 Thread Eelco Hillenius
On 10/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: the latest beta is beta5, could you try with that ? beta4 is the latest. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wicket Article on DevX

2007-10-15 Thread Gerolf Seitz
On 10/15/07, Gwyn Evans [EMAIL PROTECTED] wrote: One thing I like about Jetty is that it's normally clear to see what's mounted where, as the default '/' servlet will list them when running 'mvn jetty:run' (although that's not in our Start.java). we don't need that in Start.java, because Al

feedback message not shown from ajax button when setting new response page

2007-10-15 Thread Adam Koch
I'm having a problem with the feedback panel in conjunction with the AjaxButton and setResponsePage(). There are two pages, a home page and a sub page. When the user submits a form successfully on the sub page, I would like the home page to display with an informational message. Here is some

Re: feedback message not shown from ajax button when setting new response page

2007-10-15 Thread Igor Vaynberg
if you have feedback messages that need to last across requests/pages you need to use getsession().info() instead -igor On 10/15/07, Adam Koch [EMAIL PROTECTED] wrote: I'm having a problem with the feedback panel in conjunction with the AjaxButton and setResponsePage(). There are two pages,

Re: feedback message not shown from ajax button when setting new response page

2007-10-15 Thread Adam Koch
I think I found the reason: /** * If it's an ajax request we always redirect. * * @see org.apache.wicket.RequestCycle#isRedirect() */ public final boolean isRedirect() { if (getWebRequest().isAjax()) { return true; } else

Re: feedback message not shown from ajax button when setting new response page

2007-10-15 Thread Adam Koch
That seems easy enough. Thanks! Tell me if this is right. If we send an Ajax request from the browser, then the only way to get it to refresh the page is to tell it to redirect. That's why all Ajax calls that have render a new page have to redirect. Thanks, Adam On 10/15/07, Igor Vaynberg

Re: feedback message not shown from ajax button when setting new response page

2007-10-15 Thread Igor Vaynberg
if you want to display an entirely new page from an ajax request then yes, you have to redirect. whether that is done via a window.location or another method doesnt matter... -igor On 10/15/07, Adam Koch [EMAIL PROTECTED] wrote: That seems easy enough. Thanks! Tell me if this is right. If

DatePicker Problems

2007-10-15 Thread Christopher Gardner
Anyone having problems getting DatePicker to work in beta4? I get the icon, but when I click nothing happens. Probably my error, but just curious. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: safari and ajax (issue 938)

2007-10-15 Thread Nathan Hamblen
Make sure you've cleared Safari's cache since upgrading to beta4. So far I haven't run into any problems with Safari ajax in the new version, and I seem to be the canary in the coal mine. ;) Nino Saturnino Martinez Vazquez Wael wrote: Hmm changing it OnChangeAjaxBehavior, makes it stop working

Re: DatePicker Problems

2007-10-15 Thread Dan Syrstad
It seems to be working for me. -Dan On 10/15/07, Christopher Gardner [EMAIL PROTECTED] wrote: Anyone having problems getting DatePicker to work in beta4? I get the icon, but when I click nothing happens. Probably my error, but just curious.

Re: Dot ( . ) in the URL !

2007-10-15 Thread Matej Knopp
How did you mount the page? -Matej On 10/15/07, chickabee [EMAIL PROTECTED] wrote: Hi Guys, It seems that wicket has the special meaning of a dot ( . ) in the URL. Wicket expects anything after a dot to be a number and throws Number format exception if it is not, Is there is a way to use

Custom rendering

2007-10-15 Thread Cristi Manole
Hello, I was wondering if it is possible to do custom rendering in wicket. What i need is something like a panel in which - if the user is not logged in, there will be a text with in order to sign in please click Sign in and then the link and - if the user is logged in, the same text component

Re: 1.3-beta4 development mode

2007-10-15 Thread Nino Saturnino Martinez Vazquez Wael
Hi Alex I cannot confirm this, I too have beta4 installed. And have not problems when refreshing html. At certain times there can be problems with the java classes, which I belive are known(there are some limitations on the hotspot vm I belive that causes this). This is using it with tomcat

Re: safari and ajax (issue 938)

2007-10-15 Thread Nino Saturnino Martinez Vazquez Wael
Ahh ok I'll try this, I guess im the other canary then:) Nathan Hamblen wrote: Make sure you've cleared Safari's cache since upgrading to beta4. So far I haven't run into any problems with Safari ajax in the new version, and I seem to be the canary in the coal mine. ;) Nino Saturnino

Re: DatePicker Problems

2007-10-15 Thread Nino Saturnino Martinez Vazquez Wael
It's also working for me in IE 6 / 7 and FF 2... Cannot confirm safari at the time being. Christopher Gardner wrote: Anyone having problems getting DatePicker to work in beta4? I get the icon, but when I click nothing happens. Probably my error, but just curious.

Re: safari and ajax (issue 938)

2007-10-15 Thread Nino Saturnino Martinez Vazquez Wael
Hmm that did not help. Im running safari 2.0.4. Ok next step is to create a quickstart, ill do that tomorrow.. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Ahh ok I'll try this, I guess im the other canary then:) Nathan Hamblen wrote: Make sure you've cleared Safari's cache since

Re: Wicket Article on DevX

2007-10-15 Thread Jonathan Locke
*2 igor.vaynberg wrote: +1 -igor On 10/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Hey Daniel, great stuff! Thanks! Eelco On 10/14/07, Daniel Carleton [EMAIL PROTECTED] wrote: Hello Wicket, I wrote an introductory article on Wicket for DevX, which they published a

Re: YUI Calendar popup in ModalWindow

2007-10-15 Thread Nino Saturnino Martinez Vazquez Wael
I've had the reverse problem.. Modal window infront of a datepicker , using it in flat mode... regards Nino Don Hass wrote: Has anyone ran into an issue (z-index) with a DateField on a panel in a ModalWindow. In both Firefox and IE they both render poorly IMHO. I have tried overriding

Re: java.lang.OutOfMemoryError: Java heap space on Tomcat 6

2007-10-15 Thread Nino Saturnino Martinez Vazquez Wael
If youre only running a simple form, and dont have 1000's of users it should be fine, something else must be wrong. Might be your parameters. A guy on this thread(http://forum.java.sun.com/thread.jspa?threadID=326216) said: Don't set the maximum memory to above 70% of the physical memory of

Re: java.lang.OutOfMemoryError: Java heap space on Tomcat 6

2007-10-15 Thread Eelco Hillenius
It is probably a good idea to profile your application. With 512 MB you should typically be able to serve a couple of thousand concurrent sessions without problems with Wicket 1.3. Eelco On 10/15/07, JKrishna [EMAIL PROTECTED] wrote: I have generated a project using QWicket. I ran the build

Re: Wicket Article on DevX

2007-10-15 Thread Nino Saturnino Martinez Vazquez Wael
Nope, and you can also debug that one, you just need to pass the releveant parameters to the jvm. Martijn Dashorst wrote: The embedded tomcat was not that hard to install, not harder than creating a jetty quickstart. Martijn

Re: TreeTable, invisble cells and headersand

2007-10-15 Thread jweekend
Matej, No worries. If you do get a moment, this tiny but complete http://www.nabble.com/file/p13223550/treetable.zip quickstart clearly demonstrates what's going on. Also bear in mind that when the app, now suffering from this behaviour in 1.3 beta x, was first developed using 1.2.6, it worked

Re: WicketMessage: Expected close tag for 'tr wicket:id=sorting' Possible attempt to embed component(s) 'span wicket:id=actions' in the body of this component which discards its body

2007-10-15 Thread Rich Livingstone
I should add that I'm using Wicket 1.3 whereas the examples were all 1.2 - though in this area it seems that nothing substantial has changed -- View this message in context:

Re: Refresh fields from model

2007-10-15 Thread Christopher Gardner
I think another way to do it is to call setModelObject() with the appropriate parameter on each component that needs to be updated. I chose to use the modelChanged() approach, however, because I'm using the presentation model pattern (http://martinfowler.com/eaaDev/PresentationModel.html) that

Re: WicketMessage: Expected close tag for 'tr wicket:id=sorting' Possible attempt to embed component(s) 'span wicket:id=actions' in the body of this component which discards its body

2007-10-15 Thread Igor Vaynberg
you are missing wicket:ids in the second set of tds... tr wicket:id=sorting td[actions]/td should actually be td wicket:id=actions[actions]/td :) -igor On 10/15/07, Rich Livingstone [EMAIL PROTECTED] wrote: I'm getting this error WicketMessage: Expected close tag for 'tr

Re: Shared Image Resource

2007-10-15 Thread Eelco Hillenius
In my application I've added a shared resource. This resource is in a seperate resource package (com.test.resources). In that package there's also a 'dummy' class ResourceGetter, just to get access to the package. So in the init of my application i've putted :

Re: Session Objects Approach

2007-10-15 Thread Eelco Hillenius
Does this approach have any significant improvement over the former? and what could be the cons Like Alex said, look at LoadableDetachableModel for instance. You don't have to discard right away; just do at at the end of the request. It's what detachable is for. Pro detaching: less memory

Re: Profiling the memory usage

2007-10-15 Thread Eelco Hillenius
I'm doubting that my wicket application is using to much memory because of serializing too much unnecessary stuff in the session (programmers' mistakes). Can you help me find a way to see what objects get serialized, so I can see what I'm doing wrong and correct my mistakes? Imho the best