Re: passing list from java class to javascript
IMHO, JSON is still applicable. You're not forced to hardcode your JSON list. You can build it dynamically in your Java class and then provide it to your client JS for it to parse it and generate your JS list. Regards, Pierre On Fri, Dec 12, 2008 at 7:32 AM, Ashis chettri.as...@gmail.com wrote: Thanks guys, But i need to pass dynamic list which is stored in databases.I have a method appList() which returns list of application users and i need to pass it in javascript .Not a static list Looking forward for your suggestions. -- View this message in context: http://www.nabble.com/passing-list-from-java-class-to-javascript-tp20949804p20970595.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- La vie est un songe, mais par pitié, ne me réveille pas. (Proverbe Yiddish)
Re: style/variation
Scott, I'm sorry, but the link you've sent is invalid. And I was unable to find a valid link with. Regards, Pierre On Thu, Jan 22, 2009 at 7:03 PM, Scott Swank scott.sw...@gmail.com wrote: Liz, We have completely customized the location of resources in Wicket. Here's what I learned on the subject: http://mail-archives.apache.org/mod_mbox/wicket-users/200804.mbox/ 8ee6dd5c0804221651h70660293pb505d19c2c21e...@mail.gmail.com - Scott On Thu, Jan 22, 2009 at 12:22 AM, Liz Huber liz.hu...@gmx.net wrote: First of all: Sorry that I posted my issue so often. But as you've seen, the mail body wasn't shown. Nevertheless, is anyone well versed in styles and variations? Please have a look at my last posting or http://markmail.org/search/?q=liz+huber#query:liz%20huber+page:1+mid:ad6axeezpk6ktzbl+state:results Liz -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: [OT] Framework for managing task
Maybe Quartz is what you want : http://www.opensymphony.com/quartz/ Regards, Pierre On Sun, Feb 22, 2009 at 11:26 PM, Kaspar Fischer fisch...@inf.ethz.chwrote: My Wicket app needs to run tasks in the background and I am looking for a Java framework to persist tasks in the sense that I can submit a task and the framework would ensure that once submitted (transactions?), the task will be run, even if the server is shut down in between and the task needs to be restarted. Also, tasks that support cancellation (à la java.util.concurrent.ExecutorService) should be cancelled when the system stops. Do you know of anything similar? Whatever tool I'll end up with I will document the integration with Wicket on the wiki. Thanks a lot, Kaspar - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: What IDE best fits with Wicket?
+1, I like Wicket Bench. And with M2Eclipse, you have the full sources JavaDoc just by adding Wicket as a dependency, which is very convenient. But don't expect Wicket Bench to do too much, it's just a small, useful tool. Pierre Hi, I use Eclipse with Wicket Bench plugin and it works very fine. -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Wicket portlet
Hello all, I'm currently evaluating Struts2 Vs. Wicket 1.3.5 as a Web framework in a portlet environment. I'm using eXo WebOS as a portal. My question is : what's the status of portlet support in Wicket ? I don't really care about portlet 1.0 or 2.0 but I'm looking for a fairly robust and easy-to-go integration of my Web framework and my portal. Hope to be clear ! Cheers, Pierre -- Parce que c'est la nuit qu'il est beau de croire en la lumière.
Re: Wicket portlet
Hello again, I did find this wiki page. Quoting it : --- First of all, you need to make sure the portal (e.g. Liferay ) provides an implementation of the Apache Portals Bridges PortletResourceURLFactoryinterface, see: PortletResourceURLFactoryhttp://portals.apache.org/bridges/multiproject/portals-bridges-common/xref/org/apache/portals/bridges/common/PortletResourceURLFactory.html --- I don't know whether this interface is fully portlet spec compliant or not, but anyways, my portal of choice is eXo platform (in WebOS mode) and it doesn't provide it. I am stuck or... ? Regards, Pierre On Mon, Nov 10, 2008 at 1:48 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Could people who use wicket in some portal container create a wiki page and report if it's working, working with problems or just not working? maybe a sub page to this: http://cwiki.apache.org/WICKET/portal-howto.html -- Parce que c'est la nuit qu'il est beau de croire en la lumière.
removing a behavior
Good morning, I use CSSPackageResource .getHeaderContribution(style.css) in order to load CSS files into my page. But is there any way to remove the HeaderContributor ? If I just add another one in a subsequent request, the old CSS is still there, which I don't want. Regards, Zala -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: removing a behavior
Thanks for your reply! Let me explain. I have three CSS files (1, 2, 3) and only one page (Page). On this Page, there's a Component which contains three links which purpose are to swith the graphical theme of the page, based on the CSS files. When the user clicks on one of these links, the onClick() method performs a add(CSSPackageResource .getHeaderContribution([1,2,3].css)) in order to swith theme. Then the user goes back to the Page. BUT, I want one and only one of the CSS files at any given moment. If I click on sequence on each of these 3 links, the theme switches normally, but then it can't switch anymore as all three files are already loaded in my page, as Firebug confirms. Hence, my question is: how to remove one of these HeaderContributor? Since, when my user clicks on one of the links, I want to add a HeaderContributor, but also to remove the old one(s). Regards, Zala On Sun, Sep 13, 2009 at 9:06 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: What about just not adding it instead? So in the first cycle you add it and in the next rendering you do not? 2009/9/13 Pierre Goupil goupilpie...@gmail.com: Good morning, I use CSSPackageResource .getHeaderContribution(style.css) in order to load CSS files into my page. But is there any way to remove the HeaderContributor ? If I just add another one in a subsequent request, the old CSS is still there, which I don't want. Regards, Zala -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: removing a behavior
I did it, but there problem is still the same: all CSS files keep being in the header as soon as I add one of them. What I'd like to do is to have only one CSS at a given moment in the page. Any ideas? Regards, Zala On Sun, Sep 13, 2009 at 4:59 PM, Sven Meier s...@meiers.net wrote: component.add(new HeaderContributor(new IHeaderContributor() { private static final long serialVersionUID = 1L; public void renderHead(IHeaderResponse response) { response.renderCSSReference(getCurrentResource()); } })); Just let getCurrentResource() return the current theme's resource. Sven Pierre Goupil wrote: Thanks for your reply! Let me explain. I have three CSS files (1, 2, 3) and only one page (Page). On this Page, there's a Component which contains three links which purpose are to swith the graphical theme of the page, based on the CSS files. When the user clicks on one of these links, the onClick() method performs a add(CSSPackageResource .getHeaderContribution([1,2,3].css)) in order to swith theme. Then the user goes back to the Page. BUT, I want one and only one of the CSS files at any given moment. If I click on sequence on each of these 3 links, the theme switches normally, but then it can't switch anymore as all three files are already loaded in my page, as Firebug confirms. Hence, my question is: how to remove one of these HeaderContributor? Since, when my user clicks on one of the links, I want to add a HeaderContributor, but also to remove the old one(s). Regards, Zala On Sun, Sep 13, 2009 at 9:06 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: What about just not adding it instead? So in the first cycle you add it and in the next rendering you do not? 2009/9/13 Pierre Goupil goupilpie...@gmail.com: Good morning, I use CSSPackageResource .getHeaderContribution(style.css) in order to load CSS files into my page. But is there any way to remove the HeaderContributor ? If I just add another one in a subsequent request, the old CSS is still there, which I don't want. Regards, Zala -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: removing a behavior
Thanx man, it works now! My main error was to use a HeaderContributor without a scope class. So I did just like you: I now use a theme class which sets itself as a scope. BUT it wasn't enough, because the previous HeaderContributors kept sticking into my page. But keeping a reference to them now allows me to perform a remove(previousHeaderContributor), which just works fine. Thanks everybody, problem solved! Regards, Zala On Sun, Sep 13, 2009 at 8:26 PM, Sven Meier s...@meiers.net wrote: Hi, you have to add the header contributor only once. See here for a live example of a theme chooser: http://wicket-tree.appspot.com Sven Pierre Goupil wrote: I did it, but there problem is still the same: all CSS files keep being in the header as soon as I add one of them. What I'd like to do is to have only one CSS at a given moment in the page. Any ideas? Regards, Zala On Sun, Sep 13, 2009 at 4:59 PM, Sven Meier s...@meiers.net wrote: component.add(new HeaderContributor(new IHeaderContributor() { private static final long serialVersionUID = 1L; public void renderHead(IHeaderResponse response) { response.renderCSSReference(getCurrentResource()); } })); Just let getCurrentResource() return the current theme's resource. Sven Pierre Goupil wrote: Thanks for your reply! Let me explain. I have three CSS files (1, 2, 3) and only one page (Page). On this Page, there's a Component which contains three links which purpose are to swith the graphical theme of the page, based on the CSS files. When the user clicks on one of these links, the onClick() method performs a add(CSSPackageResource .getHeaderContribution([1,2,3].css)) in order to swith theme. Then the user goes back to the Page. BUT, I want one and only one of the CSS files at any given moment. If I click on sequence on each of these 3 links, the theme switches normally, but then it can't switch anymore as all three files are already loaded in my page, as Firebug confirms. Hence, my question is: how to remove one of these HeaderContributor? Since, when my user clicks on one of the links, I want to add a HeaderContributor, but also to remove the old one(s). Regards, Zala On Sun, Sep 13, 2009 at 9:06 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: What about just not adding it instead? So in the first cycle you add it and in the next rendering you do not? 2009/9/13 Pierre Goupil goupilpie...@gmail.com: Good morning, I use CSSPackageResource .getHeaderContribution(style.css) in order to load CSS files into my page. But is there any way to remove the HeaderContributor ? If I just add another one in a subsequent request, the old CSS is still there, which I don't want. Regards, Zala -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
moveUpLink moveDownLink
Guys, I can't find any information about moveUpLink* *and* *moveDownLink*, *except in JavaDoc. I've got a rendering problem: my code compiles but at run-time, there's a component cannot render exception. Is there any best practices or any code I could look at? I can give code excerpt if you wish, but don't want to pollute the list at fist try. Thanks in advance! Zala -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: Wicketstuff really needs some updates
+1 for CI since it would give confidence on health status of the various projects as well. On Wed, Sep 16, 2009 at 7:44 PM, Johannes Schneider maili...@cedarsoft.comwrote: By the way: What about a CI server? That will detect such errors very fast. Johannes nino martinez wael wrote: Great Jeremy, I were about to ask the same, so Johannes please give us the sf account and we will add you to the project. And thanks for these updates.. :) regards Nino 2009/9/15 Jeremy Thomerson jer...@wickettraining.com: Have you asked for commit access? I don't see your sf.net username on the thread. Nobody is stingy with wicketstuff commit access. Just send your username. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Sep 15, 2009 at 8:12 AM, Johannes Schneider maili...@cedarsoft.comwrote: Come on guys. Please help me. Since there is an invalid repository definition no one out there will be able to use a project using input-events... I have the necessary patches sitting right here. I have created a Jira entry and I am willing to commit them if anybody gives me commit access. Please don't force me to release my own version. That would be just duplicate work done. Sincerly Johannes Johannes Schneider wrote: I have created some patches that help me a bit. Can be found here (found no better place). http://wicketstuff.org/jira/browse/WSMINIS-10 Those are created using git. I hope the patch format is ok Sincerly, Johannes Johannes Schneider wrote: Well, who is the One? Igor Vaynberg wrote: or you can request commit access and eat your own donuts :) -igor On Fri, Sep 4, 2009 at 10:43 AM, Johannes Schneidermaili...@cedarsoft.com wrote: Hi, I really love the work that has been put into WicketStuff. The world is much better *with* WicketStuff. But unfortunately several files are outdated and many releases are missing. So at first I want to say thank you to everybody who has put work into that project. Then I want to motivate those with commit rights to update the projects and release some of the modules... I am offering some donuts ;-) Thanks, Johannes - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Wicket in France
Hello, Are there any Wicketers out there living in Bordeaux, France? Regards, Pierre -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: Wicket in France
Cheers, man! Alsace is a bit far for a meeting, I'm afraid. Are you planning to go to any conference? On Wed, Sep 23, 2009 at 11:05 PM, josephpac...@thomas-daily.de wrote: hi Not in Bordeaux, but France is bigger than just this town no ? ;) But then I admit living place, Alsace, might seem quite far and foreign to you ;) However, you might be interested by this french forum : http://www.developpez.net/forums/f1265/java/developpement-web-java/frameworks/wicket/ ++ Hello, Are there any Wicketers out there living in Bordeaux, France? Regards, Pierre -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: Wicket in France
Excellent, men! Nicolas: I love your blog. Keep it up! On Thu, Sep 24, 2009 at 10:27 AM, Olivier Bourgeois olivier.bourgeois.pro@ gmail.com wrote: I'm located in Paris. We are just missing somebody from Lille and Nice for a perfect dispatch :) -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: wicket-phonebook
I've used the phonebook without any problem. Are you sure you've got the latest version? Plus, you need the whole wickestuff-core project (found in wicketstuff/wicketstuff-core), AFAIK. And it looks like you haven't got it on your hard drive, since Maven tries and download it. Regards, Pierre On Thu, Sep 24, 2009 at 12:33 PM, Andreas Kaluza kal...@rhrk.uni-kl.dewrote: Hi @all, I'm trying to install the wicket-phonebook with mvn install. The error message is: [INFO] Scanning for projects... Downloading: http://download.java.net/maven/2//org/wicketstuff/wicketstuff-core/ 1.4-SNAPSHOT/wicketstuff-core-1.4-SNAPSHOT.pom [INFO] Unable to find resource 'org.wicketstuff:wicketstuff-core:pom:1.4-SNAPSHO T' in repository maven2-repository.dev.java.net (http://download.java.net/maven/ 2/) [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: null:phonebook:war:null Reason: Cannot find parent: org.wicketstuff:wicketstuff-core for project: null:p honebook:war:null for project null:phonebook:war:null [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.wicket stuff:wicketstuff-core for project: null:phonebook:war:null for project null:pho nebook:war:null at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6 0) Is the pom.xml corrupted (I have the original one)? It seems that the maven repository is incomplete. Anyone a solution? Cheers, Andy -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: [ANN] wicket-dnd project
It looks great, men! Which AJAX framework do you use? Regards, Pierre On Tue, Oct 13, 2009 at 3:55 PM, Doug Leeper douglee...@yahoo.com wrote: Thanks Sven! Got it working. -- View this message in context: http://www.nabble.com/-ANN--wicket-dnd-project-tp25727819p25873355.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: Wicket Spring API docs?
Hello, I'd be glad to see it. Is there any place where it would fit? Maybe on the Wicket wiki? Regards, Pierre On Thu, Nov 12, 2009 at 9:56 PM, Loritsch, Berin C. berin.lorit...@gd-ais.com wrote: I hate to be a smart-butt, but if I'm not familiar with how things are named yet search is not very helpful. Javadocs have their place, and are most useful when you are familiarizing yourself with an unfamiliar API. I've now run the mvn target to get the javadocs, which is helpful. Is there any interest in the SpringWicketTester class I put together? I'm sure there is more than one person who has hit this problem, and all the online instructions I've found are for Wicket 1.3 or 1.2. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Thursday, November 12, 2009 3:42 PM To: users@wicket.apache.org Subject: Re: Wicket Spring API docs? your IDE is much better at browsing and searching for classes then a javadoc online :) -igor On Thu, Nov 12, 2009 at 12:38 PM, Loritsch, Berin C. berin.lorit...@gd-ais.com wrote: I did, but that doesn't help me with knowing what classes are available. For example, I had issues with using the WicketTester to test my Wicket/Spring based app. I finally was able to create my own SpringWicketTester class that would load up the SpringWebApplicationContext that is needed for my app to run. However, I had no way of telling if that was duplicate work. If anyone is interested, I can donate the SpringWicketTester class. It should belong to the wicket-spring subproject. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Thursday, November 12, 2009 3:16 PM To: users@wicket.apache.org Subject: Re: Wicket Spring API docs? dont you use attach sources in your IDE? -igor On Thu, Nov 12, 2009 at 12:09 PM, Loritsch, Berin C. berin.lorit...@gd-ais.com wrote: Where can I find the wicket-spring module API docs? It's not clear to me from the website. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket Stuff Support and Interest
Hello, In the release tags, you'll find wicketstuff-core-1.4.1. For more up to date code, you'll have to fall back to the trunk. Regards, Pierre On Fri, Nov 13, 2009 at 10:58 AM, Lester Chua cicowic...@gmail.com wrote: Thanks for the reply. Due to network reasons, I can't add external dependencies to my project that require connections to obtain code. So Maven was out as a build mgmt tool for me. I should be looking at the release tags on the svn repo right? Is that current? Regards, Lester Jeremy Thomerson wrote: A lot of the projects are abandoned test beds of code. But the releases for the ones that are released do not end up in SF releases anyway - they are released through Maven and end up in the Wicket Stuff maven repo. See the WS wiki for info on how to use the repo. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Nov 12, 2009 at 9:51 PM, Lester Chua cicowic...@gmail.com wrote: Hi, I noticed that in wicket stuff. If I browse the source forge releases. The latest is at 2008 June (Wicket Jquery). What is the status there? It seems that there has been nothing going on in wicket stuff. Did the projects move into Wicket proper? Or did the extension interest died? Lester - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Wicket stuff YUI: DragNDrop
Good evening, Is there any way to reject a drag, possibly via AJAX, using wicketstuff YUI? The code suggests me that no, but any hint would be welcome. Regards, Pierre -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket portlet in uPortal 3.1.1
Assuming that you know this page: http://cwiki.apache.org/WICKET/portal-howto.html You should just copy the web.xml portlet.xml of an already working uPortal porlet (even if it's not Wicket based) and use the same filters / listeners... Theses are portal-dependent plumbery, and I use eXo, so I can't help without knowing the specificities of uPortal. Are you using portlet 1.0 or 2.0? HTH, Pierre On Tue, Nov 24, 2009 at 6:16 AM, Steve Swinsburg steve.swinsb...@gmail.comwrote: Hi all, I'm trying to get a portlet happening for uPortal 3.1.1 which is based on the Portlet API 1.0 spec (Pluto). Does anyone have any sample code they can point me at? thanks, Steve -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket portlet in uPortal 3.1.1
eXo is currently portlet 2.0 so I know nothing regarding portlet 1.0 Wicket integration. You'll find working portlets for eXo in the standard eXo distribution. Just copy their filters listeners into your own Wicket-portlet. What I mean regarding this copy: depending upon your portal, your web.xml may be required to provide a set of non-standard listeners and / or filters. So the best way is to get inspired by what a portlet which is known to work provides. If you wish to give eXo a try, I can prodive you with a (eXo) standard web.xml portlet.xml which works for Wicket. But, as I said, I'm afraid I can't provide it for uPortal. I'll give uPortal a try this day, and maybe I'll come again. Regards, Pierre On Tue, Nov 24, 2009 at 10:39 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Yep I've seen that page. uPortal is Portlet 1.0 based (Pluto). Do you mean add the same filters/listeners as a Wicket based application would normally use to the normal uPortal descriptors? Because a uPortal portlet can have an empty web.xml (it gets re-written by the Pluto assembly) and a pretty standard portlet.xml. That page suggests providing an implementation of the two bridge classes (which it won't startup without) and additional filters. Can I see an eXo portlet? Is that portlet spec 1 or 2? thanks, Steve On 24/11/2009, at 8:00 PM, Pierre Goupil wrote: Assuming that you know this page: http://cwiki.apache.org/WICKET/portal-howto.html You should just copy the web.xml portlet.xml of an already working uPortal porlet (even if it's not Wicket based) and use the same filters / listeners... Theses are portal-dependent plumbery, and I use eXo, so I can't help without knowing the specificities of uPortal. Are you using portlet 1.0 or 2.0? HTH, Pierre On Tue, Nov 24, 2009 at 6:16 AM, Steve Swinsburg steve.swinsb...@gmail.comwrote: Hi all, I'm trying to get a portlet happening for uPortal 3.1.1 which is based on the Portlet API 1.0 spec (Pluto). Does anyone have any sample code they can point me at? thanks, Steve -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket portlet in uPortal 3.1.1
Steve, Unfortunately, I ran out of time, so I could not test in uPortal. Anyway, just mail me and I'll send you my (eXo) standard web.xml and portlet.xml. I'd like not to pollute the list with two annotated, big files. Moreover, here's a useful link: http://portals.apache.org/bridges/ I used to find once a ServletContextProvider implementation here. And regarding Wicket 1.4, I think that it only supports portlet 2.0, althought I can't remember where I heard that. But Wicket 1.4 support for portlet is indeed far more advanced than in 1.3 (it doesn't need theServletContextProvider implementation anymore, right?), so if you can use any portal that you like, I'd recommand to use a more up-to-date one. My 2 cents. Regards, Pierre On Tue, Nov 24, 2009 at 11:21 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Thanks Pierre. Ok so a basic uPortal portlet doesn't need anything in web.xml. When you deploy, as part of the spec it must be run through the Pluto Assembly which writes the necessary config (also available as a Maven plugin which is what I use). So you can just leave it empty and then it's automatically setup. You can also hardcode it but it may change between specs so best to let it do its thing. I'll run through it again with a simple portlet that I know works. The main issue is providing the implementation of PortletResourceURLFactory and ServletContextProvider. Portlet 1.0/uPortal doesn't seem to provide this implementation so I need to provide it. Perhaps I'll backport it from Portlet 2.0 but I was sure someone had alredy accomplished this. BTW, is Portlet 1.0 support still in Wicket 1.4 or only 1.3.x? I read that only Portlet 2.0 was being supported for 1.4. I'd still like to see the web.xml and portlet.xml for eXo if you can send? Thanks, Steve On 24/11/2009, at 9:01 PM, Pierre Goupil wrote: eXo is currently portlet 2.0 so I know nothing regarding portlet 1.0 Wicket integration. You'll find working portlets for eXo in the standard eXo distribution. Just copy their filters listeners into your own Wicket-portlet. What I mean regarding this copy: depending upon your portal, your web.xml may be required to provide a set of non-standard listeners and / or filters. So the best way is to get inspired by what a portlet which is known to work provides. If you wish to give eXo a try, I can prodive you with a (eXo) standard web.xml portlet.xml which works for Wicket. But, as I said, I'm afraid I can't provide it for uPortal. I'll give uPortal a try this day, and maybe I'll come again. Regards, Pierre On Tue, Nov 24, 2009 at 10:39 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Yep I've seen that page. uPortal is Portlet 1.0 based (Pluto). Do you mean add the same filters/listeners as a Wicket based application would normally use to the normal uPortal descriptors? Because a uPortal portlet can have an empty web.xml (it gets re-written by the Pluto assembly) and a pretty standard portlet.xml. That page suggests providing an implementation of the two bridge classes (which it won't startup without) and additional filters. Can I see an eXo portlet? Is that portlet spec 1 or 2? thanks, Steve On 24/11/2009, at 8:00 PM, Pierre Goupil wrote: Assuming that you know this page: http://cwiki.apache.org/WICKET/portal-howto.html You should just copy the web.xml portlet.xml of an already working uPortal porlet (even if it's not Wicket based) and use the same filters / listeners... Theses are portal-dependent plumbery, and I use eXo, so I can't help without knowing the specificities of uPortal. Are you using portlet 1.0 or 2.0? HTH, Pierre On Tue, Nov 24, 2009 at 6:16 AM, Steve Swinsburg steve.swinsb...@gmail.comwrote: Hi all, I'm trying to get a portlet happening for uPortal 3.1.1 which is based on the Portlet API 1.0 spec (Pluto). Does anyone have any sample code they can point me at? thanks, Steve -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Wicket tester test coverage
Guys, One thing that I like regarding Wicket tester is that it easily allows one to check a Page under design for any exception that it could throw at creation-time. Actually, doing such a basic test is for me essential, so as it takes only two lines of code, I systematically check all my pages this way. You know, the: // start and render the test page this.tester.startPage(HomePage.class); // assert rendered page class this.tester.assertRenderedPage(HomePage.class); thing. What I like so much with it is that any error which would occur when you load the page in FF / IE... occurs without leaving Eclipse and immediately. When the workflow to find the page in the browser is long and repetitive, it's a relief! BUT, when the number of pages grow, two related problems emerge: -you have to duplicate these two lines of code everytime, which is a (small) pain in itself -and you have no guarantee that you didn't forget any page, which is worst. So I'm looking for a way to list all Page instances in a Wicket app, which could then allow me to be sure that they are all covered by a test. And when it's done maybe I could use the same system in order to ensure that Selenium (the automated functional testing tool) has covered all my pages as well (more deeply). I could use a test coverage tool, but 1) it wouldn't work with Selenium 2) I don't want to generate a report, I want the test suit to fail if a Page is not covered by my test class. Could anyone suggest where to start, please? Regards, Pierre -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket tester test coverage
I use it, and what I'm looking for is a mean to ensure my test coverage. On Wed, Nov 25, 2009 at 6:13 AM, Kent Tong k...@cpttm.org.mo wrote: Pierre Goupil wrote: So I'm looking for a way to list all Page instances in a Wicket app, which could then allow me to be sure that they are all covered by a test. And when it's done maybe I could use the same system in order to ensure that Selenium (the automated functional testing tool) has covered all my pages as well (more deeply). What you need is TDD. Once you adopt TDD, you will have every page tested. - -- Kent Tong Better way to unit test Wicket pages ( http://wicketpagetest.sourceforge.net) -- View this message in context: http://old.nabble.com/Wicket-tester-test-coverage-tp26505428p26507647.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket tester test coverage
Ouch! It's exactly what my first point was trying to achieve. Thanx a lot! Now, I'll have to adapt it to Selenium. I'll try post it on your blog, Daan. Who said TDD?. I know that not so much is tested in this way be it's so exhaustive (regarding the total number of Pages / Components to check) plus it provide so fast feedback that I find it mandatory for whom wishes to do TDD in Wicket. Regards, Pierre On Wed, Nov 25, 2009 at 10:06 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: Spring has a classpath scanner which you can copy and adapt to scan for pages and then try to instantiate them. The problem is often that pages don't have a default constructor, which is a problem if you want to instantiate them automagically. Martijn On Wed, Nov 25, 2009 at 12:57 AM, Pierre Goupil goupilpie...@gmail.com wrote: Guys, One thing that I like regarding Wicket tester is that it easily allows one to check a Page under design for any exception that it could throw at creation-time. Actually, doing such a basic test is for me essential, so as it takes only two lines of code, I systematically check all my pages this way. You know, the: // start and render the test page this.tester.startPage(HomePage.class); // assert rendered page class this.tester.assertRenderedPage(HomePage.class); thing. What I like so much with it is that any error which would occur when you load the page in FF / IE... occurs without leaving Eclipse and immediately. When the workflow to find the page in the browser is long and repetitive, it's a relief! BUT, when the number of pages grow, two related problems emerge: -you have to duplicate these two lines of code everytime, which is a (small) pain in itself -and you have no guarantee that you didn't forget any page, which is worst. So I'm looking for a way to list all Page instances in a Wicket app, which could then allow me to be sure that they are all covered by a test. And when it's done maybe I could use the same system in order to ensure that Selenium (the automated functional testing tool) has covered all my pages as well (more deeply). I could use a test coverage tool, but 1) it wouldn't work with Selenium 2) I don't want to generate a report, I want the test suit to fail if a Page is not covered by my test class. Could anyone suggest where to start, please? Regards, Pierre -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket tester test coverage
Sure. But from the beginning, I was looking for a way not to write the famous 2 lines of code (see above) for each page and component. I'll have a look for sure at your lib, the Selenium integration is promising. :-) On Wed, Nov 25, 2009 at 10:25 AM, Kent Tong k...@cpttm.org.mo wrote: Pierre Goupil wrote: I use it, and what I'm looking for is a mean to ensure my test coverage. If you're using TDD, you will have developed the page and the unit test for that page at the same time and by definition you won't have a page that is not tested. - -- Kent Tong Better way to unit test Wicket pages ( http://wicketpagetest.sourceforge.net) -- View this message in context: http://old.nabble.com/Wicket-tester-test-coverage-tp26505428p26509669.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket tester test coverage
Yeah, test coverage is a big word here. But as I said I was not looking for a way to generate a report, just a mean to have my test suit fail if 1) a page throws an exception at instantiation 2) a page has not been so tested. That's exactly what you did and I'm not surprised not to be the first one to wonder how to achieve this. Of course this test is pretty basic, but as it's totally automated, that's no big deal. You just have to know what is does and what its limits are. Reading your blog, I see that I made the same assumptions than you regarding that matter and that the need was the very same. On Wed, Nov 25, 2009 at 10:24 AM, Daan van Etten d...@stuq.nl wrote: In my other post I gave a link to a full-fledged example which scans for Panel classes with the default constructor and instantiates them. http://stuq.nl/weblog/2009-11-01/automatically-test-your-wicket-panel-html-markup This has almost no value (in my opinion) for reporting unit testing coverage. It only checks for exceptions and if the code matches the markup at instantiation. An exception could easily be thrown when replacing panels, clicking on a link or submitting a form. This is not tested. Regards, Daan van Etten On Wed, 2009-11-25 at 10:06 +0100, Martijn Dashorst wrote: Spring has a classpath scanner which you can copy and adapt to scan for pages and then try to instantiate them. The problem is often that pages don't have a default constructor, which is a problem if you want to instantiate them automagically. Martijn On Wed, Nov 25, 2009 at 12:57 AM, Pierre Goupil goupilpie...@gmail.com wrote: Guys, One thing that I like regarding Wicket tester is that it easily allows one to check a Page under design for any exception that it could throw at creation-time. Actually, doing such a basic test is for me essential, so as it takes only two lines of code, I systematically check all my pages this way. You know, the: // start and render the test page this.tester.startPage(HomePage.class); // assert rendered page class this.tester.assertRenderedPage(HomePage.class); thing. What I like so much with it is that any error which would occur when you load the page in FF / IE... occurs without leaving Eclipse and immediately. When the workflow to find the page in the browser is long and repetitive, it's a relief! BUT, when the number of pages grow, two related problems emerge: -you have to duplicate these two lines of code everytime, which is a (small) pain in itself -and you have no guarantee that you didn't forget any page, which is worst. So I'm looking for a way to list all Page instances in a Wicket app, which could then allow me to be sure that they are all covered by a test. And when it's done maybe I could use the same system in order to ensure that Selenium (the automated functional testing tool) has covered all my pages as well (more deeply). I could use a test coverage tool, but 1) it wouldn't work with Selenium 2) I don't want to generate a report, I want the test suit to fail if a Page is not covered by my test class. Could anyone suggest where to start, please? Regards, Pierre -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket tester test coverage
No, it isn't but: -with your solution, no test has to be written especially for each Component / Page (if one just want to check for exception) -so we are assured that no Page / Component is forgotten (in the check for exception process)) :-) On Wed, Nov 25, 2009 at 10:40 AM, Daan van Etten d...@stuq.nl wrote: Item 2 (fail if a page has not been tested) is not in my solution, but I'm glad I could help :-) Regards, Daan van Etten On Wed, 2009-11-25 at 10:32 +0100, Pierre Goupil wrote: Yeah, test coverage is a big word here. But as I said I was not looking for a way to generate a report, just a mean to have my test suit fail if 1) a page throws an exception at instantiation 2) a page has not been so tested. That's exactly what you did and I'm not surprised not to be the first one to wonder how to achieve this. Of course this test is pretty basic, but as it's totally automated, that's no big deal. You just have to know what is does and what its limits are. Reading your blog, I see that I made the same assumptions than you regarding that matter and that the need was the very same. On Wed, Nov 25, 2009 at 10:24 AM, Daan van Etten d...@stuq.nl wrote: In my other post I gave a link to a full-fledged example which scans for Panel classes with the default constructor and instantiates them. http://stuq.nl/weblog/2009-11-01/automatically-test-your-wicket-panel-html-markup This has almost no value (in my opinion) for reporting unit testing coverage. It only checks for exceptions and if the code matches the markup at instantiation. An exception could easily be thrown when replacing panels, clicking on a link or submitting a form. This is not tested. Regards, Daan van Etten On Wed, 2009-11-25 at 10:06 +0100, Martijn Dashorst wrote: Spring has a classpath scanner which you can copy and adapt to scan for pages and then try to instantiate them. The problem is often that pages don't have a default constructor, which is a problem if you want to instantiate them automagically. Martijn On Wed, Nov 25, 2009 at 12:57 AM, Pierre Goupil goupilpie...@gmail.com wrote: Guys, One thing that I like regarding Wicket tester is that it easily allows one to check a Page under design for any exception that it could throw at creation-time. Actually, doing such a basic test is for me essential, so as it takes only two lines of code, I systematically check all my pages this way. You know, the: // start and render the test page this.tester.startPage(HomePage.class); // assert rendered page class this.tester.assertRenderedPage(HomePage.class); thing. What I like so much with it is that any error which would occur when you load the page in FF / IE... occurs without leaving Eclipse and immediately. When the workflow to find the page in the browser is long and repetitive, it's a relief! BUT, when the number of pages grow, two related problems emerge: -you have to duplicate these two lines of code everytime, which is a (small) pain in itself -and you have no guarantee that you didn't forget any page, which is worst. So I'm looking for a way to list all Page instances in a Wicket app, which could then allow me to be sure that they are all covered by a test. And when it's done maybe I could use the same system in order to ensure that Selenium (the automated functional testing tool) has covered all my pages as well (more deeply). I could use a test coverage tool, but 1) it wouldn't work with Selenium 2) I don't want to generate a report, I want the test suit to fail if a Page is not covered by my test class. Could anyone suggest where to start, please? Regards, Pierre -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Mail Error Sending Message to Wicket Forum From Google Account
I can post here from gmail. On Wed, Nov 25, 2009 at 8:35 PM, Bennett, Keith kbennet...@fedcsc.comwrote: All - I'm trying to post to the Wicket Users forum from my Google mail account, but cannot. I got several error messages over time, and then this one saying that it had failed permanently. Is this a known issue? Is it all Gmail accounts, or just mine? Thanks, Keith Delivery to the following recipient failed permanently: us...@apache.wicket.org Technical details of permanent failure: The recipient server did not accept our requests to connect. Learn more at http://mail.google.com/support/bin/answer.py?answer=7720 [apache.wicket.org (1): Connection refused] - Original message - The Google info page said: Google Help Gmail Help Your Messages 'The recipient server did not accept our requests...' 'The recipient server did not accept our requests...' This error message indicates that we've attempted to make a connection with your recipient's server but didn't receive a reply. Some possible causes include the following: * The other domain doesn't have up-to-date MX records or is otherwise misconfigured. * The other domain is blacklisting or graylisting messages from Gmail. * The other domain is experiencing temporary networking problems. We recommend contacting the customer service department of the recipient's domain for further instructions. If you receive this bounce message when sending to your Google Apps domain, please see our instructions for configuring your MX records. -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket based open source projects
Sure! I know at least Hippo CMS (http://www.onehippo.com/en/home) JTrac ( http://www.jtrac.info/) Regards, Pierre On Fri, Nov 27, 2009 at 2:53 PM, Gatos ega...@gmail.com wrote: Hello, Is there any wicket based Open Source projects? Thank you -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket based open source projects
Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket based open source projects
+1: reading good Wicket-based source code wolud be a good spare-time activity. :-) I gave JTrac a try but it's 1.3 based. So for now, I don't know where to look: either you've got big apps, either you've got the scattered Wicket documentation. :-( On Fri, Nov 27, 2009 at 4:34 PM, Juri Prokofiev proj...@gmail.com wrote: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket based open source projects
IMHO Wicket-phonebook is a very good code reading. But it's done. Next! :-) On Fri, Nov 27, 2009 at 4:51 PM, Matias Berrueta matiasberru...@gmail.comwrote: https://www.ohloh.net/p?query=wicket the best way to learn architecture, is take a book and start yours project Matias Berrueta On Fri, Nov 27, 2009 at 12:46 PM, Pedro Santos pedros...@gmail.com wrote: about phonebook on wicket stuff? On Fri, Nov 27, 2009 at 1:44 PM, Pierre Goupil goupilpie...@gmail.com wrote: +1: reading good Wicket-based source code wolud be a good spare-time activity. :-) I gave JTrac a try but it's 1.3 based. So for now, I don't know where to look: either you've got big apps, either you've got the scattered Wicket documentation. :-( On Fri, Nov 27, 2009 at 4:34 PM, Juri Prokofiev proj...@gmail.com wrote: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html http://wicketstuff.org/wicket13/compref/ http://www.wicket-library.com/wicket-examples/ajax/ Regards, Peter 2009-11-27 16:23 keltezéssel, Gatos írta: My problem is that I haven't found a good example of a wicket based project. Hippo CMS is too large project to learn Wicket. I thought that If there will be an Open Source Projects page, then it will be easier to start a project. On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Which difference with the page Martijn gave? On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl pe...@gmx.org wrote: +1 Am 27.11.2009 um 16:03 schrieb Gatos: It might be a good idea to create a page in with open source projects, like Hippo CMS. What do you think? On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl pe...@gmx.org wrote: artifactory Am 27.11.2009 um 15:15 schrieb Andrea Aime: Gatos ha scritto: Hello, Is there any wicket based Open Source projects? See GeoServer 2.0 at http://geoserver.org Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- http://www.autoladu.ee - kõik varuosad ühes kohas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) -- Pedro Henrique Oliveira dos Santos -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket Ajax in JBOSS Portal
Do you get any exception? What does the Ajax window say? Does it just fail to get a response? 2009/12/1 liangyulin rylin...@hotmail.com Anybody knows this problem? From: rylin...@hotmail.com To: users@wicket.apache.org Subject: Wicket Ajax in JBOSS Portal Date: Mon, 30 Nov 2009 15:49:53 +0800 Hello, I tried to deploy a wicket application (1.4.3 version) in JBOSS portal 2.7.2 as portlet, but it seemed that the AJAX functionality didn't work, for example, I would like to use rating panel in wicket extension but the ajax submit failed. Who knows how to resolve this problem or any workaround? Thanks Rylin 聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载! _ 上Windows Live 中国首页,下载Messenger2009安全版! http://www.windowslive.cn -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket Ajax in JBOSS Portal
Are you sure you've provided this: filter-mapping filter-nameAjaxApplication/filter-name url-pattern/ajax/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping in your web.xml? Do the portlet work in servlet mode, i.e. when calling its URL directly? 2009/12/1 liangyulin rylin...@hotmail.com No Exception, nothing happen when I click the ajax link From: goupilpie...@gmail.com Date: Tue, 1 Dec 2009 08:29:27 +0100 Subject: Re: Wicket Ajax in JBOSS Portal To: users@wicket.apache.org Do you get any exception? What does the Ajax window say? Does it just fail to get a response? 2009/12/1 liangyulin rylin...@hotmail.com Anybody knows this problem? From: rylin...@hotmail.com To: users@wicket.apache.org Subject: Wicket Ajax in JBOSS Portal Date: Mon, 30 Nov 2009 15:49:53 +0800 Hello, I tried to deploy a wicket application (1.4.3 version) in JBOSS portal 2.7.2 as portlet, but it seemed that the AJAX functionality didn't work, for example, I would like to use rating panel in wicket extension but the ajax submit failed. Who knows how to resolve this problem or any workaround? Thanks Rylin 聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载! _ 上Windows Live 中国首页,下载Messenger2009安全版! http://www.windowslive.cn -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) _ 上Windows Live 中国首页,下载Messenger2009安全版! http://www.windowslive.cn -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Re: Wicket Ajax in JBOSS Portal
Sorry, I don't use JBoss portal but eXo. It looks like JBoss portal support is incomplete... If I send you a minimalistic AJAX portlet which works in eXo, would you mind adapting it for JBoss (web.xml portlet.xml) and try and see if it works? HTH! Regards, Pierre 2009/12/1 liangyulin rylin...@hotmail.com Yes, in my web.xml filter-mapping filter-nameportlet.applist/filter-name url-pattern/portlet/applist/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping and it worked fine in servlet mode. I got a information from google that Wicket 1.4 Ajax functionality doesn't work in JBOSS portal: http://issues.apache.org/jira/browse/WICKET-2058 basic features working (but no Ajax) on: JBoss Portal 2.7.0 Did you succeed to execute Ajax call in JBOSS portal 2.7 via Wicket? From: goupilpie...@gmail.com Date: Tue, 1 Dec 2009 10:18:34 +0100 Subject: Re: Wicket Ajax in JBOSS Portal To: users@wicket.apache.org Are you sure you've provided this: filter-mapping filter-nameAjaxApplication/filter-name url-pattern/ajax/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping in your web.xml? Do the portlet work in servlet mode, i.e. when calling its URL directly? 2009/12/1 liangyulin rylin...@hotmail.com No Exception, nothing happen when I click the ajax link From: goupilpie...@gmail.com Date: Tue, 1 Dec 2009 08:29:27 +0100 Subject: Re: Wicket Ajax in JBOSS Portal To: users@wicket.apache.org Do you get any exception? What does the Ajax window say? Does it just fail to get a response? 2009/12/1 liangyulin rylin...@hotmail.com Anybody knows this problem? From: rylin...@hotmail.com To: users@wicket.apache.org Subject: Wicket Ajax in JBOSS Portal Date: Mon, 30 Nov 2009 15:49:53 +0800 Hello, I tried to deploy a wicket application (1.4.3 version) in JBOSS portal 2.7.2 as portlet, but it seemed that the AJAX functionality didn't work, for example, I would like to use rating panel in wicket extension but the ajax submit failed. Who knows how to resolve this problem or any workaround? Thanks Rylin 聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载! _ 上Windows Live 中国首页,下载Messenger2009安全版! http://www.windowslive.cn -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) _ 上Windows Live 中国首页,下载Messenger2009安全版! http://www.windowslive.cn -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand) _ “游日本,拿现金”MClub白领股神大赛火热报名中 http://club.msn.cn/pr/?a=emoney -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)
Wicket tester login pages
Hello all, Is there a way to access directly a page in Wicket tester? I mean: by-passing the login page in order not to execute the whole workflow leading to a certain page. We use, of course, @AuthorizedInstantiation-based login. We've found examples where people provide directly the credentials to the login form and then browse to the desired page, but I was wondering whether something more direct existed. Regards, Pierre -- Ad augusta per angusta Des résultats grandioses par des voies étroites
Re: Wicket tester login pages
We use @AuthorizedInstantiation. But what we're looking for is not a way to inject the credentials but rather a way to access directly a protected page in unit tests. We know how to provide credentials and browse to the page but find it dangerous: what if the credentials change, what if the Website layout changes... ? Regards, Pierre On Mon, Jan 4, 2010 at 12:36 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Depends on your login but ofcourse wicket is a whitebox so you can inject any credentials you want. But visit the login page first to create session. ** Martin 2010/1/4 Pierre Goupil goupilpie...@gmail.com: Hello all, Is there a way to access directly a page in Wicket tester? I mean: by-passing the login page in order not to execute the whole workflow leading to a certain page. We use, of course, @AuthorizedInstantiation-based login. We've found examples where people provide directly the credentials to the login form and then browse to the desired page, but I was wondering whether something more direct existed. Regards, Pierre -- Ad augusta per angusta Des résultats grandioses par des voies étroites - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Ad augusta per angusta Des résultats grandioses par des voies étroites
Re: Wicket 1.4.5 : Spring integration problem?
Maybe it comes from the web.xml : can we ses it, please? Regards, Pierre On Wed, Jan 20, 2010 at 7:41 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings all, I followed the easy 'Application Object Approach' to integrate Spring with my Wicket app. ( http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach) In my application class : public class NihonBareApplication extends WebApplication { private CommonService commonService; public CommonService getCommonService() { return commonService; } public void setCommonService(CommonService cs) { this.commonService = cs; } } And in my pages : public class FamiliesPage extends WebPage { public CommonService getCommonService(){ System.out.println(+ ((NihonBareApplication)getApplication()).getCommonService()); return ((NihonBareApplication)getApplication()).getCommonService(); } } But eventhough the bean injected into 'NihonbareApplication' object, the getCommonService() method of my page returns null for the bean. What could be the problem? Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Ad augusta per angusta Des résultats grandioses par des voies étroites
Re: Wicket 1.4.5 : Spring integration problem?
+1 with Alex. I'm glad to help you, though :-) On Wed, Jan 20, 2010 at 9:55 AM, Alex Objelean alex_objel...@yahoo.comwrote: You could try the wicket-spring library. It allows a very nice integration using a SpringBean annotation, similar to Autowired from spring. Alex Umanga wrote: Thanks Pierre, yes,that was a problem with web.xml , I forgot to change the filter setting : init-param param-nameapplicationFactoryClassName/param-name param-valueorg.apache.wicket.spring.SpringWebApplicationFactory/param-value /init-param Now everything works fine. Pierre Goupil wrote: Maybe it comes from the web.xml : can we ses it, please? Regards, Pierre On Wed, Jan 20, 2010 at 7:41 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings all, I followed the easy 'Application Object Approach' to integrate Spring with my Wicket app. ( http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach ) In my application class : public class NihonBareApplication extends WebApplication { private CommonService commonService; public CommonService getCommonService() { return commonService; } public void setCommonService(CommonService cs) { this.commonService = cs; } } And in my pages : public class FamiliesPage extends WebPage { public CommonService getCommonService(){ System.out.println(+ ((NihonBareApplication)getApplication()).getCommonService()); return ((NihonBareApplication)getApplication()).getCommonService(); } } But eventhough the bean injected into 'NihonbareApplication' object, the getCommonService() method of my page returns null for the bean. What could be the problem? Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://old.nabble.com/Wicket-1.4.5-%3A-Spring-integration-problem--tp27237445p27238481.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Ad augusta per angusta Des résultats grandioses par des voies étroites
Re: [announce] Wicket 1.4-rc4 released
Keep on working hard, guys! Wicket is just impressive. Thanx to all of you. Regards, Pierre On Mon, May 11, 2009 at 8:13 PM, Jeremy Thomerson jrthomer...@apache.orgwrote: The Apache Wicket team is proud to announce the availability of the fourth release candidate for the newest version of Wicket - 1.4. A lot of bugs have been squashed and several improvements implemented. If you are already using earlier versions of 1.4, it is recommended you update to Wicket 1.4-rc4 at your earliest convenience. Eager people click here to download the distribution, others can read further: http://www.apache.org/dyn/closer.cgi/wicket/1.4-rc4 We thank you for your patience and support. - The Wicket Team Apache Wicket Apache Wicket is a component oriented Java web application framework. With proper mark-up/logic separation, a POJO data model, and a refreshing lack of XML, Apache Wicket makes developing web-apps simple and enjoyable again. Swap the boilerplate, complex debugging and brittle code for powerful, reusable components written with plain Java and HTML. You can find out more about Apache Wicket on our website: http://wicket.apache.org This release This release is the fourth release candidate for the Wicket 1.4 product. This release fixes several bugs and adds some minor improvements. You can find out about the changes at the bottom of this announcement. Migrating from 1.2 If you are coming from Wicket 1.3, you really want to read our migration guide, found on the wiki: http://cwiki.apache.org/WICKET/migrate-14.html Downloading the release: You can download the release from the official Apache mirror system, and you can find it through the following link: http://www.apache.org/dyn/closer.cgi/wicket/1.4-rc4/ For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.4-rc4/version /dependency Substitute the artifact ID with the projects of your liking to get the other projects. Please note that we don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: http://slf4j.org Validating the release The release has been signed by Jeremy Thomerson, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dist/wicket/1.4-rc4/KEYS Instructions on how to validate the release can be found here: http://www.apache.org/dev/release-signing.html#check-integrity Reporting bugs In case you do encounter a bug, we would appreciate a report in our JIRA: http://issues.apache.org/jira/browse/WICKET The distribution In the distribution you will find a README. The README contains instructions on how to build from source yourself. You also find a CHANEGELOG-1.4 which contains a list of all things that have been fixed, added and/or removed since the 1.4 branch was created. Release Notes - Wicket - Version 1.4-RC4 ** Bug * [WICKET-1960] - AutoCompleteTextField - gives a type mismatch error on IE - version wicket-1.4-rc1 * [WICKET-2241] - Guice integration doesn't honour optional bindings * [WICKET-2250] - IOptionRenderer getModel(Object value) should change to getModel(T value) * [WICKET-2251] - LoadableDeatachableModel onDetach() invoked after nulling the model ** New Feature * [WICKET-2255] - Simple changes for datepicker/datefield Release Notes - Wicket - Version 1.4-RC3 ** Bug * [WICKET-1673] - Toggling visibility on nested Borders breaks page markup * [WICKET-1861] - Inevitable UnknownSizeException with HTTPS * [WICKET-2000] - AjaxRequestTarget escapes ] to ]^ * [WICKET-2005] - pb to access to this on event onchange on the AutoCompleteTextField * [WICKET-2015] - Empty File Upload field breaks validation of other fields in WicketTester. * [WICKET-2022] - wicket fails on WebLogic 9.2 clustered * [WICKET-2024] - AutoComplete ShowListOnFocusGain not working * [WICKET-2049] - beforeRender not called for behaviour added to ComponentTag * [WICKET-2060] - Invalid javascript when setStripJavascriptCommentsAndWhitespace is enabled * [WICKET-2061] - interceptContinuationURL with umlauts not encoded * [WICKET-2071] - Wicket-Examples Nested example fails with a NPE * [WICKET-2077] - SerializationChecker issue * [WICKET-2079] - Component Use Check always fails for visible components inside an invisible border body * [WICKET-2083] - NPE when clearing DateTimeField * [WICKET-2086] - setOutputMarkupContainerClassName() ... and wrong render mode in IE7 * [WICKET-2087] - typo in SpringBeanLocator.java * [WICKET-2088] - ApacheLicenceHeaderTests fail after projects' metadata created by Eclipse * [WICKET-2091] - Error feedback is
Drag Drop
Hello, I'm currently playing with AJAX in Wicket using WicketStuff YUI integration. Is there any way to refuse a drop ? There's a behavior called Droppable which includes an accept() method but I can't figure out how to add it to my component tree / call it. Here's a working code snippet : - final WebMarkupContainer list1; final ListString list1items = new ArrayListString(); list1items.add(1.1); list1items.add(1.2); add(list1 = new WebMarkupContainer(list1)); list1.setOutputMarkupId(true); list1.add(new YuiDDTarget(LIST) { private static final long serialVersionUID = -62687283825213344L; @Override public void onDrop(AjaxRequestTarget target, Component component) { String newItem = ((ListItemString) component).getModelObject(); list1items.add(newItem); target.addComponent(list1); } }); - But then, I'm trying to add a new Droppable() to my list1 component but neither onDrop() nor accept() are called : - Droppable d = new Droppable() { private static final long serialVersionUID = -3647700662771836452L; @Override protected boolean accept(Draggable draggable) { return super.accept(draggable); } @Override public void onDrop(AjaxRequestTarget target, Component component, int index) { } }; list1.add(d); - A clue, anyone ? Regards, Pierre -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Wicket Portlets : content-type problem
Hello, I'm currently facing a problem with a simple code. I'm trying and display a YUI Carousel but my portal (eXo Platform) gives me an error : exception returned by processAction() or render() methods java.lang.IllegalStateException: the content type has not been set before calling thegetPortletOutputStream() method. Here is the code, which works in a servlet context : ListString list = Arrays.asList(new String[] { images/bangkok.jpg, images/hk.jpg, images/jakarta.jpg, images/sgp.jpg, images/neuschwanstein.jpg, images/hongkong.png, images/singapore.png }); add(new YuiCarouselString(carousel, list) { @Override protected Component newPanel(String id, String object) { return new ImagePanel(id, object); } } I've seen several people having the same problem on the Net but was unable to find a solution. Any help would be greatly appreciated. Regards, Pierre -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: Wicket1.4 Portlet simple example
Hello, Which portal do you use. If it's eXo, I can send you a portlet. If it's not, I'm afraid I can't help. Regards, Pierre On Tue, Jul 14, 2009 at 12:49 PM, Michal Velecky michal.vele...@posam.skwrote: Hello, im new in wicket portlets. Please, can you help me to crate or post a link to some easy example of wicket(1/4x) portlet(JSR-286) that contains just portlet.xml, web.xml, one application class and one or two pages? I would be very gratefull, Thank you very much Michal V. -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: Wicket1.4 Portlet simple example
I'm afraid my project won't help since it uses filters listeners specific to eXo. But for Liferay you may have a look at here : http://www.liferay.com/web/guest/community/forums/-/message_boards/message/1127568 Feel free to ask me questions here or in private if you have any problems. For me, having Wicket work in an eXo portlet was a hard work (as said in various Wicket places, since eXo portlet 2.0 implementation is incomplete) so if I can save you effort, don't hesitate. Regards, Pierre On Tue, Jul 14, 2009 at 4:00 PM, michal.velecky michal.vele...@posam.skwrote: Hi, i'm using JBoss or Liferay of Glassfish, but anything would help, send me youre portlet to michal.vele...@posam.sk please If there is any example of any portlet listed above, send me that example on my mail also many thanks -- View this message in context: http://www.nabble.com/Wicket1.4-Portlet--simple-example-tp24477258p24479995.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: Accessing the rowItem from the populateItem of a column
Hello, Can't you just make the parent's field final and use : Parent.this.cellItem ? HTH, Pierre On Wed, Jul 15, 2009 at 11:33 AM, Lorenzo Bolzani l.bolz...@gmail.comwrote: Hi all, I need to do an ajax refresh of a whole line of a table. On the left of the table there is a dropdown and when the selection is changed the other fields of the table should be refreshed accordingly. So I have a column where the dropdown is defined and here I add an onchange behaviour where I should add the entire row to the ajax target. But in the populateItem of ICellPopulator I have no access to the rowItem. With this hack Object repeatingView = ReflectionUtil.getPrivateField(cellItem, parent); return (Item) ReflectionUtil.getPrivateField(repeatingView, parent); I can reach the rowItem and everything works perfectly. Now I was looking for a cleaner way to do this. The item I need is the one that is received from the populateItem(Item) of AbstractDataGridView so I could override this call super and add the tracking of the current rowItem making it available, as a field, in subsequent ICellPopulator.populateItem calls. Not very nice anyway. Do you have any suggestion? Could a getParent method added to cellItem to access to the rowItem it belongs to? Thanks, bye Lorenzo -- It has to start somewhere, It has to start sometime. What better place than here, what better time than now? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Reading Wicket source code
Good evening, In order to learn Wicket as well as good Java coding ^ ^, I'd like to read Wicket source code. It's been a couple of months since I use it, so I have a general user-view on it. Do you have advice ? Where should I start it all ? Is there any typical workflow through the code-base for such a matter ? Hope to hear from you soon, guys ! Regards, Pierre -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, l'amitié)
Re: Error with Wicket 1.4.6
Hello, He means that you should open a bug ticket and provide a (Maven) quickstart project demonstrating the issue, so that Wicket devs can then include it into their non-regression test framework. Regards, Pierre On Tue, Feb 2, 2010 at 9:14 PM, Giovanni pino_o...@yahoo.com wrote: Hello Igor, excuse me, I don't understand your reply. Can you please explain a little bit more? best regards giovanni From: Igor Vaynberg igor.vaynb...@gmail.com To: users@wicket.apache.org Cc: r.bartolo...@reply.it; d.cappad...@reply.it Sent: Tue, February 2, 2010 4:55:07 PM Subject: Re: Error with Wicket 1.4.6 quickstart... -igor On Tue, Feb 2, 2010 at 3:22 AM, Giovanni pino_o...@yahoo.com wrote: I upgraded my project from Wicket 1.4.5 to 1.4.6. After the upgrade, I get the following error on IE6: quote The XML page cannot be displayed. Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. /quote On Firefox it is working well. The previous Wicket 1.4.5 also worked well on both IE6 and Firefox. What can be the problem? What can I do to fix it? Please, don't tell me not to use IE6, because I am forced to use it by my company. :( Best regards, giovanni - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Ad augusta per angusta Des résultats grandioses par des voies étroites
BookmarkablePage with PageParameters
Good evening, I have a BookmarkablePage which may need PageParameters or not, depending on the business workflow. I used to mount it under /page but now that we do use the PageParameters-providing constructor I have a problem which forced me not to mount the page in my Application class anymore. When I mounted the page explicitly, the PageParameters constructor call used to gave such an URL: /page/param/0. So when asking for a resource on that page, it gave me this error message: URL fragment has unmatched key/valuepairs, responding with 404. If I don't mount the page, the URL generated is of the form: /bookmarkablePage?class=fooparam=0. Which is good regarding the parameter retrieval. My question is: is there any way to have the best of both world, I mean such a pretty URL as /page (no Java class name in the URL) and the parameters using the classical '?' and '' symbols? Which would give this URL: /page?param=0. I guess that if I don't have any trailing slashes in the URL, the URL fragment message should be avoided, isn't it? Thanks in advance and regards, Pierre -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide.
Re: BookmarkablePage with PageParameters
Mmmh great! I'll give this a try on Monday. Cheers, Pierre On Fri, Feb 12, 2010 at 6:42 PM, vineet semwal vineetsemwal1...@gmail.comwrote: take a look at querystringurlcodingstrategy,mixedparamurlcodingstategy ,mixedparamhybridurlcodingstategy, and use what suits you . Good evening, I have a BookmarkablePage which may need PageParameters or not, depending on the business workflow. I used to mount it under /page but now that we do use the PageParameters-providing constructor I have a problem which forced me not to mount the page in my Application class anymore. When I mounted the page explicitly, the PageParameters constructor call used to gave such an URL: /page/param/0. So when asking for a resource on that page, it gave me this error message: URL fragment has unmatched key/valuepairs, responding with 404. If I don't mount the page, the URL generated is of the form: /bookmarkablePage?class=fooparam=0. Which is good regarding the parameter retrieval. My question is: is there any way to have the best of both world, I mean such a pretty URL as /page (no Java class name in the URL) and the parameters using the classical '?' and '' symbols? Which would give this URL: /page?param=0. I guess that if I don't have any trailing slashes in the URL, the URL fragment message should be avoided, isn't it? Thanks in advance and regards, Pierre -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide. -- regards, Vineet Semwal -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide.
Re: Ajax File Upload (Safari and Chrome)?
The link is broken, unfortunately: The project you are trying to view does not exist. Try browsing http://issues.apache.org/jira/browse for projects. Regards, Pierre On Tue, Mar 2, 2010 at 1:27 PM, bgooren b...@iswd.nl wrote: Possibly this is related to http://issues.apache.org/jira/browse/WICKET-2657 WICKET-2657http://issues.apache.org/jira/browse/WICKET-2657%0AWICKET-2657? That bug only mentions Chrome though, so it is unclear if it also occurs on Safari. Did you check if AjaxButton.onSubmit() gets called to isolate the problem area (server vs client)? Corbin, James-2 wrote: Are there any known issues with the FileUploadField when submitting via Ajax on Safari 4.x or Chrome 5.x? In the AjaxButton.onSubmit(), I am attempting to update other components and it doesn't seem to repaint the component(s) in Safari or Chrome, but does work as I expect in Firefox 3.x. J.D. -- View this message in context: http://old.nabble.com/Ajax-File-Upload-%28Safari-and-Chrome%29--tp27748810p27755256.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide.
Re: (Un-)deployment woes on Tomcat (and JBoss)
I often have the same problem and symptom in my dev Tomcat, forcing me te restart it. On Sat, Mar 20, 2010 at 5:06 PM, Alexandros Karypidis akary...@yahoo.grwrote: Hi, I'm having problems with deployment/undeployment of Wicket apps on Tomcat (and also JBoss, though I think it's related to the fact that it embeds Tomcat). Basically, in both cases undeployment comes back with an Exception, leaving the server in a dirty state and I have to restart the server every time. This has been mentioned in both the user and developer lists, but with no reply: http://old.nabble.com/java.lang.NoClassDefFoundError:-org-apache-wicket-util-lang-PropertyResolver-tc26191924.html http://old.nabble.com/Weird-error-on-shutdown...-td18907685.html The problem manifests only when deploying EXPLODED wars (with a single packaged WAR file, the problem goes away). It can be easily reproduced as follows: 1) Create an instance of the quickstart archetype ( http://wicket.apache.org/quickstart.html). Let's say you used the default values so the artifact id is myproject from here on. Use the latest 1.4.7 version of Wicket (though I've tried with all previous versions up to 1.4.4 and the result is the same; the reference above uses version 1.4-m2, so it must be surprisingly old). 2) Create an EXPLODED web archive (war) with mvn war:exploded 3) Move the exploded war folder (myproject-1.0-SNAPSHOT) to the deployment folder (server/xxx/deploy for JBoss or webapps) 4) Undeploy by moving the exploded war folder (myproject-1.0-SNAPSHOT), OUT of the deployment folder You will get a stack trace that basically ends up in a ClassNotFound exception when the Wicket filter is cleaning up: java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/PropertyResolver at org.apache.wicket.Application.internalDestroy(Application.java:952) at org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:527) at org.apache.wicket.protocol.http.WicketFilter.destroy(WicketFilter.java:179) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:267) This is a huge annoyance, because re-deployment of the application does not work; if you try to deploy it again, JBoss fails with: org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/ade_ws/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_(default)/deploy/myproject-1.0-SNAPSHOT/ at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:187) Basically, you must restart the entire JBoss server. In a production environment it means you can't upgrade your wicket applications without affecting other applications (though you can get away if you don't use an exploded WAR folder). In a developer environment it's totally counter-productive: you need the exploded format and restaring JBoss every time is quite irritating. The Eclipse WTP adapter runs in exploded mode which basically makes working with Eclipse a nightmare. I am using JDK1.6 (I use 1.6.0_18) and either JBoss5.1 or Tomcat 6.0.26 (or 6.0.18 or 5.5.28 which I also tried). My system is running Windows 7 and NTFS (it may be relevant to the way the file-system handles moving folders). Last notes: 1) I had a look at the code. It seems that Wicket tries to use weak references to facilitate a thorough clean-up of the JVM by garbage collection after the application is undeployed. This may be related, as it appears to me as if the class loader used by the application is no longer available during clean-up. I think there's some class-loading magic going on, probably the thread's context class loader is being switched, which ends up in the destroy() method not having access to wicket. 2) Jetty does not seem to have any problems, so it must be something in the way Tomcat works. 3) The complete stack trace in my case (Win7, JDK1.6.0_18-win32, JBoss5.1, Wicket1.4.7) is: java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/PropertyResolver at org.apache.wicket.Application.internalDestroy(Application.java:952) at org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:527) at org.apache.wicket.protocol.http.WicketFilter.destroy(WicketFilter.java:179) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:267) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3818) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605) at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1175) at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4705) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
testing JS in WicketTester
Good morning, Is there any way to test JavaScript code in WicketTester? I know of Selenium-based solutions, but I think that's too much heavyweight. Plus, I'd really like to unit test my rendering JS behavior. In a similar way than with YUI test, but for my homegrown JS. A recommandation, anyone? Thanks in advance, Pierre -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide.
Re: How to get stable DOM IDs without hacks?
Hello, You can use myComponent.setMarkupId(blah), but then it's up to you to ensure the id uniqueness. Regards, Pierre On Tue, Apr 13, 2010 at 12:35 AM, b...@actrix.gen.nz wrote: Hi, Wicket has its own mind - it changes IDs in HTML forms so JavaScript breaks. Example: Source: input type=button wicket:id=addButton id=addButton value=Add/ Generated: input type=button id=addButtona value=Add name=addButton/ Please note that Wicket renames the id from addButton to addButtona while it does not change the name attribute value. So we would have to create a Button subclass and: @Override public String getMarkupId(){ // As an example, use the wicket:id value ... return getId(); } and in HTML, we have to write a warning as a reminder of this hack: !-- Wicket overrides id from wicket:id value -- This is a maintenance problem and a performance problem because the additinal classes cost memory and CPU. Any ideas? Thanks, Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide.
Re: How to get stable DOM IDs without hacks?
Craig is absolutely right, of course, but if you want to be aware of what an id value is and OK to manage its uniqueness, setMarkupId() still applies. A use case for this is, for instance, a Selenium test: Selenium locates the HTML elements by ids and you have to know them at page-write time in order to be able to provide them to it. Regards, Pierre On Tue, Apr 13, 2010 at 6:04 AM, b...@actrix.gen.nz wrote: Thanks a lot to you both for your solutions! Regards Bernard On Mon, 12 Apr 2010 23:36:16 -0400, you wrote: Like Pierre said, component.setMarkupId(component.getId()) will work, but it was discussed just a couple of weeks ago why that's a bad approach. The thread isn't appearing on nabble though, not sure why that is. Anyway, a safer approach (to prevent duplicate ID issues) is to generate your javascript calls at the server using the markup ID as a parameter. It sounds like you have a function like function func() { var elem = document.getElementById(someId); // do stuff to the element } so just modify to function func(id) { var elem = document.getElementById(id); // do stuff to the element } and output a call to that function using something like a StringHeaderContributor or implement IHeaderContributor if you need to call at page load or use AjaxRequestTarget if in an ajax request. - Original Message - From: Pierre Goupil [mailto:goupilpie...@gmail.com] To: users@wicket.apache.org Sent: Mon, 12 Apr 2010 18:36:55 -0400 Subject: Re: How to get stable DOM IDs without hacks? Hello, You can use myComponent.setMarkupId(blah), but then it's up to you to ensure the id uniqueness. Regards, Pierre On Tue, Apr 13, 2010 at 12:35 AM, b...@actrix.gen.nz wrote: Hi, Wicket has its own mind - it changes IDs in HTML forms so JavaScript breaks. Example: Source: input type=button wicket:id=addButton id=addButton value=Add/ Generated: input type=button id=addButtona value=Add name=addButton/ Please note that Wicket renames the id from addButton to addButtona while it does not change the name attribute value. So we would have to create a Button subclass and: @Override public String getMarkupId(){ // As an example, use the wicket:id value ... return getId(); } and in HTML, we have to write a warning as a reminder of this hack: !-- Wicket overrides id from wicket:id value -- This is a maintenance problem and a performance problem because the additinal classes cost memory and CPU. Any ideas? Thanks, Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide.
open Modal Window without AjaxRequestTarget
Hello, I'm well aware of https://issues.apache.org/jira/browse/WICKET-12 but I can't figure out how to open a modal window without an AjaxRequestTarget. My guess is that it's related to getWindowOpenJavascript() but is there any example available, please? I use Wicket 1.4.9. Thanks in advance, Pierre Goupil -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide.
Re: open Modal Window without AjaxRequestTarget
I'll give that a try, men. Thank you! Regards, Pierre On Thu, Jul 1, 2010 at 8:21 AM, Stefan Lindner lind...@visionet.de wrote: See ModalWindow.getWindowOpenJavascript() and use it like this ModalWindow myModalWindow = new ModalWIndow.. someComponent.add(new SimpleAttributeModifier(onclick, myModalWindow.getWindowOpenJavascript())); I didn't try I but I think it should work like this. Stefan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide.
Re: open Modal Window without AjaxRequestTarget
Good evening, I tried it but nothing shows. My Firebug gives this error: either src or element must be set I did use setContent()! Can anyone help, please? Regards, Pierre On Thu, Jul 1, 2010 at 9:41 AM, Pierre Goupil goupilpie...@gmail.comwrote: I'll give that a try, men. Thank you! Regards, Pierre On Thu, Jul 1, 2010 at 8:21 AM, Stefan Lindner lind...@visionet.dewrote: See ModalWindow.getWindowOpenJavascript() and use it like this ModalWindow myModalWindow = new ModalWIndow.. someComponent.add(new SimpleAttributeModifier(onclick, myModalWindow.getWindowOpenJavascript())); I didn't try I but I think it should work like this. Stefan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide. -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide.
Re: getStatelessHint()?
Hello, According to the JavaDoc: getStatelessHint(): *Description copied from class: Componenthttp://static.ddpoker.com/javadoc/wicket/1.4-m1/org/apache/wicket/Component.html#getStatelessHint%28%29 * Returns whether the component can be stateless. Also the component behaviors must be stateless, otherwise the component will be treat as stateful. In order for page to be stateless (and not to be stored in session), all components (and component behaviors) must be statelessIn a repeater, the getObject() method of the underlying model is caused at each step of rendering, so it's a good practice not to put it in session, (but rather manage a cache for it if the retrieval is costly). HTH, Pierre On Tue, Dec 7, 2010 at 5:43 PM, Douglas Ferguson doug...@douglasferguson.us wrote: getStatelessHint() -- Sans ami était le grand maître des mondes Eprouvait manque, ce pourquoi il créa les Esprits. Mais au vrai il ne trouva aucun égal, Du calice de ce royaume total des âmes Ecume jusqu'à lui L'Infinité. Schiller, l'amitié
Re: Component wiring mess in 'HomePage'
Yes, that's a decorator pattern, which could a be good practice. You don't use inheritance since you've just got a Panel, not a Page. So feel free to go for that solution, I find it smart, too. On Wed, Dec 8, 2010 at 7:51 AM, Jeremy Thomerson jer...@wickettraining.comwrote: On Tue, Dec 7, 2010 at 4:08 AM, Peter Karich peat...@yahoo.de wrote: regarding the panels: I'm using a lot of them. But for instantiation I need to specify what to do onClick so I could reuse the panel in a different context somewhen later. I mean, when the panelA detects a click this is forwarded to the onClick method which is overwritten in Homepage to invoke a search. But if I want to reuse that panelA in a different context maybe I want to trigger a different onClick behaviour? You can use this pattern of creating extension points: class MyPanel extends Panel { MyPanel(id) { super(id); add(new LinkVoid(foo) { public void onClick() { onFooLinkClicked(); } }); } protected void onFooLinkClicked() { /* this method is designed to be overridden */ } } class SomePage extends YourBasePage { SomePage() { add(new MyPanel(bar) { protected void onFooLinkClicked() { // put your page-specific logic here. } }); } } -- Jeremy Thomerson http://wickettraining.com Need a CMS for Wicket? Use Brix! http://brixcms.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Sans ami était le grand maître des mondes Eprouvait manque, ce pourquoi il créa les Esprits. Mais au vrai il ne trouva aucun égal, Du calice de ce royaume total des âmes Ecume jusqu'à lui L'Infinité. Schiller, l'amitié
Re: [Announce] Wicket Stuff Core 1.4.15 released
Good afternoon, I've been unable to clone every single of these GIT repositories. The message is still the same one: Cloning into wicketstuff-core-1.4.15... fatal: https://github.com/wicketstuff/core/tree/wicketstuff-core-1.4.15/info/refsnot found: did you run git update-server-info on the server? Please help! Regards, Pierre GOUPIL On Thu, Jan 6, 2011 at 2:34 AM, Michael O'Cleirigh michael.ocleir...@rivulet.ca wrote: Hi Martin, I appreciate your thoughts on the wicketstuff/core branching. I can see how your approach would work with their not being a stable branch (and then no need to cherry-pick commits from the main development branch). I looked back at the history and not that many people ever used the stable branch so tagging releases against the main branches directly shouldn't have any negative impact. Actually I think it will be better this way because contributing developers don't need to do anything to get their recent updates included in the new release. I've deleted the core-1.4.15.x branch and I will try out this new approach either for the 1.4.15.1 point release of the 1.4.16 release which ever comes first. Mike Hi, seems quite complicated to me (one branch too much): I'd propose to keep the number of branches low, or even very low. Branches, at least to me, are the hotspots to commit code to, the code you'd like to live on in the upstream. As wicketstuff is sort of the tail of wicket, it should try to follow wickets branching and release behavior. In wicket I see two development hotspots represented in the wicket-1.4.x and trunk (aka. wicket-1.5.x) branch. These hotspots are quite distinct. If code is committed to one of them and the same functionality is needed in the other branch, most likely an automatic merge will not do. The branches differ in the api and a patch to be merged into the other branch will need to be merged by hand. Its quite obvious to any developer that code committed to the 1.4.x will not automatically find its way into the trunk. So, I'd say, if wicketstuff wants to be the reference point for stuff for wicket, it should only carry two branches. wicketstuff-core-1.4.x with the artifact/version wicketstuff-core-1.4-SNAPSHOT depending on wicket-1.4-SNAPSHOT and trunk with the artifact/version wicketstuff-core-1.5-SNAPSHOT depending on wicket-1.5-SNAPSHOT If a release is build it should first be decided on the wicket version this release depends on. Releases depending on wicket-1.4.[1..9] should be cut from the wicketstuff-core.1.4.x branch. The release tag name and the version name should follow wickets version naming. I. e. a release depending on wicket-1.4.15 should get a tag and version of wicketstuff-1.4.15.0 If a second release depending on the same wicket version is needed it should be called wicketstuff-1.4.15.1 So basically keep the number of branches code will be committed to low and keep the naming obvious for any developer, to make it easy to decide in which branch code needs to be committed to, to make it live in the upstream. mf Am 05.01.2011 um 03:47 schrieb Michael O'Cleirigh: Hello, Following the release of wicket 1.4.15 I've cut a matching release for wicketstuff-core. This release was delayed due to the migration from sourceforge and subversion to github. The artifacts have been promoted and will be synced into the maven central repository within 1-2 hours. They can be retrieved like this: dependency groupIdorg.wicketstuff/groupId artifactIdwicket-shiro/artifactId version1.4.15/version /dependency The release tag is here: https://github.com/wicketstuff/core/tree/wicketstuff-core-1.4.15 The core-1.4.x branch now has a pom version of 1.4.16-SNAPSHOT ( https://github.com/wicketstuff/core/tree/core-1.4.x). I've created a new stable branch core-1.4.15.x and it has a pom version of 1.4.15.1-SNAPSHOT ( https://github.com/wicketstuff/core/tree/core-1.4.15.x). Release Notes - WicketStuff Core - Version 1.4.15: wicket-shiro: - org.wicketstuff.shiro.component.LoginPanel$SignInForm now extends StatelessForm instead of Form - org.wicketstuff.shiro.component.LoginPanel.onSignInSucceeded now redirects to homepage using setResponsePage(getApplication().getHomePage()) instead of setResponsePage(getApplication().getSessionSettings().getPageFactory().newPage(getApplication().getHomePage())) The plan is to release a 1.4.15.1 point release within one month from today.If you commit code and/or want a release sooner let me know as one month is the worst case target. Regards, Mike - To unsubscribe, e-mail:users-unsubscr...@wicket.apache.org For additional commands, e-mail:users-h...@wicket.apache.org - To unsubscribe, e-mail:users-unsubscr...@wicket.apache.org For additional
Re: Apache Wicket Cookbook Published!
Excellent! I'll buy it in a week max! Are there a lot of complex graphics or is it suitable to read it in a BW e-book reader in pdf format? Actually, I think I'll buy both format but you know... Regards, Pierre On Fri, Mar 25, 2011 at 6:52 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: Congrats. I trust Igor -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, March 25, 2011 1:44 PM To: users@wicket.apache.org; d...@wicket.apache.org; annou...@wicket.apache.org Subject: Apache Wicket Cookbook Published! For the past nine months I have been quietly working on a book about Wicket. Unlike other books on the market this one does not attempt to teach you Wicket from the ground up. Instead, it is for developers who already know the basics and want to learn how to implement some of the more advanced use cases. Essentially, it contains recipes that show the reader how to implement solutions to some of, what I think are, the most commonly asked questions and stumbling blocks. This morning I was informed that the book has been published! You can read more about it and pick up a copy on PACKT's Site[1]. I hope you enjoy it, more details below... [1] https://www.packtpub.com/apache-wicket-cookbook/book ## Description ## Apache Wicket is one of the most famous Java web application frameworks. Wicket simplifies web development and makes it fun. Are you bored of going through countless pages of theory to find out how to get your web development done? With this book in hand, you don't need to go through hundreds of pages to figure out how you will actually build a web application. You will get practical solutions to your common everyday development tasks to pace up your development activities. Apache Wicket Cookbook provides you with information that gets your problems solved quickly without beating around the bush. This book is perfect for you if you are ready to take the next step from tutorials and step into the practical world. It will take you beyond the basics of using Apache Wicket and show you how to leverage Wicket's advanced features to create simpler and more maintainable solutions to what at first may seem complex problems. You will learn how to integrate with client-side technologies such as JavaScript libraries or Flash components, which will help you to build your application faster. You will discover how to use Wicket paradigms to factor out commonly used code into custom Components, which will reduce the maintenance cost of your application, and how to leverage the existing Wicket Components to make your own code simpler. A straightforward Cookbook with highly focused practical recipes to make your web application development easier with the Wicket web framework ## What you will learn from this book ## * Leverage Wicket to implement a wide variety of both simple and advanced use cases in a narrative that gets straight to the point * Make forms work in the crazy world of the Web by learning the ways of Wicket's form processing * Simplify localizing your Wicket applications * Take the boring out of your forms by discovering how to improve the user experience while simplifying your code at the same time * Leverage the built-in Table component to make displaying tabular data a snap * Think Wicket's Borders are not very useful? Learn to use them in unexpected places to simplify things * See how to integrate with Flash components and create interactive charts at the same time * Web 1.0 too boring? Learn how to tame Wicket's AJAX support and bring your application into Web 2.0 * Simplify your security code by learning various security techniques * An application cannot be built with Wicket alone; see how to make it play nice with other frameworks ## Approach ## This is a hands-on practical guide to a large variety of topics and use cases. This book tries to use real-world examples when possible, but is not afraid to come up with a contrived pretext if it makes explaining the problem simpler. Unlike a lot of other books, this one does not try to maintain a continuous theme from chapter to chapter, such as demonstrating solutions on the same fictional application; doing so would be almost impossible given the wide variety of recipes presented here. Instead, this book concentrates on focused problems users are likely to encounter and shows clear solutions in a step-by-step manner. This book tries to teach by example and is not afraid to show a lot of code because, after all, it is for coders. ## Who this book is written for ## This book is for current users of the Apache Wicket framework; it is not an introduction to Wicket that will bore you with tons of theory. You are expected to have built or maintained a simple Wicket application in the past and to be looking to learn new and better ways of using Wicket. If you are ready to take your Wicket skills to the
Re: [Wicket 1.5.1] Support for SpringBean proxy has gone
Hi, I'd love to have this when I switch to 1.5, too. Thanks in advance, Pierre On Fri, Sep 30, 2011 at 7:26 PM, Zilvinas Vilutis cika...@gmail.com wrote: wow :) Well that feature definitely was in 1.4.1x :) I thought it was in 1.5.x by default? Regards Žilvinas Vilutis Mobile: (+1) 623 330 6048 E-mail: cika...@gmail.com On Fri, Sep 30, 2011 at 12:17 AM, Mike Mander wicket-m...@gmx.de wrote: Yeah. It's mystic. I couldn't find any commit to trunk / release with this change. In Jira issue is really open. But i really used an unpatched 1.5.0 version with SpringBean proxy available. Maybe it was accidently in 1.5.0 :-) I've use as a workaround wicket-spring 1.5.0 with wicket-core excluded. It seems to work so far. Mike Since you ask... https://issues.apache.org/jira/browse/WICKET-3936 has never been applied, neither RC, nor 1.5.0, nor 1.5.1 It is still open. I think we should keep all our -ioc implementations in sync. So if this feature is applied for Spring then it should be applied for Guice as well. But I guess this should be discussed further. On Fri, Sep 30, 2011 at 8:58 AM, Mike Manderwicket-m...@gmx.de wrote: Hi, call me stupid but with 1.5.0 there was a feature in SpringBean annotation to set using a proxy or not. Issue was https://issues.apache.org/jira/browse/WICKET-3936. Why is it gone with 1.5.1? Thanks Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Scaffolding
Good evening fellow Wicketers, Do you know of any Wicket scaffolding component? I know about these two: http://wicketopia.sourceforge.net/scaffold.html http://gitorious.org/wscaffold but I'm currently looking for competitors. In particular, I'm looking for source code-generating components. Any links, please? Regards, Pierre Goupil -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: Wicket Ajax direction and roadmap regarding push-like updates
Just to mention that I'm personally more than happy with Atmosphere. There's a little work coming in order to support lots of Comet channels (it will be contributed back when it's done) but for a simple use with two or three channels it works like a charm. Plus there's a working Wicket example available in the official distro. And it's unit testable. Or at least, it doesn't prevent you to unit-test the regular Wicket code, not like wicket-push for instance, that I gave up because it prevented me to unit test my regular (non-Comet) code. You won't have a perfect for all, no JavaScript solution but it's pretty well integrated with our favorite framework and it handles very well the different clients and servers solutions. Plus the support of WebSocket is coming and I know from the author that the Atmosphere guy and the Tomcat guys are working together for a forth-coming WebSocket support in this nice servlet engine. Regards, Pierre On Mon, Feb 6, 2012 at 8:33 PM, pkc pkci...@gmail.com wrote: It is a tricky topic because what can be done from the wicket api level doesn't have to use true push for the default implementation. I don't like the push solutions out there. Ice-push looked promising because of the hype but after issues with memory leaks and overly complicated requirements, I switched to jQuery and two rest-style request handlers and it was so simple (one url for status updates and one for the request that is taking a long time). I don't know why there is resistance to a default wicket push interface that works with jquery or pure ajax to provide a default implementation. I bet most wicket developers would welcome a simple solution like this. Especially if the wicket team made the interface flexible enough to plugin alternate push solutions as they become standard. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Ajax-direction-and-roadmap-regarding-push-like-updates-tp4351890p4362477.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: Wicket Ajax direction and roadmap regarding push-like updates
I was using wicketstuff-push with Wicket 1.4. And it used to prevent me from unit-testing because of NPEs in the push code, IIRC. Regards, Pierre Goupil On Wed, Feb 8, 2012 at 5:58 PM, pkc pkci...@gmail.com wrote: Sounds promising. As a wicket user, I would like to see a very tight integration of a push API in wicket-core. It seems most solutions are overly complicated and it would be nice to have a simple API that just let you add listeners or set up channels, then fire off a job and wicket core would take care of making sure the background updates were coordinated with normal page events and state. Similar to the Atmosphere solution, ideally there would be a lightweight, default/fallback implementation that doesn't involve adding a bunch of dependencies to wicket core. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Ajax-direction-and-roadmap-regarding-push-like-updates-tp4351890p4370083.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called.
Sure. But Martin is just telling you to use this as a code example. Regards, Pierre On Wed, Feb 29, 2012 at 8:33 PM, singh13 gso...@gmail.com wrote: Hi there, I am not too sure what you mean about DownloadLink. I am not using download link in any part of my code. To link to the provider page i am just using a normal link. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/java-lang-IllegalStateException-Can-t-call-write-CharSequence-after-write-byte-has-been-called-tp4416819p4432697.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: Using Wicket with Adobe Forms (FDF)
You can try a BookmarkablePage. On Mon, Mar 5, 2012 at 7:27 PM, eugenebalt eugeneb...@yahoo.com wrote: I guess what I'm asking is, is there a way to support regular Servlet URLs in Wicket? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-Adobe-Forms-FDF-tp4446987p4447046.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Atmosphere multi-request
Good afternoon, I'm currently trying to integrate Atmosphere Comet framework and Wicket. I used to have them working, but since the introduction of multi-request functionality, I have been unable to integrate both of them. So my question is simple: did anyone managed to have a working app with Atmosphere multi-request and Wicket (any version)? Regards, Pierre Goupil
Wicket 1.5: sessions
Good evening, I'm currently in the process of migrating my app from Wicket 1.4 to Wicket 1.5. I've read the migration guide and everything seems to go fine, except for session management. Here's my code: public class MySession extends WebSession { public static MySession get() { return (MySession)Session.get(); } } When call, the get() method gives this stacktrace: Caused by: java.lang.ClassCastException: org.apache.wicket.protocol.http.WebSession cannot be cast to MySession Any help, please? Regards, Pierre Goupil
Re: Wicket 1.5: sessions
Yes, absolutely: public Session newSession(final Request request, final Response response) { return new MySession(request); } On Sun, Mar 18, 2012 at 10:32 PM, Jeremy Thomerson jer...@wickettraining.com wrote: On Sun, Mar 18, 2012 at 5:08 PM, Pierre Goupil goupilpie...@gmail.com wrote: Good evening, I'm currently in the process of migrating my app from Wicket 1.4 to Wicket 1.5. I've read the migration guide and everything seems to go fine, except for session management. Here's my code: public class MySession extends WebSession { public static MySession get() { return (MySession)Session.get(); } } When call, the get() method gives this stacktrace: Caused by: java.lang.ClassCastException: org.apache.wicket.protocol.http.WebSession cannot be cast to MySession Any help, please? Regards, Pierre Goupil Does your application override newSession and return a new MySession? -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: Wicket 1.5: sessions
Actually, this error occurs in my unit tests. I can't launch the app at this very moment, because some more things need to be managed during the migration. But this simple test should work as it all compiles. As expected, the constructor from WebSession is called by MyApplication#newSession(Request request, Response response) Regards, Pierre Goupil On Sun, Mar 18, 2012 at 10:48 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Put a breakpoint in the WebSession constructor and see where it's getting called. Or, perhaps you won't see anything there if this is happening because you are in a serialized WebSession. You can test that by clearing all cookies, etc, and starting a new session. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* On Sun, Mar 18, 2012 at 5:40 PM, Pierre Goupil goupilpie...@gmail.com wrote: Yes, absolutely: public Session newSession(final Request request, final Response response) { return new MySession(request); } On Sun, Mar 18, 2012 at 10:32 PM, Jeremy Thomerson jer...@wickettraining.com wrote: On Sun, Mar 18, 2012 at 5:08 PM, Pierre Goupil goupilpie...@gmail.com wrote: Good evening, I'm currently in the process of migrating my app from Wicket 1.4 to Wicket 1.5. I've read the migration guide and everything seems to go fine, except for session management. Here's my code: public class MySession extends WebSession { public static MySession get() { return (MySession)Session.get(); } } When call, the get() method gives this stacktrace: Caused by: java.lang.ClassCastException: org.apache.wicket.protocol.http.WebSession cannot be cast to MySession Any help, please? Regards, Pierre Goupil Does your application override newSession and return a new MySession? -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort. -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: Wicket 1.5: sessions
) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.ClassNotFoundException: org.apache.wicket.request.Request at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334) ... 26 more Do you have any idea where it can come from? I've checked my classpath and it looks OK, now. Regards, Pierre Goupil On Sun, Mar 18, 2012 at 11:35 PM, Sven Meier s...@meiers.net wrote: Perhaps a classloader issue? Check whether you have two Wicket versions in your project. Sven On 03/18/2012 10:56 PM, Pierre Goupil wrote: Actually, this error occurs in my unit tests. I can't launch the app at this very moment, because some more things need to be managed during the migration. But this simple test should work as it all compiles. As expected, the constructor from WebSession is called by MyApplication#newSession(**Request request, Response response) Regards, Pierre Goupil On Sun, Mar 18, 2012 at 10:48 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Put a breakpoint in the WebSession constructor and see where it's getting called. Or, perhaps you won't see anything there if this is happening because you are in a serialized WebSession. You can test that by clearing all cookies, etc, and starting a new session. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* On Sun, Mar 18, 2012 at 5:40 PM, Pierre Goupilgoupilpie...@gmail.com wrote: Yes, absolutely: public Session newSession(final Request request, final Response response) { return new MySession(request); } On Sun, Mar 18, 2012 at 10:32 PM, Jeremy Thomerson jer...@wickettraining.com wrote: On Sun, Mar 18, 2012 at 5:08 PM, Pierre Goupilgoupilpie...@gmail.com wrote: Good evening, I'm currently in the process of migrating my app from Wicket 1.4 to Wicket 1.5. I've read the migration guide and everything seems to go fine, except for session management. Here's my code: public class MySession extends WebSession { public static MySession get() { return (MySession)Session.get(); } } When call, the get() method gives this stacktrace: Caused by: java.lang.ClassCastException: org.apache.wicket.protocol.**http.WebSession cannot be cast to MySession Any help, please? Regards, Pierre Goupil Does your application override newSession and return a new MySession? -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort. --**--**- To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: Wicket 1.5: sessions
No, I have it as a transitive dependency in my POM, so it is in my classpath. Thanks for the quick assistance! Regards, Pierre On Tue, Mar 20, 2012 at 9:57 PM, Sven Meier s...@meiers.net wrote: You're missing the wicket-request jar. Sven On 03/20/2012 08:38 PM, Pierre Goupil wrote: You were absolutely right, Sven! Now, my unit tests pass and I can launch my app. But amongst some minor problems, I have this exception in my start-up logs: java.lang.**NoClassDefFoundError: org/apache/wicket/request/**Request at java.lang.Class.**getDeclaredMethods0(Native Method) at java.lang.Class.**privateGetDeclaredMethods(**Class.java:2444) at java.lang.Class.**getDeclaredMethods(Class.java:**1808) at org.springframework.orm.jpa.**support.**PersistenceAnnotationBeanPostP** rocessor.**findPersistenceMetadata(**PersistenceAnnotationBeanPostP** rocessor.java:382) at org.springframework.orm.jpa.**support.**PersistenceAnnotationBeanPostP** rocessor.**postProcessMergedBeanDefinitio**n(** PersistenceAnnotationBeanPostP**rocessor.java:320) at org.springframework.beans.**factory.support.** AbstractAutowireCapableBeanFac**tory.**applyMergedBeanDefinitionPostP** rocessors(**AbstractAutowireCapableBeanFac**tory.java:798) at org.springframework.beans.**factory.support.** AbstractAutowireCapableBeanFac**tory.doCreateBean(** AbstractAutowireCapableBeanFac**tory.java:493) at org.springframework.beans.**factory.support.** AbstractAutowireCapableBeanFac**tory.createBean(** AbstractAutowireCapableBeanFac**tory.java:456) at org.springframework.beans.**factory.support.**AbstractBeanFactory$1.** getObject(AbstractBeanFactory.**java:293) at org.springframework.beans.**factory.support.** DefaultSingletonBeanRegistry.**getSingleton(** DefaultSingletonBeanRegistry.**java:222) at org.springframework.beans.**factory.support.** AbstractBeanFactory.doGetBean(**AbstractBeanFactory.java:290) at org.springframework.beans.**factory.support.** AbstractBeanFactory.getBean(**AbstractBeanFactory.java:192) at org.springframework.beans.**factory.support.**DefaultListableBeanFactory. **preInstantiateSingletons(**DefaultListableBeanFactory.**java:585) at org.springframework.context.**support.**AbstractApplicationContext.** finishBeanFactoryInitializatio**n(AbstractApplicationContext.**java:895) at org.springframework.context.**support.**AbstractApplicationContext.** refresh(**AbstractApplicationContext.**java:425) at org.springframework.web.**context.ContextLoader.** createWebApplicationContext(**ContextLoader.java:282) at org.springframework.web.**context.ContextLoader.** initWebApplicationContext(**ContextLoader.java:204) at org.springframework.web.**context.ContextLoaderListener.** contextInitialized(**ContextLoaderListener.java:47) at org.apache.catalina.core.**StandardContext.listenerStart(** StandardContext.java:4723) at org.apache.catalina.core.**StandardContext$1.call(** StandardContext.java:5226) at org.apache.catalina.core.**StandardContext$1.call(** StandardContext.java:5221) at java.util.concurrent.**FutureTask$Sync.innerRun(** FutureTask.java:334) at java.util.concurrent.**FutureTask.run(FutureTask.**java:166) at java.util.concurrent.**ThreadPoolExecutor.runWorker(** ThreadPoolExecutor.java:1110) at java.util.concurrent.**ThreadPoolExecutor$Worker.run(** ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.**java:636) Caused by: java.lang.**ClassNotFoundException: org.apache.wicket.request.**Request at org.apache.catalina.loader.**WebappClassLoader.loadClass(** WebappClassLoader.java:1678) at org.apache.catalina.loader.**WebappClassLoader.loadClass(** WebappClassLoader.java:1523) at java.lang.ClassLoader.**loadClassInternal(ClassLoader.**java:334) ... 26 more 20 mars 2012 20:27:17 org.apache.catalina.core.**StandardContext listenerStart GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.springframework.web.**context.ContextLoaderListener java.lang.**NoClassDefFoundError: org/apache/wicket/request/**Request at java.lang.Class.**getDeclaredMethods0(Native Method) at java.lang.Class.**privateGetDeclaredMethods(**Class.java:2444) at java.lang.Class.**getDeclaredMethods(Class.java:**1808) at org.springframework.orm.jpa.**support.**PersistenceAnnotationBeanPostP** rocessor.**findPersistenceMetadata(**PersistenceAnnotationBeanPostP** rocessor.java:382) at org.springframework.orm.jpa.**support.**PersistenceAnnotationBeanPostP** rocessor.**postProcessMergedBeanDefinitio**n(** PersistenceAnnotationBeanPostP**rocessor.java:320) at org.springframework.beans.**factory.support.** AbstractAutowireCapableBeanFac**tory.**applyMergedBeanDefinitionPostP** rocessors(**AbstractAutowireCapableBeanFac**tory.java:798
[1.5] unwanted page refresh
Good afternoon, I have a couple of ModalWindow s in my code that respond to closing using an AjaxButton and its AjaxRequestTarget. My problem is that, in 1.5, after the page displays its components added to the target, the page refreshes itself. Which I don't want, indeed. The problem is weird since the same code used to work in 1.4 without any such side-effects. Details: Wicket 1.5.5, Firefox 11, Opera (?), Debian Linux 6, Tomcat 7.0.22. Any help will be much appreciated. Regards, Pierre Goupil
Re: [1.5] unwanted page refresh
Sounds like you have a redirect somewhere. Yes, but one which didn't triggered in 1.4! Do you have any components on the page which at some point in time call setResponsePage or an equivalent? I have no setResponsePage. I'll look through the js to see if there is any window.location but it's doubtful. Thank you, Pierre Bas Op 21-3-2012 12:49, schreef Pierre Goupil: Good afternoon, I have a couple of ModalWindow s in my code that respond to closing using an AjaxButton and its AjaxRequestTarget. My problem is that, in 1.5, after the page displays its components added to the target, the page refreshes itself. Which I don't want, indeed. The problem is weird since the same code used to work in 1.4 without any such side-effects. Details: Wicket 1.5.5, Firefox 11, Opera (?), Debian Linux 6, Tomcat 7.0.22. Any help will be much appreciated. Regards, Pierre Goupil --**--**- To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: Is there a GUI Builder for Wicket which generates Wicket java code?
Or you can try the scaffolding approach: http://wicketopia.sourceforge.net/scaffold.html http://level2crm.com/content/building-scaffoldling-wicket This is not precisely GUI builders but they can help speed up your development. Regards, Pierre Goupil On Sat, Mar 24, 2012 at 2:13 PM, Stefan Lindner lind...@visionet.de wrote: There are a lot of GUI builder tools for Wicket. Any visual HTML editor will do what you need. You write HTML files and connet them with java code via Wicket:id=someId attributes in your html. Not Java generatest he GUI, the GUI is generated by a HTML Designer (man or machine). The programming logic is done with java. -Ursprüngliche Nachricht- Von: Ben Stover [mailto:bxsto...@yahoo.co.uk] Gesendet: Samstag, 24. März 2012 01:36 An: Wicket Users Betreff: Is there a GUI Builder for Wicket which generates Wicket java code? Sorry for this newbie question. From what I read so far Wicket users have to write at first java code which leads to a GUI front end. Is there a GUI builder tool for the opposite direction? I would like to click and design visually (!) a GUI and let this GUI builder generate later the corresponding java code. Is this possible? Thank you Ben - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: mouseover in wicket
There's a project called jwicket-tooltip in wicketstuff. If you don't mind using jQuery, this could be a good spot. But a js lib just for that may be overkill as well. Have a look at wicketstuff-minis too, it may be more lightweight. Regards, Pierre Goupil On Sat, Mar 24, 2012 at 4:53 PM, Dan12321 wee...@centrum.cz wrote: Hello, is possible to create mouseover and show tooltip (wicket panel with html) when I move cursor over html element/text/link. Is there any way how to do it in wicket? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/mouseover-in-wicket-tp4501543p4501543.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: Atmosphere multi-request
Good evening, Sorry for the lag, I missed this thread! The multi-request functionality of Atmosphere allows Comet channels and subscribing / pushing only in the right channel. There an example of Atmosphere / Wicket here: https://github.com/martin-g/wicket-atmosphere-tests Atmosphere is a Comet framework and what I miss is its multi-request functionality. For the moment, whatever the number of channels I have is, every callback of every channel is called when getting a Comet response. That's overkill in terms of client-side CPU usage. So I'd like to have the said functionality integrated to Wicket but I was unable to have it work. Any help will be appreciated. Regards, Pierre Goupil On Tue, Mar 13, 2012 at 5:20 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi Pierre, Can you give us a url that describes what multi-request is and what issues do you face with it ? On Tue, Mar 13, 2012 at 5:40 PM, Pierre Goupil goupilpie...@gmail.com wrote: Good afternoon, I'm currently trying to integrate Atmosphere Comet framework and Wicket. I used to have them working, but since the introduction of multi-request functionality, I have been unable to integrate both of them. So my question is simple: did anyone managed to have a working app with Atmosphere multi-request and Wicket (any version)? Regards, Pierre Goupil -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
Re: Atmosphere multi-request
On Thu, Mar 29, 2012 at 11:04 PM, Pierre Goupil goupilpie...@gmail.comwrote: https://github.com/martin-g/wicket-atmosphere-tests lol I've just realized it is a project of yours!
Re: Wicket 6.0 WebSocket question: client API
Great! Thanks a lot! Regards, Pierre On Wed, Jun 20, 2012 at 2:31 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi Pierre, Take a look at https://github.com/martin-g/wicket-native-websocket-example/blob/master/src/main/resources/org/apache/wicket/websocket/jetty/example/client.js There is Wicket.WebSocket object which basically wraps native window.WebSocket just to be able to intercept the calls and send messages with Wicket.Event's PubSub. You can use native window.WebSocket as well. I'm working on a simplification which will create/open a single WS connection for all WebSocketBehaviors you may have in your page. I don't see why someone would need more than one websocket connection per page. This way we/you can create components which use WebSocketBehavior internally and use the default connection. For example currently you need to do: var ws = new Wicket.WebSocket(); ws.send('some text'); with the default connection it may look like: WebSocketTextLink uses WebSocketBehavior to setup the connection and to have the callback (#onTextMessage()), and additionally it will register 'click' event listener for the link to read the text somehow and send it with : Wicket.WebSocket.send(loadText()) Note that this way you don't care about creating the websocket at all (new Wicket.WebSocket()). This will be done for you. You will just need to provide a way to read the text that should be send. I'll add some documentation about the client side API in the Wiki page soon. On Wed, Jun 20, 2012 at 3:08 PM, Pierre Goupil goupilpie...@gmail.com wrote: Good afternoon, Thanks for the WebSocket support in Wicket 6.0, that's very good news to hear. But I have a couple of questions, though. Firstly, how am I supposed to send a message from the client-side? Am I supposed to use the plain-vanilla WebSocket API? For instance, would this do the trick: --- var ws = new WebSocket(ws://localhost:9998/echo); ws.onopen = function() { ws.send(Message to send); } -- ? Or is there any other (more Wicket-way) of providing the server with a message? Secondly, how am I supposed to get the URL to provide to the client-side? Is there a #renderHead() method which could give it to me, like for the DefaultAjaxBehavior? I'm sorry I can't test it for the moment, so I'm just asking here. OK, thanks in advance guys! Regards, Pierre Goupil -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort. -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé assez fort.
E-mail validation link
Good evening, I'm currently trying to send a validation e-mail when a user creates an account. I'd link to provide a link in order to confirm the subscription. Is there any recommended way to do that? In particular, I don't know how to write the href of the Link in my e-mail. Any help will be much appreciated. Regards, Pierre Goupil -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
[1.5] [6.0] dynamically named CSS, JS images resources
Good evening, I'd like to contribute CSSs JSs to my head for which names I don't know. More precisely, I'd like to be able to download a .zip, unzip it and contribute its CSS JS content to the head, plus being able to display the images of the zip thanks to the links in the CSS. Regarding the downloading and unzipping steps, it's easy. But for the header contributions, I can't figure out how to do that since : 1) I don't know the names of the CSS JS files before download 2) the CSS files link to the images using their regular names, but Wicket appends characters of its own to their names. What I'm trying to achieve is to be able to switch (at run-time) my app's theme by downloading a new one on a themes website, like http://www.freecsstemplates.org/ I use Wicket 1.5.7 but a solution for Wicket 6.0 is OK as well. Any help will be much appreciated. Regards, Pierre Goupil -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
Re: E-mail validation link
Thanks Josh! :-) We'll be watching together to see if anyone has other cool solutions! Regards, Pierre On Thu, Jul 19, 2012 at 8:55 PM, Josh Kamau joshnet2...@gmail.com wrote: I do something like this : 1. Create a confirmation page that takes a confirmation code as a page parameter 2. Mount a page to a url that looks like http://domain.com/confirmation?code=somesupersecretcode 3. When a user registers, i generate the code and put it somewhere in the database 4. I then send him the link as in (2) above but with user specific code 5. When the user tries to login, i extract the code and check if its valid. Am sure there could be other more clever techniques Will be watching this thread. Josh. On Thu, Jul 19, 2012 at 9:45 PM, Pierre Goupil goupilpie...@gmail.com wrote: Good evening, I'm currently trying to send a validation e-mail when a user creates an account. I'd link to provide a link in order to confirm the subscription. Is there any recommended way to do that? In particular, I don't know how to write the href of the Link in my e-mail. Any help will be much appreciated. Regards, Pierre Goupil -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin. -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
Re: E-mail validation link
It looks nice, Michal! I'm browsing it and I'll come back here if I have any questions, if it doesn't bother you. Thanks all! Regards, Pierre On Thu, Jul 19, 2012 at 9:10 PM, Michal Margiel michal.marg...@gmail.comwrote: Hello, I've implemented this in the same way as Josh does. My code for register participant for our conference[1] is open source. You can view it here[2] in particular: https://bitbucket.org/margielm/confitura/src/06588ec117c8/src/main/java/jelatyna/pages/confitura/registration/form/RegistrationForm.java https://bitbucket.org/margielm/confitura/src/06588ec117c8/src/main/java/jelatyna/pages/confitura/registration/Registration.java [1] www.confitura.pl [2] https://bitbucket.org/margielm/confitura -- Pozdrawiam/Best regards Michał Margiel http://www.confitura.pl (dawniej Javarsovia) http://www.linkedin.com/in/MichalMargiel http://www.margiel.eu -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
Re: [1.5] [6.0] dynamically named CSS, JS images resources
Thanks guys! I think that Sébastien's 3) will do it. I'll test it and tell you more. Regards, Pierre On Fri, Jul 20, 2012 at 10:18 AM, Sébastien Gautrin sgaut...@telemetris.com wrote: Hi, In your case, the general idea would be to create a ResourceReference to your downloaded css js files, and then on your base page to contribute them dynamically with @Override public void renderHead(IHeaderResponse response) { ResourceReference jsRef = [...] ResourceReference cssRef = [...] response.**renderJavaScriptReference(**jsRef); response.renderCSSReference(**cssRef); } Now for creating the ResourceReference for your files, there's several options depending on what you want to do: - if you want to refer directly to the external css/js, just do response.* *renderJavaScriptReference(htt**p://example.com/jsfile.jshttp://example.com/jsfile.js); I wouldn't do that unless the other site is a site you control and want to use as a CDN - you could load the data from the db: http://wicketinaction.com/** 2011/07/wicket-1-5-mounting-**resources/http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/gives an example for images, wouldn't be much different with a file - you could save the downloaded files in a specific directory, mount that directory as a sharedresourcereference, and serve the files that way: see http://stackoverflow.com/a/**9232848 http://stackoverflow.com/a/9232848for more information There's probably other ways (better maybe) though. Pierre Goupil wrote: Good evening, I'd like to contribute CSSs JSs to my head for which names I don't know. More precisely, I'd like to be able to download a .zip, unzip it and contribute its CSS JS content to the head, plus being able to display the images of the zip thanks to the links in the CSS. Regarding the downloading and unzipping steps, it's easy. But for the header contributions, I can't figure out how to do that since : 1) I don't know the names of the CSS JS files before download 2) the CSS files link to the images using their regular names, but Wicket appends characters of its own to their names. What I'm trying to achieve is to be able to switch (at run-time) my app's theme by downloading a new one on a themes website, like http://www.freecsstemplates.**org/ http://www.freecsstemplates.org/ I use Wicket 1.5.7 but a solution for Wicket 6.0 is OK as well. Any help will be much appreciated. Regards, Pierre Goupil --**--**- To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
Re: [6.0] wicket-atmosphere
Hello, It looks like a problem with the WebSockets. I've tried to provide a Locale, but no way: class MySession extends WebSession { private static final long serialVersionUID = 1L; public MySession(final Request req) { super(req); } @Override public void setLocale(final Locale locale) { super.setLocale(new Locale(en, GB)); } } and in my WicketApplication: @Override public Session newSession( final Request req, final Response res ) { return new MySession(req); } It all gives me the same error. BUT if I deactivate the WebSockets, it works: init-param param-nameorg.atmosphere.useWebSocket/param-name param-valueFALSE/param-value /init-param in my web.xml. Regards, Pierre On Wed, Aug 8, 2012 at 5:43 PM, Pierre Goupil goupilpie...@gmail.comwrote: Good afternoon, I'm currently trying and have wicket-atmosphere work. I've looked at the examples and I'm unable to post a message because of this exception: INFO - EventBus - registering component for page 0 for session 971E81ED0E61970FA35A1B03E5B218F8: ERROR - DefaultExceptionMapper - Unexpected error occurred java.lang.IllegalStateException: Request#getLocale() cannot return null, request has to have a locale set on it at org.apache.wicket.Session.init(Session.java:211) at org.apache.wicket.protocol.http.WebSession.init(WebSession.java:92) at org.apache.wicket.protocol.http.WebApplication.newSession(WebApplication.java:536) at org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1557) at org.apache.wicket.Session.get(Session.java:152) at org.apache.wicket.RestartResponseAtInterceptPageException$InterceptData.get(RestartResponseAtInterceptPageException.java:146) at org.apache.wicket.RestartResponseAtInterceptPageException$1.matchedData(RestartResponseAtInterceptPageException.java:211) at org.apache.wicket.RestartResponseAtInterceptPageException$1.getCompatibilityScore(RestartResponseAtInterceptPageException.java:179) at org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(CompoundRequestMapper.java:134) at org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(RequestCycle.java:182) at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:207) at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:281) at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:245) at org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.java:154) at org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilterChain.java:131) at org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper.service(ReflectorServletProcessor.java:310) at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:168) at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:248) at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:166) at org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil.java:120) at org.atmosphere.container.Tomcat7BIOSupportWithWebSocket.service(Tomcat7BIOSupportWithWebSocket.java:57) at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1222) at org.atmosphere.websocket.WebSocketProcessor.dispatch(WebSocketProcessor.java:187) at org.atmosphere.websocket.WebSocketProcessor.dispatch(WebSocketProcessor.java:116) at org.atmosphere.container.TomcatWebSocketHandler.onOpen(TomcatWebSocketHandler.java:58) at org.apache.catalina.websocket.StreamInbound.onUpgradeComplete(StreamInbound.java:228) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:593) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) My code is pretty straight-forward, but just in case, here is the Application: @Override public void init() { super.init(); eventBus = new EventBus(this); ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1); final Runnable beeper = new Runnable() { @Override public void run() { try { eventBus.post(new Date()); } catch (Exception e
Re: [6.0] wicket-atmosphere
Thanks!!! I'll have a close look at your ticket. And yes, I use Tomcat (7.0.29). I know it's all beta code, so no worries. Regards, Pierre On Thu, Aug 9, 2012 at 10:02 AM, Emond Papegaaij emond.papega...@topicus.nl wrote: We've noticed this problem as well. It only happens on Tomcat. I'm not sure what is going on, but it all starts with Tomcat loosing query parameters on the ws-request (url/?0-1.IBehaviorListener.0- is changed to url). This makes it impossible for wicket to recognize the call to a behavior, causing a redirect to a new page on the ws-request, which is not allowed. The question is, is this a bug in Tomcat, Atmosphere or wicket-atmosphere. I would say it's a bug in Atmosphere. I've created a ticket for this: https://github.com/Atmosphere/atmosphere/issues/553 For now, using jetty is a work around. Best regards, Emond On Wednesday 08 August 2012 20:59:10 Pierre Goupil wrote: Hello, It looks like a problem with the WebSockets. I've tried to provide a Locale, but no way: class MySession extends WebSession { private static final long serialVersionUID = 1L; public MySession(final Request req) { super(req); } @Override public void setLocale(final Locale locale) { super.setLocale(new Locale(en, GB)); } } and in my WicketApplication: @Override public Session newSession( final Request req, final Response res ) { return new MySession(req); } It all gives me the same error. BUT if I deactivate the WebSockets, it works: init-param param-nameorg.atmosphere.useWebSocket/param-name param-valueFALSE/param-value /init-param in my web.xml. Regards, Pierre On Wed, Aug 8, 2012 at 5:43 PM, Pierre Goupil goupilpie...@gmail.com wrote: Good afternoon, I'm currently trying and have wicket-atmosphere work. I've looked at the examples and I'm unable to post a message because of this exception: INFO - EventBus - registering component for page 0 for session 971E81ED0E61970FA35A1B03E5B218F8: ERROR - DefaultExceptionMapper - Unexpected error occurred java.lang.IllegalStateException: Request#getLocale() cannot return null, request has to have a locale set on it at org.apache.wicket.Session.init(Session.java:211) at org.apache.wicket.protocol.http.WebSession.init(WebSession.java:92) at org.apache.wicket.protocol.http.WebApplication.newSession(WebApplication.j ava:536) at org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:15 57) at org.apache.wicket.Session.get(Session.java:152) at org.apache.wicket.RestartResponseAtInterceptPageException$InterceptData.ge t(RestartResponseAtInterceptPageException.java:146) at org.apache.wicket.RestartResponseAtInterceptPageException$1.matchedData(Re startResponseAtInterceptPageException.java:211) at org.apache.wicket.RestartResponseAtInterceptPageException$1.getCompatibili tyScore(RestartResponseAtInterceptPageException.java:179) at org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(Compound RequestMapper.java:134) at org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(Request Cycle.java:182) at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.j ava:207) at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(Reque stCycle.java:281) at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.j ava:188) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:24 5) at org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.j ava:154) at org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilt erChain.java:131) at org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper .service(ReflectorServletProcessor.java:310) at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServle tProcessor.java:168) at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java :248) at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.j ava:166) at org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil .java:120) at org.atmosphere.container.Tomcat7BIOSupportWithWebSocket.service(Tomcat7BIO SupportWithWebSocket.java:57) at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework. java:1222) at org.atmosphere.websocket.WebSocketProcessor.dispatch(WebSocketProcessor.ja va:187
[6.0] resource management
Good afternoon, I'm currently playing with Wicket 6.0 resource management, as found here: http://wicketinaction.com/2012/07/wicket-6-resource-management/ Martin's website introduces us to the concept of resource dependencies. It works great for my own provided JS, but there is still one problem: wicket-core 6.0.0-beta3 contributes its own JSs and I'd like Wicket not to contribute jquery.js, because I'll provide it myself. Is there any way of doing this? I have some JQuery-related JS that I contribute myself to the (beginning of the) head, so Wicket's contribution of jquery.js (at the end of the head) is undesirable because the JS file is then duplicated, which breaks my dependency graph. As an additional request, is there any way to tell Wicket to contribute its JS files, but at the very beginning of the head tag? Lastly, which JQuery version should I use if I must contribute the jquery.js myself? Is 1.6.0 up to 1.8.0 all OK? Thanks in advance best regards, Pierre -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
Re: [6.0] resource management
Excellent! Thanks Martin, I'll try it ASAP. Le 17 août 2012 07:43, Martin Grigorov mgrigo...@apache.org a écrit : Hi, You can set your JQueryResRef with application.getJavaScriptLibrarySettings().setJQueryResourceReference(MyJQueryResRef); Wicket 6 uses and is tested for JQuery 1.7.2. It also works fine with 1.8.0 (i.e. all available tests pass). It wont work with JQuery 1.6 and older. On Thu, Aug 16, 2012 at 4:24 PM, Pierre Goupil goupilpie...@gmail.com wrote: Good afternoon, I'm currently playing with Wicket 6.0 resource management, as found here: http://wicketinaction.com/2012/07/wicket-6-resource-management/ Martin's website introduces us to the concept of resource dependencies. It works great for my own provided JS, but there is still one problem: wicket-core 6.0.0-beta3 contributes its own JSs and I'd like Wicket not to contribute jquery.js, because I'll provide it myself. Is there any way of doing this? I have some JQuery-related JS that I contribute myself to the (beginning of the) head, so Wicket's contribution of jquery.js (at the end of the head) is undesirable because the JS file is then duplicated, which breaks my dependency graph. As an additional request, is there any way to tell Wicket to contribute its JS files, but at the very beginning of the head tag? Lastly, which JQuery version should I use if I must contribute the jquery.js myself? Is 1.6.0 up to 1.8.0 all OK? Thanks in advance best regards, Pierre -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin. -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [6.0] wicket-atmosphere
Good afternoon, Is there any way to have Comet channels using the wicket-atmosphere API? For instance, with the Broadcaster API, you could use a MetaBroadcaster which used to have a broadcasterID parameter. I can't figure out how to integrate that in my wicket-atmosphere code and the JavaDoc from EventBus#post() reads: Post an event to *all* pages that have a suspended connection. Any help will be much appreciated! Regards, Pierre Goupil On Thu, Aug 9, 2012 at 10:17 AM, Pierre Goupil goupilpie...@gmail.com wrote: Thanks!!! I'll have a close look at your ticket. And yes, I use Tomcat (7.0.29). I know it's all beta code, so no worries. Regards, Pierre On Thu, Aug 9, 2012 at 10:02 AM, Emond Papegaaij emond.papega...@topicus.nl wrote: We've noticed this problem as well. It only happens on Tomcat. I'm not sure what is going on, but it all starts with Tomcat loosing query parameters on the ws-request (url/?0-1.IBehaviorListener.0- is changed to url). This makes it impossible for wicket to recognize the call to a behavior, causing a redirect to a new page on the ws-request, which is not allowed. The question is, is this a bug in Tomcat, Atmosphere or wicket-atmosphere. I would say it's a bug in Atmosphere. I've created a ticket for this: https://github.com/Atmosphere/atmosphere/issues/553 For now, using jetty is a work around. Best regards, Emond On Wednesday 08 August 2012 20:59:10 Pierre Goupil wrote: Hello, It looks like a problem with the WebSockets. I've tried to provide a Locale, but no way: class MySession extends WebSession { private static final long serialVersionUID = 1L; public MySession(final Request req) { super(req); } @Override public void setLocale(final Locale locale) { super.setLocale(new Locale(en, GB)); } } and in my WicketApplication: @Override public Session newSession( final Request req, final Response res ) { return new MySession(req); } It all gives me the same error. BUT if I deactivate the WebSockets, it works: init-param param-nameorg.atmosphere.useWebSocket/param-name param-valueFALSE/param-value /init-param in my web.xml. Regards, Pierre On Wed, Aug 8, 2012 at 5:43 PM, Pierre Goupil goupilpie...@gmail.comwrote: Good afternoon, I'm currently trying and have wicket-atmosphere work. I've looked at the examples and I'm unable to post a message because of this exception: INFO - EventBus - registering component for page 0 for session 971E81ED0E61970FA35A1B03E5B218F8: ERROR - DefaultExceptionMapper - Unexpected error occurred java.lang.IllegalStateException: Request#getLocale() cannot return null, request has to have a locale set on it at org.apache.wicket.Session.init(Session.java:211) at org.apache.wicket.protocol.http.WebSession.init(WebSession.java:92) at org.apache.wicket.protocol.http.WebApplication.newSession(WebApplication.j ava:536) at org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:15 57) at org.apache.wicket.Session.get(Session.java:152) at org.apache.wicket.RestartResponseAtInterceptPageException$InterceptData.ge t(RestartResponseAtInterceptPageException.java:146) at org.apache.wicket.RestartResponseAtInterceptPageException$1.matchedData(Re startResponseAtInterceptPageException.java:211) at org.apache.wicket.RestartResponseAtInterceptPageException$1.getCompatibili tyScore(RestartResponseAtInterceptPageException.java:179) at org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(Compound RequestMapper.java:134) at org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(Request Cycle.java:182) at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.j ava:207) at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(Reque stCycle.java:281) at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.j ava:188) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:24 5) at org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.j ava:154) at org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilt erChain.java:131) at org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper .service(ReflectorServletProcessor.java:310) at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServle tProcessor.java:168) at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java :248
Re: Jqwicket
Cheers, men! On Sat, Sep 1, 2012 at 9:49 PM, Martin Grigorov mgrigo...@apache.org wrote: https://github.com/WiQuery/wiquery and https://github.com/sebfz1/wicket-jquery-ui/ are migrated to Wicket 6 On Sat, Sep 1, 2012 at 9:39 PM, Decebal Suiu decebal.s...@asf.ro wrote: Hi On the jqwicket forum on Jul 14 I posted a simple question about jqwicket and wicket 6.0. No response. The last commit on svn was on 30 Dec 2011. Good luck :) Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jqwicket-tp4651665p4651690.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Jqwicket
Excellent! Thank you, everybody! On Tue, Sep 4, 2012 at 11:17 PM, mk bigpur...@gmail.com wrote: I've started Wicket 6 migration, check the SCM. Plan to release next JQWicket version after Wicket 6 final is available. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jqwicket-tp4651665p4651754.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
Re: [Announce] wicket-dashboard
It looks nice, indeed! Are there any plans for a Wicket 6 version? Regards, Pierre On Tue, Sep 25, 2012 at 2:25 PM, Sebastien seb...@gmail.com wrote: https://github.com/decebals/wicket-dashboard (small typo in your previous mail :) Nice job indeed, I will probably use it! :) Best regards, Sebastien. On Tue, Sep 25, 2012 at 2:16 PM, Decebal Suiu decebal.s...@asf.ro wrote: Hi I implemented a simple dashboard for wicket that can be found at https://github.com/decebals/wicket-dashbaord You can drag and drop widgets, perform some actions on each widget, add or remove new widgets, change widget settings, collapse widgets. I have a tiny demo application. In this demo I have implemented two widgets types: a chart widget (using open flash chart) and a text widget (display a Lorem Ipsum). Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-dashboard-tp4652308.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
Wicket-Atmosphere complex JS
Hi all, When I submit complex JS to my client using target.appendJavaScript() with a @Subscribe method from Wicket-Atmosphere, I got this message in the browser console: Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root ajax-response element I do have an ajax-response tag and the response from the server seems to be all OK. Nonetheless, for a reason I'm not aware of, it fails. Did anyone encounter this error before? Is there a known work-around? When I have a simple response, it works though. The problem only occurs with complex responses. I'm using: wicket.version6.3.0-SNAPSHOT/wicket.version wicketstuff.version6.2.1/wicketstuff.version wicket-atmosphere.version0.5-SNAPSHOT/wicket-atmosphere.version (GIT master) Regards, Pierre -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
Re: Wicket-Atmosphere complex JS
Cheers, men, I'll try it ASAP! Big thanks, Pierre On Tue, Nov 13, 2012 at 3:49 PM, Emond Papegaaij emond.papega...@topicus.nl wrote: I found the link to the wiki page explaining how to fix this: https://github.com/Atmosphere/atmosphere/wiki/Multiply-messages-arrives-as- single-response-body-or-message-received-are-incomplete It seems the trackMessageLength option needs to be enabled in the js, and some additional code is needed server side. From what I see, neither one will work without the other. Can you try if the solution provided at wiki works? To pass the additional option in the js, just copy jquery.wicketatmosphere.js, add the parameter and register the new file as a replacement resource in the application. Also please create a Jira issue for this. If you could post your findings there, that would help me tremendously, because my time to work on Wicket is very limited at the moment. Best regards, Emond On Tuesday 13 November 2012 16:03:30 Martin Grigorov wrote: The problem is that Atmosphere sends the response in chunks. Jean Francois explained in Atmosphere mailing lists that a special Atmosphere has to be used that will collect the whole response before flushing it. On Tue, Nov 13, 2012 at 3:25 PM, Emond Papegaaij emond.papega...@topicus.nl wrote: This is most likely caused by incorrect escaping, which might be a bug in Wicket or Wicket-Atmosphere. Can you try to create a quickstart to demonstrate the problem and file a Jira ticket? You can use the example application at https://github.com/papegaaij/wicket-atmosphere-quickstart Best regards, Emond On Sunday 11 November 2012 18:03:52 Pierre Goupil wrote: Hi all, When I submit complex JS to my client using target.appendJavaScript() with a @Subscribe method from Wicket-Atmosphere, I got this message in the browser console: Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root ajax-response element I do have an ajax-response tag and the response from the server seems to be all OK. Nonetheless, for a reason I'm not aware of, it fails. Did anyone encounter this error before? Is there a known work-around? When I have a simple response, it works though. The problem only occurs with complex responses. I'm using: wicket.version6.3.0-SNAPSHOT/wicket.version wicketstuff.version6.2.1/wicketstuff.version wicket-atmosphere.version0.5-SNAPSHOT/wicket-atmosphere.version (GIT master) Regards, Pierre -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
Re: Wicket and file upload with blueimp jquery file upload
Good morning, Would guys be kind and share these codes, please? Not re-inventing the whell, you know. Thanks in advance best regards, Pierre On Wed, Nov 14, 2012 at 10:51 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, I've just added a new article at http://wicketinaction.com/2012/11/uploading-files-to-wicket-iresource/that shows how to integrate such JavaScript file upload widgets with Wicket. I hope it is useful for you! On Wed, Oct 24, 2012 at 1:54 PM, heapifyman heapify...@gmail.com wrote: Thanks. That helped a lot. 2012/10/16 Bas Gooren b...@iswd.nl Behavior (wicket 1.5): http://pastebin.com/WUHsiRL2 instance.js (to initialize uploadify): http://pastebin.com/jGSwzHMN Mount it in Application.init() with: // Allow uploads through uploadify mount( new UploadifyBehavior.Uploader( /uploadify ) ); Use it like this: component.add( new UploadifyBehavior() { @Override protected void onUpload( UploadInfo info, AjaxRequestTarget target ) { // Handle upload any way you like, and replace stuff in this ajax request } } ); Met vriendelijke groet, Kind regards, Bas Gooren Op 16-10-2012 19:09, schreef heapifyman: Thanks. Would you mind sharing the mounted resource's code? I'm not completely sure how to implement that. 2012/10/16 Bas Gooren b...@iswd.nl Hi! We use a different uploader (uploadify), but the basics are the same. What we've built for this is a behavior which renders the UI for the uploader, and handles ajax callbacks. The uploader uploads to a mounted resource (e.g. at /uploadify), which has an internal cache (UUID = FileInfo). After a successful upload, the upload resource returns the UUID; The javascript onComplete handler then calls the ajax behavior with the UUID parameter, which allows other components in the page to respond to the upload. To prevent overflow in the uploader cache we use a map with a maximum size which evicts old entries on overflow. Met vriendelijke groet, Kind regards, Bas Gooren Op 16-10-2012 12:59, schreef heapifyman: Not sure if I understand. As far as I got it, the upload plugin requires some web service that accepts POST and DELETE requests to add/remove uploaded files. Doing that is no problem, I guess. But how to I link this with the current user's wicket session so that I know which files the users uploaded when finally the form is submitted? I'm not sure if I'm using the right wording here. Hope you get the idea... 2012/10/16 Martin Grigorov mgrigo...@apache.org Hi, Is it an option to upload to a IResource and store the uploaded data the same way as if you'd do in the page ? On Tue, Oct 16, 2012 at 12:49 PM, heapifyman heapify...@gmail.com wrote: Hello, has anyone tried yet to integrate blueimp's jQuery File Upload http://blueimp.github.com/jQuery-File-Upload/ http://blueimp.github.com/**jQuery-File-Upload/ http://**blueimp.github.com/jQuery-**File-Upload/ http://blueimp.github.com/jQuery-File-Upload/with Wicket FileUpload? Especially in combination with additional input fields input type=text I'm kind of stuck because I'm not really sure where to point the jquery file upload's url param to and how to store the uploaded files in the wicket page for saving them when the complete form is submitted. Any help would be appreciated. Thanks -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apa**che.org http://apache.org users-unsubscribe@**wicket.apache.org users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/ -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.
Re: Wicket and file upload with blueimp jquery file upload
Thanks! Sorry for not having read it until the end! :-) On Wed, Nov 14, 2012 at 11:03 AM, Martin Grigorov mgrigo...@apache.orgwrote: There is a link to my GitHub repo in the article. On Wed, Nov 14, 2012 at 12:00 PM, Pierre Goupil goupilpie...@gmail.com wrote: Good morning, Would guys be kind and share these codes, please? Not re-inventing the whell, you know. Thanks in advance best regards, Pierre On Wed, Nov 14, 2012 at 10:51 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, I've just added a new article at http://wicketinaction.com/2012/11/uploading-files-to-wicket-iresource/that shows how to integrate such JavaScript file upload widgets with Wicket. I hope it is useful for you! On Wed, Oct 24, 2012 at 1:54 PM, heapifyman heapify...@gmail.com wrote: Thanks. That helped a lot. 2012/10/16 Bas Gooren b...@iswd.nl Behavior (wicket 1.5): http://pastebin.com/WUHsiRL2 instance.js (to initialize uploadify): http://pastebin.com/jGSwzHMN Mount it in Application.init() with: // Allow uploads through uploadify mount( new UploadifyBehavior.Uploader( /uploadify ) ); Use it like this: component.add( new UploadifyBehavior() { @Override protected void onUpload( UploadInfo info, AjaxRequestTarget target ) { // Handle upload any way you like, and replace stuff in this ajax request } } ); Met vriendelijke groet, Kind regards, Bas Gooren Op 16-10-2012 19:09, schreef heapifyman: Thanks. Would you mind sharing the mounted resource's code? I'm not completely sure how to implement that. 2012/10/16 Bas Gooren b...@iswd.nl Hi! We use a different uploader (uploadify), but the basics are the same. What we've built for this is a behavior which renders the UI for the uploader, and handles ajax callbacks. The uploader uploads to a mounted resource (e.g. at /uploadify), which has an internal cache (UUID = FileInfo). After a successful upload, the upload resource returns the UUID; The javascript onComplete handler then calls the ajax behavior with the UUID parameter, which allows other components in the page to respond to the upload. To prevent overflow in the uploader cache we use a map with a maximum size which evicts old entries on overflow. Met vriendelijke groet, Kind regards, Bas Gooren Op 16-10-2012 12:59, schreef heapifyman: Not sure if I understand. As far as I got it, the upload plugin requires some web service that accepts POST and DELETE requests to add/remove uploaded files. Doing that is no problem, I guess. But how to I link this with the current user's wicket session so that I know which files the users uploaded when finally the form is submitted? I'm not sure if I'm using the right wording here. Hope you get the idea... 2012/10/16 Martin Grigorov mgrigo...@apache.org Hi, Is it an option to upload to a IResource and store the uploaded data the same way as if you'd do in the page ? On Tue, Oct 16, 2012 at 12:49 PM, heapifyman heapify...@gmail.com wrote: Hello, has anyone tried yet to integrate blueimp's jQuery File Upload http://blueimp.github.com/jQuery-File-Upload/ http://blueimp.github.com/**jQuery-File-Upload/ http://**blueimp.github.com/jQuery-**File-Upload/ http://blueimp.github.com/jQuery-File-Upload/with Wicket FileUpload? Especially in combination with additional input fields input type=text I'm kind of stuck because I'm not really sure where to point the jquery file upload's url param to and how to store the uploaded files in the wicket page for saving them when the complete form is submitted. Any help would be appreciated. Thanks -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apa** che.org http://apache.org users-unsubscribe@**wicket.apache.org users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/ -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa
Re: Wicket-Atmosphere complex JS
Good evening, So, I've tried what you said. I forgot one JS file in my initial attempt but, even with this configuration I have now a different symptom. But it still doesn't work. For now, the problem is that I have an empty ajax-response! Here is my code for the filter: public class ResponseSizeFilter implements PerRequestBroadcastFilter { @Override public BroadcastAction filter(final AtmosphereResource r, final Object originalMessage, final Object message) { final AtmosphereRequest request = r.getRequest(); if (true.equalsIgnoreCase(request.getHeader(HeaderConfig.X_ATMOSPHERE_TRACKMESSAGESIZE))) { final String msg = message.toString(); return new BroadcastAction(BroadcastAction.ACTION.CONTINUE, msg.length() + \r\n.length() + |); } return new BroadcastAction(BroadcastAction.ACTION.CONTINUE, message); } @Override public BroadcastAction filter(final Object originalMessage, final Object message) { final String msg = message.toString(); return new BroadcastAction(BroadcastAction.ACTION.CONTINUE, message); } } I can see in my logs that it's called. But whether I call the server-side by: Wicket.Ajax.get({u: ${url}, e: click, c : blah}) or by: jQuery('blah').wicketAtmosphere({url : ${url} }); It fails to update my component because the response is: ?xml version=1.0 encoding=UTF-8?ajax-response/ajax-response The strange thing being that in my Filter, the message really contains the right (non-empty) ajax-response! Here is the Ajax / WebSocket managing code (it's in an AbstractDefaultAjaxBehavior): @Override protected void respond(final AjaxRequestTarget target) { final CometChannel chan = new CometChannel(isTapped())); Application.get().getEventBus().post(chan); } @Subscribe public void rotate(final AjaxRequestTarget target, final CometChannel event) { if (event.isTapped()) { target.appendJavaScript(jQuery('#card + event.getUuid() + ').rotate(90);); } else { target.appendJavaScript(jQuery('#card + event.getUuid() + ').rotate(0);); } } I thought that maybe the empty ajax-response came from the respond() method not adding anything to the AjaxRequestTarget but in the examples from Wicket GitHub, it's done like that for the chat message. So I ran out of solutions. As a side-note, this not the same code as in the original message, but the symptom in this Comet channel is the same as here. The only difference being that in this other channel, the message to broadcast is quite long, hence the need for the BroadcastFilter. So, is the idea of filing a Jira issue still valid? Sorry for that long message. And thanks in advance for any help. Regards, Pierre Goupil -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.