When to use getModelObject, getConvertedInput, getInput

2007-12-11 Thread wicket user
Hi, This is more a question of understanding models and input of a particular component, lets say DropDownChoice (DDC) for example. You give it a model initially on creation, this has nothing to do with, in the case of a DDC the selected values as that is supplied by the Choices paramater in the

Re: Overlay panel on ajax call

2007-12-11 Thread Alex Objelean
Use ajaxCallDecorator and javascript. There is a jquery plugin, called blockUI. You can use it, or write something similar to get the same behavior. Regards, Alex. Newgro wrote: Hi *, i have a long running task. The result will be presented in a panel. The panel is already present if

RE: JRPdfResource onResourceRequested() file dialog not displayed when using AjaxFallbackLink

2007-12-11 Thread Clay Lehman
I had a similar problem with showing a file download dialog from an ajax event, I got around it by doing target.appendJavascript(getMarkupId()+.submit()); which submits the form, and then forwarding the user to the file in the onSubmit() method of the form. Hope this helps... -Clay

Re: dropdownchoice

2007-12-11 Thread Ivaylo Kovatchev
I am not sure what the design decision was behind this and perhaps one of the Wicket Gurus can weigh in on this but I ran into something very similar recently, and here are my thoughts: I think you are mixing the model object that backs the Dropdown and the actual Broker object. They are not the

Google Wicket Public Calendar

2007-12-11 Thread Johan Compagner
I thought we already had one, but couldn't find it so i created one: http://www.google.com/calendar/embed?src=cGQwY29vanBodDduc3Fib3Q3dTJxNW1jNDhAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ People who want to contribute to this calendar please feel free to ask me so that we can have a nice wicket

Re: dropdownchoice

2007-12-11 Thread Ivaylo Kovatchev
Fair question. Why return the Id, instead of just using a Property model to bind the member field of an object to a child component's model? Thanks for your insight. Yevgeni: If you do that you will have to have an object (can be the same one that extends DropDownChoice) implement

Re: Server cannot find /app url after migration to 1.3 filter

2007-12-11 Thread narup
Well i also had a similar problem,actually websphere doesn't handle servlet filters properly. So upgrading wicket to 1.3 and if you are using filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class instead of wicket servlet then have to do change Setting

Re: Component.visitParents visits the calling component as well

2007-12-11 Thread Igor Vaynberg
hm, i dont think it is correct. wondering if we can change it this late in the game though...open a jira issue please. eelco its your baby...is this intentional or is it a bug? -igor On Dec 11, 2007 3:22 AM, Bart Molenkamp [EMAIL PROTECTED] wrote: Hi, I see that Component.visitParents()

Re: dropdownchoice

2007-12-11 Thread Igor Vaynberg
here is the version that stores the id in the model instead...maybe at some point it can make its way into extensions or core import java.util.List; import org.apache.wicket.markup.html.form.DropDownChoice; import org.apache.wicket.markup.html.form.IChoiceRenderer; import

Creating a form submit listener using IBehavior

2007-12-11 Thread Ryan
All, I have a use case where I would like to submit a form via javascript and have wicket map this submission back to a java onSubmit method (using wicket 1.3-rc1). On the surface this is very similar to adding a SubmitLink, hiding the submit link markup elements, then using a javascript function

Re: Creating a form submit listener using IBehavior

2007-12-11 Thread Igor Vaynberg
this is not possible currently. behaviors are not yet fully fledged citizens when it comes to url generation. https://issues.apache.org/jira/browse/WICKET-289 -igor On Dec 11, 2007 10:56 AM, Ryan [EMAIL PROTECTED] wrote: All, I have a use case where I would like to submit a form via

Re: Create button to open popup Window.

2007-12-11 Thread Jeremy Levy
You may want to check out PopupSettings as well. http://wicketstuff.org/wicket13doc/org/apache/wicket/markup/html/link/PopupSettings.html Jeremy On Dec 10, 2007 5:33 PM, Christian Alejandro Marquez Grabia [EMAIL PROTECTED] wrote: Hi Maybe you should look at this example using Modal Windows

Re: Overlay panel on ajax call

2007-12-11 Thread Jeremy Levy
I would assume this can be done entirely using CSS.. Try something like: div#greyBackground {position:absolute;z-index:2;top:0;left:0;width:100%;height:100%;background:rgb(230,230,230);opacity:.75;filter:alpha(opacity=75);text-decoration:none;} and use the wicket simpleattributemodifier to

Streaming a huge ZIP file

2007-12-11 Thread Gabor Szokoli
Hi there, The downside of an easy-to-use framework is the influx of users with little understanding of the underlying servlet technology, like me. Observe: I'd like to provide a ZIP file (could be TAR, anything Windows PCs can save and later extract from) as a download, one that is potentially

Re: Streaming a huge ZIP file

2007-12-11 Thread Gabor Szokoli
I guess I forgot to mentionthe single most important aspect of my question: The archive not present on the file system, it is dynamically assembled on the fly from individual files. (the whole point is downloading multiple files in one go.) Gabor Szokoli On Dec 11, 2007 11:45 PM, Jeremy Levy

Re: Streaming a huge ZIP file

2007-12-11 Thread Igor Vaynberg
getrequestcycle().setrequesttarget(new irequesttarget() { respond(response r) { outputstream out=r.getoutputstream(); stream your date into out; }}} -igor On Dec 11, 2007 2:52 PM, Gabor Szokoli [EMAIL PROTECTED] wrote: I guess I forgot to mentionthe single most important aspect of my question:

Does wicket support looping form elements...

2007-12-11 Thread nosd2
Hi All, I have a large project I wrote in Echo1/Spring1 many years ago. I'm planning to rewrite this application. I'm trying to choose between Wicket/Spring2 or JSF/Seam. Because I used Echo you can tell I'm a believer in the advantages of Wicket over JSF. Critical to my choice is the ability

How to get resources from our web-app context ?

2007-12-11 Thread Joshua Jackson
Dear all, In my wicket apps, I have a use case to read a file that is located in my web-app context. How do I do this in wicket? Thanks in advance, -- I'm a coder not a drag-n-dropper Blog: http://joshuajava.wordpress.com/ -

Re: Streaming a huge ZIP file

2007-12-11 Thread Johan Compagner
But still youj could generate to a tmp file onm disk and stream that. But you xan also generate on the fly and stream that direcly to a response stream On 12/11/07, Gabor Szokoli [EMAIL PROTECTED] wrote: I guess I forgot to mentionthe single most important aspect of my question: The archive not

Re: Streaming a huge ZIP file

2007-12-11 Thread Thomas Singer
IIRC, DownloadLink and Igor's anonymous class will lock the session, so if you have one downloading over a very slow connection, other users will get a timeout. Cheers, Tom Igor Vaynberg wrote: getrequestcycle().setrequesttarget(new irequesttarget() { respond(response r) { outputstream

Re: GWT + Wicket

2007-12-11 Thread Eelco Hillenius
On Dec 11, 2007 2:15 PM, Dan Kaplan [EMAIL PROTECTED] wrote: I've scoured the internet to figure out how to integrate a GWT app inside a Wicket App. I'm not getting very good results. I also checked the mailing archives and didn't really find any technical advice on how to do this. What