Re: Wicket 1.5 and Automatic Link Disabling

2011-08-17 Thread Martin Grigorov
Could be. I always test with HEAD to save myself time debugging issues which are already solved. Please create a quickstart and attach it to Jira if the issue still exists for you. On Wed, Aug 17, 2011 at 8:15 AM, Jonathan Locke jonathan.lo...@gmail.com wrote: Ah, is it possible that this is a

How to Handle ResourceStreamNotFoundException

2011-08-17 Thread hfriederichs
Hello to you all, First of all, I apologise for submitting this post for the second time, but the first didn't use the correct user group. I'm adding a new feature to a Wicket application that manages JEE-applications (I'm using 1.4.18). For example, it's possible to install and configure a

NumberFormatException

2011-08-17 Thread Jencity
Hello, i have got a problem with getting my form working. I have got a form called gatewayForm. I added several textfields and a CompoundPropertyModel to this form. Everytime I submit the form I get a NumberFormatException. All textfields are Strings. / TextFieldString name = new

Re: NumberFormatException

2011-08-17 Thread Andrea Del Bene
Hi Jencity, you use 'gateway' as model object. Probably this object has one or more numeric field binded to a String TextField. In this case you should use a numeric TextField (for example TextFieldInteger...) Hello, i have got a problem with getting my form working. I have got a form

Re: How to Handle ResourceStreamNotFoundException

2011-08-17 Thread Dan Retzlaff
Can you determine whether the zipfile contains an installation manual before you show the user a link for it? If there is no manual, don't show the link (or show something else). That seems like a better user experience and simplifies the resource implementation. Alternatively, in your resource

DownloadLink pre-generating file, need new generation each time

2011-08-17 Thread eugenebalt
I have a DownloadLink which links to a file which is generated on the fly. Is there a way to force the construction of the file at the precise moment the link is clicked, not before? -- View this message in context:

DownloadLink pre-generating file, need new generation each time

2011-08-17 Thread eugenebalt
I have a DownloadLink which links to a file which is generated on the fly. Is there a way to force the construction of the file at the precise moment the link is clicked, not before? -- View this message in context:

Simple non ajax callback

2011-08-17 Thread nino martinez wael
Hi i could not find a simple way todo non ajax callbacks. Its very simple to extend the abstractajaxdefaultbehavior. But could not find something similar for non ajax. Did i miss something? I figure its because if youre using javascript you might aswell do ajax?

Re: DownloadLink pre-generating file, need new generation each time

2011-08-17 Thread Igor Vaynberg
the link supports imodelfile so you can generate and cache the file when imodel.getobject() is called. you can even use the LDM for this.. -igor On Wed, Aug 17, 2011 at 10:10 AM, eugenebalt eugeneb...@yahoo.com wrote: I have a DownloadLink which links to a file which is generated on the fly. Is

Re: Simple non ajax callback

2011-08-17 Thread Igor Vaynberg
see how Link does it... all you need to do is implement one of the listener interfaces and call urlfor(component, interface) to generate a callback url.. -igor On Wed, Aug 17, 2011 at 10:22 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi i could not find a simple way todo non

How to avoid keeping files on the server with DownloadLink

2011-08-17 Thread eugenebalt
Just one more question, Is it possible to do a resource download from memory, *not* from a file on the server? I currently have a DownloadLink pointing to a generated file. That is fine, but we have multiple files getting generated and residing on the server that don't get cleaned up. We are

Re: How to avoid keeping files on the server with DownloadLink

2011-08-17 Thread Martin Grigorov
maybe you need ResourceLink instead backed by ByteArrayResource On Wed, Aug 17, 2011 at 9:04 PM, eugenebalt eugeneb...@yahoo.com wrote: Just one more question, Is it possible to do a resource download from memory, *not* from a file on the server? I currently have a DownloadLink pointing to

Re: Wicket Snapshots in IVY?

2011-08-17 Thread Don Ferguson
I'm pulling from ibiblio, which has always worked for me From my ivy.xml: dependency org=org.apache.wicket name=wicket rev=1.4.15 conf=webapp-default/ dependency org=org.apache.wicket name=wicket-datetime rev=1.4.15 conf=webapp-default/ dependency org=org.apache.wicket

Re: How to avoid keeping files on the server with DownloadLink

2011-08-17 Thread eugenebalt
Thanks, I was able to convert a DownloadLink to a ResourceLink (backed by a byte[]), BUT that changed the behavior of the link. Previously, all clicks on the DownloadLink would result in a Open / Save As dialog box. This is what we want. The file type is MS Excel, and it was offering to open or

Re: How to avoid keeping files on the server with DownloadLink

2011-08-17 Thread eugenebalt
So the question is, how do we force the Save As dialog box, rather than immediately auto-transmit. I know the DownloadLink does it, but is there a way to accomplish it with a ResourceLink? Thanks. -- View this message in context:

Re: How to avoid keeping files on the server with DownloadLink

2011-08-17 Thread Martin Grigorov
header: Content-Disposition On Wed, Aug 17, 2011 at 10:35 PM, eugenebalt eugeneb...@yahoo.com wrote: So the question is, how do we force the Save As dialog box, rather than immediately auto-transmit. I know the DownloadLink does it, but is there a way to accomplish it with a ResourceLink?

Re: How to avoid keeping files on the server with DownloadLink

2011-08-17 Thread eugenebalt
How do I set this header on a ResourceLink? (I know I can do it on a WebResponse, but I'm not dealing with that here.) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-avoid-keeping-files-on-the-server-with-DownloadLink-tp3750767p3751171.html Sent from the Users

Re: How to avoid keeping files on the server with DownloadLink

2011-08-17 Thread eugenebalt
Never mind, I found out -- override protected void setHeaders(WebResponse response) in ByteArrayResource. OK, thanks, it's almost done, but there's still one issue. It's working fine, but when I click the link the FIRST time, I get the Open/Save As and when I click Open, Excel opens

Re: Wicket Snapshots in IVY?

2011-08-17 Thread Jonathan Locke
Thanks, that's useful information if I have to go back to 1.4 or if 1.5 goes final soon. For now though, I'm looking to use 1.5 snapshot builds (trunk head) as the last RC (1.5-RC5.1) seems to have some problems for me... -- View this message in context:

Re: Wicket 1.5 and Automatic Link Disabling

2011-08-17 Thread Jonathan Locke
Okay, will do. Thanks Martin!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3751604.html Sent from the Users forum mailing list archive at Nabble.com.

onchane not working with jquery numeric plugin

2011-08-17 Thread rebecca
hello, I'm using wicket 1.4.16. I have a simple text field component on a phone number panel. I used TexoTela's jquery plugin jquery.numeric to enable only numeric input to the text field. I added it in a script block in the html file of this phone number panel: $(function(){

wiquery file download

2011-08-17 Thread neshod
Hi guys, I'm struggling to wiquery popup dialog when press Ok button initiate file download. It actually makes ajax submit and the file is received by ajax as text. Any suggestions will be pretty much appreciated. -- View this message in context:

Wicket-auth issue

2011-08-17 Thread mathieu.marcotte-gag...@bell.ca
Hi wicket developers and users, I am developing a web application that uses the wicket-auth framework 1.4.17, more specifically the following class : org.apache.wicket.authorization.strategies.role.annotations.AnnotationsRoleAuthorizationStrategy and I am experiencing an issue that I think

Feedback Panel

2011-08-17 Thread McDulin, Bill
Hi, I am using the BigDecimalConverter which is being fired before the Validation occurs inside of a form. This is then in turn calling the onError inside of my Form. I was curious as to what the resource key value is that is being returned so that I can customize it for some custom message.