[Wicket-user] From quickstart to a tomcat app...
Hi all I'm currently using the quickstart application to do some dev on wicket. However, I would like now to use my app on tomcat (5.5.20 in my case). I've looked for some documentation on what to do/what to remove for such a move but I didn't manage to find some. Could you please provide me some input on it ? Afterwards I think I'll do a page on it in the wicki. Cheers, ZedroS - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Any more wicket articles?
A french article about Wicket, written by Romain Guy (if you do some swing stuff, you should know him ;)) : http://gfx.developpez.com/tutoriel/java/web/wicket/ On 1/11/07, Igor Vaynberg [EMAIL PROTECTED] wrote: http://www.oreillynet.com/onjava/blog/2007/01/wicket_another_java_web_framew.html On 1/9/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Hello, I just updated the wiki page http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket but there must surely be more articles on Wicket out there?! There should be a couple more, maybe we need to do a bit more googling. :) But... let this be a call to all readers to write some more articles! Eelco - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Any more wicket articles?
Is there anybody can translate this( http://gfx.developpez.com/tutoriel/java/web/wicket/) to English? Thanks. Hailong On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: A french article about Wicket, written by Romain Guy (if you do some swing stuff, you should know him ;)) : http://gfx.developpez.com/tutoriel/java/web/wicket/ On 1/11/07, Igor Vaynberg [EMAIL PROTECTED] wrote: http://www.oreillynet.com/onjava/blog/2007/01/wicket_another_java_web_framew.html On 1/9/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Hello, I just updated the wiki page http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket but there must surely be more articles on Wicket out there?! There should be a couple more, maybe we need to do a bit more googling. :) But... let this be a call to all readers to write some more articles! Eelco - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Any more wicket articles?
translate.google.com babelfish.altavista.com Martijn On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote: Is there anybody can translate this(http://gfx.developpez.com/tutoriel/java/web/wicket/) to English? Thanks. Hailong On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: A french article about Wicket, written by Romain Guy (if you do some swing stuff, you should know him ;)) : http://gfx.developpez.com/tutoriel/java/web/wicket/ On 1/11/07, Igor Vaynberg [EMAIL PROTECTED] wrote: http://www.oreillynet.com/onjava/blog/2007/01/wicket_another_java_web_framew.html On 1/9/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Hello, I just updated the wiki page http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket but there must surely be more articles on Wicket out there?! There should be a couple more, maybe we need to do a bit more googling. :) But... let this be a call to all readers to write some more articles! Eelco - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] From quickstart to a tomcat app...
For development, use eclipse webtools, or the tomcat sysdeo plugin. Both have documentation available to help you further. Since I don't use either I can't help you with that. I'm more a jetty user (using the jetty launcher). If you want to deploy to a (remote) tomcat server: ant war or mvn package should give you a war file which you can deploy in tomcat. Martijn On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi all I'm currently using the quickstart application to do some dev on wicket. However, I would like now to use my app on tomcat (5.5.20 in my case). I've looked for some documentation on what to do/what to remove for such a move but I didn't manage to find some. Could you please provide me some input on it ? Afterwards I think I'll do a page on it in the wicki. Cheers, ZedroS - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket Stuff is now hosted on: wicketstuff.org
Wicket Stuff is now hosted at: http://wicketstuff.org Martijn -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Abort Ajax Operation
and how do they that then? Do you program in your code something like: while(dosomemorestuff) { // do something more } and then by another request you set that boolean that it needs to be stopped? this does not really work currently because we lock the session, so that nobody have to worry about multi threading. But you can go around it. Do that long request in an own request and poll with ajax when it is finished Or when you want to abort it. make a call to a shared resource... (thats not synched) and then set the flag that it needs to stop. johan On 1/19/07, samyem [EMAIL PROTECTED] wrote: Is there any way to timeout if the ajax operation does not respond by a certain time? I've seen in other ajax frameworks where you can submit multiple ajax requests in parallel, but Wicket does not allow me to do such a thing. Matej Knopp wrote: I don't think this is about AJAX. I think the question concerns the session locking. If you make an ajax request and it takes too long, the session is locked and the application seem to be frozen. I don't think there's much I can do about it. -Matej Igor Vaynberg wrote: tbh im not even sure there is a way to abort the request initiated through xmlhttprequest object. matej is better suited to answer this, he has many more js scars then i. -igor On 11/22/06, *Eelco Hillenius* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I don't know if there is anything for that yet. Matej, Igor? If there isn't, you could open a feature request for it. Eelco On 11/21/06, samyem [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: When there is an ajax operation, if the operation takes too long, what would be the best way to abort the operation? The case right now is if there is any long operation as a result of ajax event, the app freezes till the even is over. -- View this message in context: http://www.nabble.com/Abort-Ajax-Operation-tf2681806.html#a7480240 Sent from the Wicket - User mailing list archive at Nabble.com http://Nabble.com. - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Abort-Ajax-Operation-tf2681806.html#a8457424 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash.
Re: [Wicket-user] From quickstart to a tomcat app...
Thanks for your answer. I'm already using the sysdeo plugin, however my Wicket application doesn't work with it and tomcat. The webapp folder has really few stuff into it. In fact the whole application is built differently from what I know of tomcat applications. Thanks for the tips on ant war, it may give me the key to understand how to do this. Cheers ZedroS On 1/21/07, Martijn Dashorst [EMAIL PROTECTED] wrote: For development, use eclipse webtools, or the tomcat sysdeo plugin. Both have documentation available to help you further. Since I don't use either I can't help you with that. I'm more a jetty user (using the jetty launcher). If you want to deploy to a (remote) tomcat server: ant war or mvn package should give you a war file which you can deploy in tomcat. Martijn On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi all I'm currently using the quickstart application to do some dev on wicket. However, I would like now to use my app on tomcat (5.5.20 in my case). I've looked for some documentation on what to do/what to remove for such a move but I didn't manage to find some. Could you please provide me some input on it ? Afterwards I think I'll do a page on it in the wicki. Cheers, ZedroS - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Any more wicket articles?
I could do so if really needed. However it's based on wicket 1.1-beta2 and I don't know whether it has changed much since... Can someone answer ? So, if it hasn't change too much, I will ask Romain for the authorisation of such a translation. Cheers ZedroS On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote: Is there anybody can translate this(http://gfx.developpez.com/tutoriel/java/web/wicket/) to English? Thanks. Hailong On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: A french article about Wicket, written by Romain Guy (if you do some swing stuff, you should know him ;)) : http://gfx.developpez.com/tutoriel/java/web/wicket/ On 1/11/07, Igor Vaynberg [EMAIL PROTECTED] wrote: http://www.oreillynet.com/onjava/blog/2007/01/wicket_another_java_web_framew.html On 1/9/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Hello, I just updated the wiki page http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket but there must surely be more articles on Wicket out there?! There should be a couple more, maybe we need to do a bit more googling. :) But... let this be a call to all readers to write some more articles! Eelco - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to run wicket-quickstart?
Since I used the quickstart I've a new button in my Eclipse Java perspective called Jetty Laucnher Actions. However, when I click on it nothing happens. Is there something to be done ? Thanks in advance ZedroS On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there is a class called Start that comes with quickstart, just launch that class as a java app and it will startup jetty, etc -igor On 1/20/07, Zhang Hailong [EMAIL PROTECTED] wrote: Hi all, I'm new to Wicket. I have downloaded wicket-quickstart-1.2.4. I tried to follow the Quickstart Guide ( http://wicketframework.org/wicket-quickstart/eclipse.html ), but it's seems that the content of my package is different from the guide. So, how to use the Quickstart? Thanks in advance. Regareds, Hailong Zhang - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to run wicket-quickstart?
I use Tomcat 5.5.12 and Eclipse3.2.1(with WTP). After some configuration, I imported wicket-examples as an Eclipse project and it works. Here are the steps to setup: 1. Create a empty Dynamic Web Project 2. import wicket-examples-1.2.4\src\main\java into src of the prject 3. import wicket-examples-1.2.4\src\webapp into WebContent of the project 4. import wicket-examples-1.2.4\lib into WebContent/WEB-INF/lib There may be some errors of the html files, just ignore them.(I think this is a bug of WTP) Then, Run As - Run on Server Could someone tell me what wicket-examples-1.2.4\src\site is used for? //I think wicket-examples is more useful for starters like me. I don't understand Quickstart. What is it //used for? Hailong On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Since I used the quickstart I've a new button in my Eclipse Java perspective called Jetty Laucnher Actions. However, when I click on it nothing happens. Is there something to be done ? Thanks in advance ZedroS On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there is a class called Start that comes with quickstart, just launch that class as a java app and it will startup jetty, etc -igor On 1/20/07, Zhang Hailong [EMAIL PROTECTED] wrote: Hi all, I'm new to Wicket. I have downloaded wicket-quickstart-1.2.4. I tried to follow the Quickstart Guide ( http://wicketframework.org/wicket-quickstart/eclipse.html ), but it's seems that the content of my package is different from the guide. So, how to use the Quickstart? Thanks in advance. Regareds, Hailong Zhang - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DataView modelChanged
once the size() is requested and then iterator() is requested (so that are 2 calls to the dataprovider) And if you know the set is not that large you can do it in one sql call instead of 2. (and not all db's are supporting start and limit in sql anyway so you need to query them) johan On 1/18/07, Igor Vaynberg [EMAIL PROTECTED] wrote: im not really sure what/where/why would be asked for twice? dataview caches the size() for the duration of the request, and iterator() is only called once per request... -igor On 1/18/07, Tim Squires [EMAIL PROTECTED] wrote: Thanks Igor, the DataProvider /was/ caching the results. Do you know if there's a nice way of retrieving the iterator and size without retrieving the results twice? i.e. I currently have public Iterator iterator(int first, int count) { return ATMInstallsDao.getFromApplicationContext().getAllTasks().subList(first, first + count) .iterator(); } public int size() { return ATMInstallsDao.getFromApplicationContext().getAllTasks().size(); } Since it's using Sping/Hibernate/EhCache it does not actually go back to the database but it would be nice not to ask the cache for the results twice. Thanks, Tim From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Igor Vaynberg Sent: 17 January 2007 16:07 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] DataView modelChanged you dont need to do anything. next request the dataprovider is polled again. if the dataview really doesnt refresh make sure your dataprovider/orm layer are not doing any caching. -igor On 1/17/07, Tim Squires [EMAIL PROTECTED] wrote: Hi again, I have a simple DataView where one of the columns contains a Link which onClick modifies the data. What is the best way of telling the DataView that the model has changed. I've tried a few things, see the comments in the code Thanks for your help, Tim DataView dataView = new DataView(tasks, new UserTaskDataProvider(user)) { protected void populateItem(final Item item) { final TaskInstance task = (TaskInstance) item.getModelObject(); item.add(new Label(taskName, task.getName())); // add a link that, when clicked, assigns the task back to // the group Link assignLink = new Link(assignLink) { @Override public void onClick() { ATMInstallsDao.getFromApplicationContext () .assignTaskToGroup(task.getId(), InstallsTeam); //-PLEASE HELP WITH THIS BIT- // tell wicket that we've changed the model so it // updates the page //tried... // modelChanged(); - does nothing (the Link objects model??) // DataView.this.modelChanged (); - does not compile no DataView parent??? // This works but is not really the most efficient!. getRequestCycle().setResponsePage(new UserTasksPage(userName)); // } }; assignLink.add(new Label(assignLinkLabel, assign to group)); item.add(assignLink); } }; The Information contained in this e-mail message is intended only for the individuals named above. If you are not the intended recipient, you should be aware that any dissemination, distribution, forwarding or other duplication of this communication is strictly prohibited. The views expressed in this e-mail are those of the individual author and not necessarily those of LINK Interchange Network Ltd. Prior to taking any action based upon this e-mail message you should seek appropriate confirmation of its authenticity. If
Re: [Wicket-user] From quickstart to a tomcat app...
Johan is (one of) the maintainer(s) of the sysdeo plugin, so he can surely help out. You definitely need the devloader jar to be able to run your app in the debugger. Next you need to add your class folder (target/classes) to the web classpath, and the libs found in the lib directory. I think that is all there's to it. The quickstart project is basically an exploded war with the webinf/classes directory relocated to a different directory (target/classes) and the webinf/lib dir to the lib directory. Martijn On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Thanks for your answer. I'm already using the sysdeo plugin, however my Wicket application doesn't work with it and tomcat. The webapp folder has really few stuff into it. In fact the whole application is built differently from what I know of tomcat applications. Thanks for the tips on ant war, it may give me the key to understand how to do this. Cheers ZedroS On 1/21/07, Martijn Dashorst [EMAIL PROTECTED] wrote: For development, use eclipse webtools, or the tomcat sysdeo plugin. Both have documentation available to help you further. Since I don't use either I can't help you with that. I'm more a jetty user (using the jetty launcher). If you want to deploy to a (remote) tomcat server: ant war or mvn package should give you a war file which you can deploy in tomcat. Martijn On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi all I'm currently using the quickstart application to do some dev on wicket. However, I would like now to use my app on tomcat (5.5.20 in my case). I've looked for some documentation on what to do/what to remove for such a move but I didn't manage to find some. Could you please provide me some input on it ? Afterwards I think I'll do a page on it in the wicki. Cheers, ZedroS - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Strategy for printable pages
Hi, I'd like to support the ability to have a 'Printable Version' link on all pages which make sense to print in my application. My first thought on how to do this would be to have the content of those pages always be a panel, and then I could do something like this, where PrintablePage is a simple empty page which includes one div called contentPanel. Panel contentPanel = new FooPanel(contentPanel); add( contentPanel ); add( new Link(printableVersion){ public void onClick(){ setResponsePage( new PrintablePage(contentPanel) ); } }); I'm still a wicket beginner, so if there is a better strategy for this please let me know. I searched the forum and reference guide and couldn't find one. Thanks! Matt -- View this message in context: http://www.nabble.com/Strategy-for-printable-pages-tf3049342.html#a8476340 Sent from the Wicket - User mailing list archive at Nabble.com. - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to run wicket-quickstart?
On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote: Could someone tell me what wicket-examples-1.2.4\src\site is used for? to build the website with maven -igor - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to run wicket-quickstart?
with website we mean: documentation for the wicket-quickstart project. It is used by maven. mvn site and look in target/site Martijn On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote: Could someone tell me what wicket-examples-1.2.4\src\site is used for? to build the website with maven -igor - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to run wicket-quickstart?
Hi Zhang I did as you told. I even went further by removing the following library : portlet-api-1.0.Jar org.mortbay.jetty-4.2.24.jar jasper-compiler-4.1.30.jar jasper-runtime-4.1.30.jar I'm quite surprised of the presence of this portlet api jar... Does someone know why it's present ? I did remove as well the package wicket.quickstart where the Start.java class was located. It isn't required anymore :) BTW, I'm using the sysdeo plugin and apparently everything is running fine now. FYI, the Quickstart project is a basic wicket app from which any one can build one, something like an empty skeleton. Finally, do you think a wiki page could be usefull on this topic ? If yes I'll do it. Cheers, ZedroS On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote: I use Tomcat 5.5.12 and Eclipse3.2.1(with WTP). After some configuration, I imported wicket-examples as an Eclipse project and it works. Here are the steps to setup: 1. Create a empty Dynamic Web Project 2. import wicket-examples-1.2.4\src\main\java into src of the prject 3. import wicket-examples-1.2.4\src\webapp into WebContent of the project 4. import wicket-examples-1.2.4\lib into WebContent/WEB-INF/lib There may be some errors of the html files, just ignore them.(I think this is a bug of WTP) Then, Run As - Run on Server Could someone tell me what wicket-examples-1.2.4\src\site is used for? //I think wicket-examples is more useful for starters like me. I don't understand Quickstart. What is it //used for? Hailong On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Since I used the quickstart I've a new button in my Eclipse Java perspective called Jetty Laucnher Actions. However, when I click on it nothing happens. Is there something to be done ? Thanks in advance ZedroS On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there is a class called Start that comes with quickstart, just launch that class as a java app and it will startup jetty, etc -igor On 1/20/07, Zhang Hailong [EMAIL PROTECTED] wrote: Hi all, I'm new to Wicket. I have downloaded wicket-quickstart-1.2.4. I tried to follow the Quickstart Guide ( http://wicketframework.org/wicket-quickstart/eclipse.html ), but it's seems that the content of my package is different from the guide. So, how to use the Quickstart? Thanks in advance. Regareds, Hailong Zhang - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
Re: [Wicket-user] How to run wicket-quickstart?
Hi ZedroS, I think it's useful to add this topic to the wiki. Hailong On 1/22/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi Zhang I did as you told. I even went further by removing the following library : portlet-api-1.0.Jar org.mortbay.jetty-4.2.24.jar jasper-compiler-4.1.30.jar jasper-runtime-4.1.30.jar I'm quite surprised of the presence of this portlet api jar... Does someone know why it's present ? I did remove as well the package wicket.quickstart where the Start.java class was located. It isn't required anymore :) BTW, I'm using the sysdeo plugin and apparently everything is running fine now. FYI, the Quickstart project is a basic wicket app from which any one can build one, something like an empty skeleton. Finally, do you think a wiki page could be usefull on this topic ? If yes I'll do it. Cheers, ZedroS On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote: I use Tomcat 5.5.12 and Eclipse3.2.1(with WTP). After some configuration, I imported wicket-examples as an Eclipse project and it works. Here are the steps to setup: 1. Create a empty Dynamic Web Project 2. import wicket-examples-1.2.4\src\main\java into src of the prject 3. import wicket-examples-1.2.4\src\webapp into WebContent of the project 4. import wicket-examples-1.2.4\lib into WebContent/WEB-INF/lib There may be some errors of the html files, just ignore them.(I think this is a bug of WTP) Then, Run As - Run on Server Could someone tell me what wicket-examples-1.2.4\src\site is used for? //I think wicket-examples is more useful for starters like me. I don't understand Quickstart. What is it //used for? Hailong On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Since I used the quickstart I've a new button in my Eclipse Java perspective called Jetty Laucnher Actions. However, when I click on it nothing happens. Is there something to be done ? Thanks in advance ZedroS On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there is a class called Start that comes with quickstart, just launch that class as a java app and it will startup jetty, etc -igor On 1/20/07, Zhang Hailong [EMAIL PROTECTED] wrote: Hi all, I'm new to Wicket. I have downloaded wicket-quickstart-1.2.4. I tried to follow the Quickstart Guide ( http://wicketframework.org/wicket-quickstart/eclipse.html ), but it's seems that the content of my package is different from the guide. So, how to use the Quickstart? Thanks in advance. Regareds, Hailong Zhang - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics
[Wicket-user] Error when retrieving session property
Hello, I want to make work a signin component i have included in a page. When a user signs in, i retrieve the corresponding user record from DB, and put it a session property. Then i hide the signin component, and make visible a new panel, presenting a signout button, and a welcome message : welcome username. I fail to render it : public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(getCustomSession() .getUser(), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } It gives me the following error : java.lang.IllegalArgumentException: Parameter modelObject cannot be null What did i miss ? Thanks for your help - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [Wicket-announce] Wicket Stuff is now hosted on: wicketstuff.org
yipee! Eelco On 1/21/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Wicket Stuff is now hosted at: http://wicketstuff.org Martijn -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-announce mailing list Wicket-announce@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-announce - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] integrate Wicket stuff examples projects
On 1/20/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I just filed http://issues.apache.org/jira/browse/WICKET-227, which we are considering because of an offline discussion we had on how to cut down on maintenance for the core projects. [] * wicket-contrib-beanpanels (create examples from scratch?) I have some examples for beanpanels, but I'd like to wait some weeks just to have some more stable code. -- filippo - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Error when retrieving session property
It looks like getCustomSession().getUser() returns null. Eelco On 1/21/07, Landry Soules [EMAIL PROTECTED] wrote: Hello, I want to make work a signin component i have included in a page. When a user signs in, i retrieve the corresponding user record from DB, and put it a session property. Then i hide the signin component, and make visible a new panel, presenting a signout button, and a welcome message : welcome username. I fail to render it : public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(getCustomSession() .getUser(), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } It gives me the following error : java.lang.IllegalArgumentException: Parameter modelObject cannot be null What did i miss ? Thanks for your help - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] integrate Wicket stuff examples projects
I have some examples for beanpanels, but I'd like to wait some weeks just to have some more stable code. Sounds good. But it would be great to consider making them part of the wicket-contrib-examples project by the time you're considering contributing examples. Eelco - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket Stuff website move
The wicket stuff website has moved. I also installed a redirect to the new wiki, so you may discover documents that are no longer available. I tried to install a reasonable redirect strategy, which directs all base urls to the new wiki. So a http://wicket-stuff.sf.net/wicket-contrib-dojo will now redirect to: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-dojo If a more elaborate rewrite scheme is needed, then feel free to implement it. Martijn -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Error when retrieving session property
Sure. But it's a design problem i have here: my signin and signout panels share the same place on the same page, and i'm just set them visible/invisible when required, so they're created at the same time. Yet getCustomSession().setUser(foo) is called after submit on signin... How can i make signout panel to instantiate only after signin has been successfull ? Eelco Hillenius a écrit : It looks like getCustomSession().getUser() returns null. Eelco On 1/21/07, Landry Soules [EMAIL PROTECTED] wrote: Hello, I want to make work a signin component i have included in a page. When a user signs in, i retrieve the corresponding user record from DB, and put it a session property. Then i hide the signin component, and make visible a new panel, presenting a signout button, and a welcome message : welcome username. I fail to render it : public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(getCustomSession() .getUser(), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } It gives me the following error : java.lang.IllegalArgumentException: Parameter modelObject cannot be null What did i miss ? Thanks for your help - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Error when retrieving session property
Oh, right. Best thing you can do here is wrap the user request in a model: PropertyModel doesn't allow a null model, but a model that produces null is fine. So this should work: public SignInSuccess(String id) { super(id); IModel m = new AbstractReadOnlyModel() { public abstract Object getObject(Component component) { return getCustomSession().getUser(); } } add(new Label(username, new PropertyModel(m, firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } or even: public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(new PropertyModel(customSession.user), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } Eelco On 1/21/07, Landry Soules [EMAIL PROTECTED] wrote: Sure. But it's a design problem i have here: my signin and signout panels share the same place on the same page, and i'm just set them visible/invisible when required, so they're created at the same time. Yet getCustomSession().setUser(foo) is called after submit on signin... How can i make signout panel to instantiate only after signin has been successfull ? Eelco Hillenius a écrit : It looks like getCustomSession().getUser() returns null. Eelco On 1/21/07, Landry Soules [EMAIL PROTECTED] wrote: Hello, I want to make work a signin component i have included in a page. When a user signs in, i retrieve the corresponding user record from DB, and put it a session property. Then i hide the signin component, and make visible a new panel, presenting a signout button, and a welcome message : welcome username. I fail to render it : public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(getCustomSession() .getUser(), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } It gives me the following error : java.lang.IllegalArgumentException: Parameter modelObject cannot be null What did i miss ? Thanks for your help - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Error when retrieving session property
or even: public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(new PropertyModel(customSession.user), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } Erm, I mean: public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(new PropertyModel(this, customSession.user), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Error when retrieving session property
pfft add(new Label(username, new PropertyModel(this, customSession.user.firstName))); -igor On 1/21/07, Eelco Hillenius [EMAIL PROTECTED] wrote: or even: public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(new PropertyModel(customSession.user), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } Erm, I mean: public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(new PropertyModel(this, customSession.user), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Error when retrieving session property
LOL. Of course. Eelco On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: pfft add(new Label(username, new PropertyModel(this, customSession.user.firstName))); -igor On 1/21/07, Eelco Hillenius [EMAIL PROTECTED] wrote: or even: public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(new PropertyModel(customSession.user), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } Erm, I mean: public SignInSuccess(String id) { super(id); add(new Label(username, new PropertyModel(new PropertyModel(this, customSession.user), firstName))); SignOutForm signOut = new SignOutForm(signOutForm); add(signOut); } - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions
As a followup question Until this bug has been fixed, is there a way to disable page versioning all-together? My app is very ajax heavy, so it's bordering on unusable until this is fixed. On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Done! https://issues.apache.org/jira/browse/WICKET-216 On 1/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote: dont think so but feel free to open one -igor On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Thanks for the update. is there a JIRA issue that I can watch for when this will be fixed? On 1/17/07, Matej Knopp [EMAIL PROTECTED] wrote: Yeah, this is a problem with 2.0 currently. Ajax requests increase page version. Johan promised to fix this soon :) -Matej Igor Vaynberg wrote: a good start is to isolate this in a quickstart so we can all look at it. if you want to do it yourself then just break in request cycle and walk the steps, see why the page cannot be resolved. -igor On 1/16/07, *Ryan Sonnek* [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: I'm running wicket-2.0 from a recent svn checkout and i'm seeing a *lot* of page expired exceptions when using ajax behaviors. I'm wondering where I can start digging to see why this is happening. Any ideas? - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions
in your page call setversioned(false) -igor On 1/21/07, Ryan Sonnek [EMAIL PROTECTED] wrote: As a followup question Until this bug has been fixed, is there a way to disable page versioning all-together? My app is very ajax heavy, so it's bordering on unusable until this is fixed. On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Done! https://issues.apache.org/jira/browse/WICKET-216 On 1/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote: dont think so but feel free to open one -igor On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Thanks for the update. is there a JIRA issue that I can watch for when this will be fixed? On 1/17/07, Matej Knopp [EMAIL PROTECTED] wrote: Yeah, this is a problem with 2.0 currently. Ajax requests increase page version. Johan promised to fix this soon :) -Matej Igor Vaynberg wrote: a good start is to isolate this in a quickstart so we can all look at it. if you want to do it yourself then just break in request cycle and walk the steps, see why the page cannot be resolved. -igor On 1/16/07, *Ryan Sonnek* [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: I'm running wicket-2.0 from a recent svn checkout and i'm seeing a *lot* of page expired exceptions when using ajax behaviors. I'm wondering where I can start digging to see why this is happening. Any ideas? - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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