Re: Closeing 1st Modal Window from 2nd Modal Window

2009-04-03 Thread Martin Sachs
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

Re: panel wicket:extend confusion

2009-04-03 Thread Martijn Dashorst
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

Re: VOTE: Rename Apache Wicket to Apache WicketFX

2009-04-03 Thread Antony Stubbs
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

Re: stack overflow in wicket-autocomplete.js

2009-04-03 Thread Lutz Müller
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?

JFreeChart and Wicket : width and height please

2009-04-03 Thread Ista Pouss
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 =

Re: stack overflow in wicket-autocomplete.js

2009-04-03 Thread Lutz Müller
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

Re: Form validation without a form component

2009-04-03 Thread triswork
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

Re: JFreeChart and Wicket : width and height please

2009-04-03 Thread James Carman
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:

Re: panel wicket:extend confusion

2009-04-03 Thread Ryan McKinley
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

Re: panel wicket:extend confusion

2009-04-03 Thread Serkan Camurcuoglu
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:

Re: panel wicket:extend confusion

2009-04-03 Thread Martijn Dashorst
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:

Re: VOTE: Rename Apache Wicket to Apache WicketFX

2009-04-03 Thread Kevin Logue
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread Brill Pappin
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread Brill Pappin
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread Brill Pappin
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?.

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread Martijn Dashorst
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread Brill Pappin
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread Brill Pappin
*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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread John Krasnay
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread Gwyn Evans
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread John Krasnay
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread James Carman
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread Martijn Reuvers
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread James Carman
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

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread Martijn Reuvers
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

Re: Wicket and (or) restlet

2009-04-03 Thread Erik van Oosten
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

Forms and AjaxFallbackButton

2009-04-03 Thread Luther Baker
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

Submitting an Ajax Modal

2009-04-03 Thread Luther Baker
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

From Window to Modal Window Form Model

2009-04-03 Thread Luther Baker
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

dynamic component

2009-04-03 Thread Ian MacLarty
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

Re: dynamic component

2009-04-03 Thread Igor Vaynberg
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

Re: dynamic component

2009-04-03 Thread Ian MacLarty
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: