Re: Closeing 1st Modal Window from 2nd Modal Window
Hi i think you can just close the ModalWindow twice, because the closing-Javascript close only the current Window, so if you call it twice you close both windows. You must be sure, that there are 2 open windows ! Alternative: redirect to the page will close also all windows ;) Martin Warren Bell-2 wrote: I have a situation that is like the Wicket example that opens two modal windows one from another. Everything is working correctly, but I need to close the 1st window when the 2nd window is closed. How would you do this? Thanks, Warren -- View this message in context: http://www.nabble.com/Closeing-1st-Modal-Window-from-2nd-Modal-Window-tp22861864p22862960.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
Re: panel wicket:extend confusion
You don't add the child to the right component: you have wrapped the child/ tag inside a markup container. You have to make the markup container a transparent resolver, *or* add the child components to the markup container. Martijn On Fri, Apr 3, 2009 at 7:47 AM, Ryan McKinley ryan...@gmail.com wrote: I have been using markup inheritance for page layout for a while without any issue. I just tried to use it for a Panel and am running into some issues -- I imagine it is user error, so i figured I would ask here before banging my head much longer. I have two classes: SimpleRow.java public class SimpleRow extends Panel { public SimpleRow(String id ) { ... } } SimpleRow.html table wicket:panel tr valign=top td width=60 img wicket:id=img src=img/explore.gif / /td td wicket:id=td valign=top h2 wicket:id=titleTitle/h2 wicket:child/ /td /tr /wicket:panel /table - - - - - - - - - - Then I want a subclass to fill in content for wicket:child/ ExportRow.java public class ExportRow extends SimpleRow { public ExportRow(String id) { super( id ); add( new Label( test, hello ) ); } } ExportRow.html wicket:extend Here is some text span wicket:id=testxxx/span /wicket:extend - - - - - - - With this, I get an errror: Unable to find component with id 'test' in [MarkupContainer [Component id = _extend8]] ... If I do not try to add any components in the subclass, things behave as I would expect. Am I missing something? Thanks ryan -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: VOTE: Rename Apache Wicket to Apache WicketFX
LOL omg I was so fooled...! Hmm I do hope this is a joke though! Sent from my iPhone On 2/04/2009, at 2:38 AM, Thies Edeling th...@rrm.net wrote: +1 but only because it's april fool's day :) Martijn Dashorst wrote: The Wicket PMC has discussed the following action. Because I think it is prudent that the Wicket community keeps evolving with the state of Java, I've created a board resolution to rename Wicket to WicketFX (thanks Igor for the suggestion!) WHEREAS, the Board of Directors deems it to be in the best interests of the Foundation and the Apache Wicket community to rename Apache Wicket to Apache WicketFX to get presentation slots at the JavaOne conference, and make it easier to obtain JSR status. NOW, THEREFORE, BE IT RESOLVED, that the project formerly known as the Apache Wicket project, be and hereby is renamed to Apache WicketFX; and be it further RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to submit or propose new presentations and tutorials to the JavaOne Conference concerning Wicket and FX; and be it further RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to submit the Apache WicketFX project to the JCP and obtain JSR status; and be it further RESOLVED, that the original Apache Wicket PMC be and hereby is dissolved of its responsibilities for this day, April 1st, 2009. [ ] +1, accept above resolution [ ] -1, don't accept above resolution, because ... This vote runs for just today, otherwise we won't be able to get it accepted by the board this month. Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: stack overflow in wicket-autocomplete.js
Sorry no patch yet, problem popped up just yesterday, and i wanted to consult the mailinglist first before investigating further. lutz On Thursday 02 April 2009 23:37:11 Johan Compagner wrote: I guess it would be better to fix it. Have to look into the code better, do you have a patch for it? On 02/04/2009, Lutz Müller lutz.muel...@combase.de wrote: Hi, I have a problem with onfocus behaviour of autocompletetextfields in IE. The stackoverflow exists in Firefox as well, but IE pops up an error dialog in the users face, otherwise i would just ignore this. The code causing the stack overflow is in line 100-110: obj.onfocus=function(event){ if (cfg.showListOnFocusGain) { if (mouseactive==1) return killEvent(event); if (cfg.showCompleteListOnFocusGain) { updateChoices(true); } else { updateChoices(); } } if(typeof objonfocus==function)objonfocus.apply(this,[event]); } When i move the focus to the field in question, the last if statement always evaluates to true, and the code block is entered again. is there a way to fix this or to prevent IE from showing that annoying dialog? the stackoverflow error is nothing nice, but i could live with it, because the component is working allright. its just the error dialog which bugs me. thanks for reading, lutz - 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
JFreeChart and Wicket : width and height please
Hi, I'm beguining to use JFreeChart. My tutorial is JFreeChart and wicket example (http://cwiki.apache.org/WICKET/jfreechart-and-wicket-example.html). That's work fine, except two things. First, I think modestly there is a very little error : the tutorial says JFreeChart chart = (JFreeChart)getModelObject();, but it's work better with JFreeChart chart = (JFreeChart) getDefaultModelObject(); for me. Second (the question), how it is possible to set the width and height in the html img of the graph ? The generated html is img wicket:id=graphe src=?wicket:interface=:2:votes:resultats:graphe:1:IResourceListener::, and I should prefer img wicket:id=graphe src=?wicket:interface=:2:votes:resultats:graphe:1:IResourceListener:: width=something height=someother Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: stack overflow in wicket-autocomplete.js
It works now. i noticed that in line 49-50 al the objonXXX vars are declared, minus the one which is used in the offending codeblock: objonfocus. So i just tried adding var objonfocus; in line 55. and it worked :) yay! it would be nice if you coul add this in svn. lutz On Thursday 02 April 2009 23:37:11 Johan Compagner wrote: I guess it would be better to fix it. Have to look into the code better, do you have a patch for it? On 02/04/2009, Lutz Müller lutz.muel...@combase.de wrote: Hi, I have a problem with onfocus behaviour of autocompletetextfields in IE. The stackoverflow exists in Firefox as well, but IE pops up an error dialog in the users face, otherwise i would just ignore this. The code causing the stack overflow is in line 100-110: obj.onfocus=function(event){ if (cfg.showListOnFocusGain) { if (mouseactive==1) return killEvent(event); if (cfg.showCompleteListOnFocusGain) { updateChoices(true); } else { updateChoices(); } } if(typeof objonfocus==function)objonfocus.apply(this,[event]); } When i move the focus to the field in question, the last if statement always evaluates to true, and the code block is entered again. is there a way to fix this or to prevent IE from showing that annoying dialog? the stackoverflow error is nothing nice, but i could live with it, because the component is working allright. its just the error dialog which bugs me. thanks for reading, lutz - 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
Re: Form validation without a form component
Thanks for the suggestion Martijn. I tried return new FormComponent[0]; and got exactly the same error. I think my use-case is quite fringe, so I have resigned myself to using the hidden field that you previously suggested. - Tristan Martijn Dashorst wrote: You might try to return an empty array.. Martijn -- View this message in context: http://www.nabble.com/Form-validation-without-a-form-component-tp22682572p22866535.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
Re: JFreeChart and Wicket : width and height please
On Fri, Apr 3, 2009 at 6:04 AM, Ista Pouss ista...@gmail.com wrote: Second (the question), how it is possible to set the width and height in the html img of the graph ? I implemented something simple for JFreeChart in an Advanced Wicket presentation I did: http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/java/com/carmanconsulting/wicket/advanced/web/common/resource/ChartImageResource.java It just allows you to show the chart as an image and it allows you to specify the width/height. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: panel wicket:extend confusion
aaah. I take it a Page is automatically marked as a transparent resolver -- how do I mark a Panel as a transparent resolver? I'll add the solution to: http://cwiki.apache.org/WICKET/markup-inheritance.html for the next guy! On Apr 3, 2009, at 3:42 AM, Martijn Dashorst wrote: You don't add the child to the right component: you have wrapped the child/ tag inside a markup container. You have to make the markup container a transparent resolver, *or* add the child components to the markup container. Martijn On Fri, Apr 3, 2009 at 7:47 AM, Ryan McKinley ryan...@gmail.com wrote: I have been using markup inheritance for page layout for a while without any issue. I just tried to use it for a Panel and am running into some issues -- I imagine it is user error, so i figured I would ask here before banging my head much longer. I have two classes: SimpleRow.java public class SimpleRow extends Panel { public SimpleRow(String id ) { ... } } SimpleRow.html table wicket:panel tr valign=top td width=60 img wicket:id=img src=img/explore.gif / /td td wicket:id=td valign=top h2 wicket:id=titleTitle/h2 wicket:child/ /td /tr /wicket:panel /table - - - - - - - - - - Then I want a subclass to fill in content for wicket:child/ ExportRow.java public class ExportRow extends SimpleRow { public ExportRow(String id) { super( id ); add( new Label( test, hello ) ); } } ExportRow.html wicket:extend Here is some text span wicket:id=testxxx/span /wicket:extend - - - - - - - With this, I get an errror: Unable to find component with id 'test' in [MarkupContainer [Component id = _extend8]] ... If I do not try to add any components in the subclass, things behave as I would expect. Am I missing something? Thanks ryan -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - 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
Re: panel wicket:extend confusion
AFAIK you should override isTransparentResolver and return true.. Ryan McKinley wrote: aaah. I take it a Page is automatically marked as a transparent resolver -- how do I mark a Panel as a transparent resolver? I'll add the solution to: http://cwiki.apache.org/WICKET/markup-inheritance.html for the next guy! On Apr 3, 2009, at 3:42 AM, Martijn Dashorst wrote: You don't add the child to the right component: you have wrapped the child/ tag inside a markup container. You have to make the markup container a transparent resolver, *or* add the child components to the markup container. Martijn On Fri, Apr 3, 2009 at 7:47 AM, Ryan McKinley ryan...@gmail.com wrote: I have been using markup inheritance for page layout for a while without any issue. I just tried to use it for a Panel and am running into some issues -- I imagine it is user error, so i figured I would ask here before banging my head much longer. I have two classes: SimpleRow.java public class SimpleRow extends Panel { public SimpleRow(String id ) { ... } } SimpleRow.html table wicket:panel tr valign=top td width=60 img wicket:id=img src=img/explore.gif / /td td wicket:id=td valign=top h2 wicket:id=titleTitle/h2 wicket:child/ /td /tr /wicket:panel /table - - - - - - - - - - Then I want a subclass to fill in content for wicket:child/ ExportRow.java public class ExportRow extends SimpleRow { public ExportRow(String id) { super( id ); add( new Label( test, hello ) ); } } ExportRow.html wicket:extend Here is some text span wicket:id=testxxx/span /wicket:extend - - - - - - - With this, I get an errror: Unable to find component with id 'test' in [MarkupContainer [Component id = _extend8]] ... If I do not try to add any components in the subclass, things behave as I would expect. Am I missing something? Thanks ryan -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - 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
Re: panel wicket:extend confusion
On Fri, Apr 3, 2009 at 2:02 PM, Ryan McKinley ryan...@gmail.com wrote: aaah. I take it a Page is automatically marked as a transparent resolver -- how do No. You add components directly to the page. this.add(...) remember? I mark a Panel as a transparent resolver? I'll add the solution to: http://cwiki.apache.org/WICKET/markup-inheritance.html for the next guy! On Apr 3, 2009, at 3:42 AM, Martijn Dashorst wrote: You don't add the child to the right component: you have wrapped the child/ tag inside a markup container. You have to make the markup container a transparent resolver, *or* add the child components to the markup container. Martijn On Fri, Apr 3, 2009 at 7:47 AM, Ryan McKinley ryan...@gmail.com wrote: I have been using markup inheritance for page layout for a while without any issue. I just tried to use it for a Panel and am running into some issues -- I imagine it is user error, so i figured I would ask here before banging my head much longer. I have two classes: SimpleRow.java public class SimpleRow extends Panel { public SimpleRow(String id ) { ... } } SimpleRow.html table wicket:panel tr valign=top td width=60 img wicket:id=img src=img/explore.gif / /td td wicket:id=td valign=top h2 wicket:id=titleTitle/h2 wicket:child/ /td /tr /wicket:panel /table - - - - - - - - - - Then I want a subclass to fill in content for wicket:child/ ExportRow.java public class ExportRow extends SimpleRow { public ExportRow(String id) { super( id ); add( new Label( test, hello ) ); } } ExportRow.html wicket:extend Here is some text span wicket:id=testxxx/span /wicket:extend - - - - - - - With this, I get an errror: Unable to find component with id 'test' in [MarkupContainer [Component id = _extend8]] ... If I do not try to add any components in the subclass, things behave as I would expect. Am I missing something? Thanks ryan -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - 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 -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: VOTE: Rename Apache Wicket to Apache WicketFX
There should be laws against the Internet and April 1st... Martijn Dashorst wrote: The Wicket PMC has discussed the following action. Because I think it is prudent that the Wicket community keeps evolving with the state of Java, I've created a board resolution to rename Wicket to WicketFX (thanks Igor for the suggestion!) WHEREAS, the Board of Directors deems it to be in the best interests of the Foundation and the Apache Wicket community to rename Apache Wicket to Apache WicketFX to get presentation slots at the JavaOne conference, and make it easier to obtain JSR status. NOW, THEREFORE, BE IT RESOLVED, that the project formerly known as the Apache Wicket project, be and hereby is renamed to Apache WicketFX; and be it further RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to submit or propose new presentations and tutorials to the JavaOne Conference concerning Wicket and FX; and be it further RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to submit the Apache WicketFX project to the JCP and obtain JSR status; and be it further RESOLVED, that the original Apache Wicket PMC be and hereby is dissolved of its responsibilities for this day, April 1st, 2009. [ ] +1, accept above resolution [ ] -1, don't accept above resolution, because ... This vote runs for just today, otherwise we won't be able to get it accepted by the board this month. Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3979 (20090331) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Kevin Logue [t]+353 (0) 42 939 1039 [e] ke...@viableoptions.ie mailto:ke...@viableoptions.ie - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: maven-eclipse-plugin 2.6 will break your wicket projects
Maybe I misread your post, but I thought you were saying that it messes up where you want you meta files and forces you to use the maven resource pattern? - Brill On 2-Apr-09, at 9:42 AM, Martijn Dashorst wrote: Why fix something that isn't broken? Martijn On Thu, Apr 2, 2009 at 3:36 PM, Brill Pappin br...@pappin.ca wrote: That code is open... why not make a wicket-eclipse-plugin that puts the files were you want them? - Brill Pappin On 2-Apr-09, at 6:27 AM, Martijn Dashorst wrote: Some brilliant guy thought it prudent to make the maven-eclipse- plugin only accept .java files from src/main/java and src/test/java in version 2.6. Do not upgrade to this maven-eclipse-plugin version if you intend to keep on working with your wicket projects in the way Wicket Intended. Always specify which plugin version you want to use and only manually upgrade when you are sure it won't inflict havoc on your co-workers. This is a maven best practice! Martijn - 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 -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - 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
Re: maven-eclipse-plugin 2.6 will break your wicket projects
laugh not again! ;) - Brill On 2-Apr-09, at 2:11 PM, Philippe Marschall wrote: Martijn Dashorst wrote: Some brilliant guy thought it prudent to make the maven-eclipse- plugin only accept .java files from src/main/java and src/test/java in version 2.6. Well there's a reason these folders are called java. Cheers Philippe - 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
Re: maven-eclipse-plugin 2.6 will break your wicket projects
laugh Although I think its too late to stop this thread growing, you should all know that we just had this argument a few weeks ago! It seems to be a touchy subject for some :) The old thread can be found by searching for Re: How can I share text resources with multiple web applications?. http://www.nabble.com/How-can-I-share-text-resources-with-multiple-web-applications--td22549375.html The summary is: - Some like their resources where Maven suggests you put them, in the resources directory. - Some follow the so called The Official Wicket Way which is not actually published anywhere. In it, the resources are in the java source directory. There are good arguments for both and I'd even agree that both are valid (I prefer my resources in the Maven pattern, but the other pattern is also good practice). I don't know about the attitudes of the Maven committers but in Wicket there seems to be a my way is the right way kind of thing going on (evident on the final methods all over the framework and failure to accommodate other resource usage patterns). All that said, as long as each camp can do what they feel most comfortable with, I don't think it really matters. Wicket is the most refreshing framework to be developed in years, with luck it doesn't go away and leave us working on something as terrible as Webflow. - Brill On 2-Apr-09, at 3:34 PM, Philippe Marschall wrote: James Carman wrote: On Thu, Apr 2, 2009 at 2:11 PM, Philippe Marschall kus...@gmx.net wrote: Well there's a reason these folders are called java. Yes, but it's not specifically illegal in the maven world to put non-java files in there (didn't we have this argument a few days ago). You simply relied on a bug / undocumented featured. Move your resources where the belong into the resources folder. Cheers Philippe - 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
Re: maven-eclipse-plugin 2.6 will break your wicket projects
On Fri, Apr 3, 2009 at 3:52 PM, Brill Pappin br...@pappin.ca wrote: failure to accommodate other resource usage patterns). HUH? Care to elaborate? Wicket doesn't force its patterns upon you (unlike maven's eclipse 2.6 plugin). You are free to add your html/properties/etc in src/main/resources without ever touching a single configuration item in wicket-quickstart, wicket, or any other wicket related resource. Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: maven-eclipse-plugin 2.6 will break your wicket projects
I think thats a good position. I can't image that it was purposely done in order to enforce the maven way, there are just too many people who would have broken builds. - Brill On 2-Apr-09, at 3:53 PM, Igor Vaynberg wrote: i just want to say one quick thing about this. there are two great things about maven 1) it established a convention that eliminated a lot of boilerplate 2) it does not force the convention - everything can be overridden and customized by configuring plugins once the authors of maven and or plugins lose sight of (2) and try to force the convention i think most people will simply bail. personally, if this was forced wicket or any other projects i work on would not be using maven. -igor On Thu, Apr 2, 2009 at 12:43 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Let's not even start this discussion again, please! -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 2, 2009 at 2:34 PM, Philippe Marschall kus...@gmx.net wrote: You simply relied on a bug / undocumented featured. Move your resources where the belong into the resources folder. Cheers Philippe - 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
Re: maven-eclipse-plugin 2.6 will break your wicket projects
*sigh* I was referring to the suggestion that there be an option in the archetype, and the disparaging thread that ensued. However, I don't want to argue about this *again*. ...never mind... - Brill On 3-Apr-09, at 9:56 AM, Martijn Dashorst wrote: On Fri, Apr 3, 2009 at 3:52 PM, Brill Pappin br...@pappin.ca wrote: failure to accommodate other resource usage patterns). HUH? Care to elaborate? Wicket doesn't force its patterns upon you (unlike maven's eclipse 2.6 plugin). You are free to add your html/properties/etc in src/main/resources without ever touching a single configuration item in wicket-quickstart, wicket, or any other wicket related resource. Martijn - 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
Re: maven-eclipse-plugin 2.6 will break your wicket projects
FYI to anyone who's been bitten by this, there's a simple workaround. Just add the following to your pom.xml: build plugins plugin artifactIdmaven-eclipse-plugin/artifactId version2.5.1/version /plugin /plugins /build We did it in our parent POM and it's working fine. jk On Fri, Apr 03, 2009 at 09:54:36AM -0400, Brill Pappin wrote: I think thats a good position. I can't image that it was purposely done in order to enforce the maven way, there are just too many people who would have broken builds. - Brill On 2-Apr-09, at 3:53 PM, Igor Vaynberg wrote: i just want to say one quick thing about this. there are two great things about maven 1) it established a convention that eliminated a lot of boilerplate 2) it does not force the convention - everything can be overridden and customized by configuring plugins once the authors of maven and or plugins lose sight of (2) and try to force the convention i think most people will simply bail. personally, if this was forced wicket or any other projects i work on would not be using maven. -igor On Thu, Apr 2, 2009 at 12:43 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Let's not even start this discussion again, please! -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 2, 2009 at 2:34 PM, Philippe Marschall kus...@gmx.net wrote: You simply relied on a bug / undocumented featured. Move your resources where the belong into the resources folder. Cheers Philippe - 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
Re: maven-eclipse-plugin 2.6 will break your wicket projects
On Fri, Apr 3, 2009 at 3:42 PM, John Krasnay j...@krasnay.ca wrote: FYI to anyone who's been bitten by this, there's a simple workaround. Yes - use IDEA! :-) /Gwyn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: maven-eclipse-plugin 2.6 will break your wicket projects
On Fri, Apr 03, 2009 at 04:21:13PM +0100, Gwyn Evans wrote: On Fri, Apr 3, 2009 at 3:42 PM, John Krasnay j...@krasnay.ca wrote: FYI to anyone who's been bitten by this, there's a simple workaround. Yes - use IDEA! :-) What, haven't they fixed the maven-idea-plugin yet? Your time's comin', pal! :-) jk - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: maven-eclipse-plugin 2.6 will break your wicket projects
On Fri, Apr 3, 2009 at 11:21 AM, Gwyn Evans gwyn.ev...@gmail.com wrote: Yes - use IDEA! :-) +1! (I can hear the sound of a can of worms opening) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: maven-eclipse-plugin 2.6 will break your wicket projects
What's wrong with using notepad or vi? Never such issues with them. :P On Fri, Apr 3, 2009 at 5:26 PM, James Carman jcar...@carmanconsulting.com wrote: On Fri, Apr 3, 2009 at 11:21 AM, Gwyn Evans gwyn.ev...@gmail.com wrote: Yes - use IDEA! :-) +1! (I can hear the sound of a can of worms opening) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: maven-eclipse-plugin 2.6 will break your wicket projects
On Fri, Apr 3, 2009 at 11:31 AM, Martijn Reuvers martijn.reuv...@gmail.com wrote: What's wrong with using notepad or vi? Never such issues with them. :P We've got a guy at work that swears by emacs and refuses to use anything else. Of course, he's the slowest guy on the project team and he never gets anything done. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: maven-eclipse-plugin 2.6 will break your wicket projects
We've got a guy at work that swears by emacs and refuses to use anything else. Of course, he's the slowest guy on the project team and he never gets anything done. Hehe if you generate say getters and setters for 20 fields with an IDE, or type them all out instead - you have to type extremely fast I guess to keep up. :) (ok I lied, I use an IDE too ...), but at school we were forced to use an editor like textpad, in the old days (about 10 years ago) .. I still painfully remember. Not to mention the 'proper' indent of 3 spaces, and brackets really had to start on a new line... :S - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket and (or) restlet
Jonathan, If parameter handling is easy to do this in Jersey, then that is probably better then Restlet (well v1.x at least). I found that the hard part of Restlet. Working with all kinds of resource types is very powerfull in Restlet. Regards, Erik. Jonathan Locke wrote: well, i'd be the first to admit i don't know either of these two products deeply, but for the kinds of applications i have for web services, i found jersey to have really easy, transparent support for request parameter processing. you just annotate some parameters, create a jaxb schema and add an @Path attribute and you've pretty much got a web service. although it looks like a nice architecture that sticks to REST terminology, i at least couldn't find how restlet made some of this grunt work easy (but then maybe i missed that somehow). Alexandru Objelean wrote: Jonathan, can you elaborate? Why do you think jersey is better? Have you any experience of integrating it with wicket? Thanks! Jonathan Locke wrote: interesting. yeah, igor's right. wicket is not for web services. i prefer jersey to restlet and jersey plays fine with wicket. Casper Bang-3 wrote: restlet is for building services not uis, that quote makes absolutely no sense. While I agree the quote smells of FUD, one doesn't necessarily exclude the other. The beauty of REST is its statelessness, addressability, representation negotiation, caching and other ways it embraces HTTP rather than run away from it (and use overloaded POST's with tiny RPC handlers for everything). In Jersey it's also possible to serve (dynamic) HTML through a standard templating engine, I'm doing this currently and achieving very high scalability while keeping things simple. The caveat with this approach is that you are stuck to the classic templating model and components don't really exist apart from whatever jQuery/ExtJS stuff you wire up manually. So probably like the OP, I can't help but wonder about the possebility of Wicket running on top as a model-view technology - or perhaps just a programming model adopted after Wicket. /Casper -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Forms and AjaxFallbackButton
I keep receiving the following: - - - - - - - - - - - - - This is an automatically generated Delivery Status Notification Delivery to the following recipient failed permanently: users@wicket.apache.org Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 552 552 spam score (5.4) exceeded threshold (state 18). - - - - - - - - - - - - - Should I leave the code out of my posts? There is very little text in my posts .. W/O code - I have a form with an AjaxFallbackButton which opens a modal dialog. I turned off setDefaultFormProcessing and I'm handling the onSubmit handler for the button - but I if I look at the Forms underlying object, it isn't populated with the contents of the original form. Thoughts? -Luther
Submitting an Ajax Modal
I have a form with an AjaxFallbackButton that populates and displays a Modal form. It all works but when I SUBMIT the Modal form I am presented with a Confirmation Dialog: Are you sure you want to navigate away from this page? Reloading this page will cause the modal window to disappear. Press OK to continue, or Cancel to stay on the current page. Is my browser doing this? Is there a flag I can set to disable this? Is it evident that there is a problem with my relationships of panels and forms such that this Confirmation Dialog shouldn't normally appear. Thanks, -Luther
From Window to Modal Window Form Model
Is there a preferred way to pass information from a Form's AjaxButton submit handler to a Modal window's panel's form? I am currently manually updating individual fields on the model instance object I am assigning to the Modal Windows Panel Form FormComponents. Since the Modal window is created way before I ever invoke modal.show(target), I assume the Model instance is already set (I assume the ctor is called when the page is first instantiated) so instead of just 'reseting' the model object's instance ... I am really copying individual fields - essentially updating the current model in place ... does that sound right? Is there another more elegant way to do this? The basics: a window has a form with a drop down - I select an option and click the AjaxButton to display a modal window allowing me to edit all the database fields of the item in the drop down. I essentially need to pass the item from the initial window to the Modal window's form's model. Sorry for the length of this question. -Luther
dynamic component
Hello, I'd like to create a Component that behaves like a CheckBox if its model is a Boolean and a TextField if its model is a String. I'd like to be able to add the component to a form with a CompoundPropertyModel, just like you can with a CheckBox or TextField. How would you go about creating such a component? Cheers, Ian. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: dynamic component
create a formcomponentpanel, add a checkbox and a textfield and make only one of them visible. -igor On Fri, Apr 3, 2009 at 8:30 PM, Ian MacLarty ian.macla...@gmail.com wrote: Hello, I'd like to create a Component that behaves like a CheckBox if its model is a Boolean and a TextField if its model is a String. I'd like to be able to add the component to a form with a CompoundPropertyModel, just like you can with a CheckBox or TextField. How would you go about creating such a component? Cheers, Ian. - 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
Re: dynamic component
On Sat, Apr 4, 2009 at 3:16 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: create a formcomponentpanel, add a checkbox and a textfield and make only one of them visible. Thanks. Ian. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org