Re: wicket-stuff progressbar problem in Wicket 6.3

2012-12-05 Thread Martin Grigorov
Hi, I think this issue is fixed with WICKET-4886. Please try with 6.4.0-SNAPSHOT. If it still breaks then please create a quickstart and attach it to a new ticket in Jira. Thanks! On Tue, Dec 4, 2012 at 3:54 PM, hsteisjo hakan.stei...@foxt.com wrote: Hi all, I've really banged my head with

stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-05 Thread Karsten Gaul
Hi, I'm trying to use the functionality of an AjaxLazyLoadPanel in a stateless page but this doesn't seem to work as the injected content is not a container and the following exception is thrown: java.lang.IllegalArgumentException: Component is not a container and so does not contain the

DownloadLink

2012-12-05 Thread Altuğ Bilgin Altıntaş
Hi; Is it possible to trigger form submit before DownloadLink execution. We need to get some values from the form in order to process pdf. Any suggestions ? Thanks.

Re: DownloadLink

2012-12-05 Thread Altuğ Bilgin Altıntaş
Our Wicket version is 1.4.x On Wed, Dec 5, 2012 at 11:42 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, See https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html On Wed, Dec 5, 2012 at 10:38 AM, Altuğ Bilgin Altıntaş alt...@gmail.com wrote:

Re: DownloadLink

2012-12-05 Thread Martin Grigorov
s/handler/target/ On Wed, Dec 5, 2012 at 10:44 AM, Altuğ Bilgin Altıntaş alt...@gmail.comwrote: Our Wicket version is 1.4.x On Wed, Dec 5, 2012 at 11:42 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, See

Re: DownloadLink

2012-12-05 Thread Altuğ Bilgin Altıntaş
Thanks On Wed, Dec 5, 2012 at 11:46 AM, Martin Grigorov mgrigo...@apache.orgwrote: s/handler/target/ On Wed, Dec 5, 2012 at 10:44 AM, Altuğ Bilgin Altıntaş alt...@gmail.com wrote: Our Wicket version is 1.4.x On Wed, Dec 5, 2012 at 11:42 AM, Ernesto Reinaldo Barreiro

Re: wicket-stuff progressbar problem in Wicket 6.3

2012-12-05 Thread hsteisjo
Thanks Martin, it looks like my problem I'll give it a try. Do you know if a Wicket release is planned in the near future? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-stuff-progressbar-problem-in-Wicket-6-3-tp4654469p4654505.html Sent from the Users forum

Re: wicket-stuff progressbar problem in Wicket 6.3

2012-12-05 Thread Martin Grigorov
6.4.0 will be build at Dec 14 On Wed, Dec 5, 2012 at 11:23 AM, hsteisjo hakan.stei...@foxt.com wrote: Thanks Martin, it looks like my problem I'll give it a try. Do you know if a Wicket release is planned in the near future? -- View this message in context:

Re: Upload file and display its contents using AJAX

2012-12-05 Thread Martin Grigorov
Wicket uses an iframe internally for Ajax file uploads. On Wed, Dec 5, 2012 at 11:55 AM, pureza pur...@gmail.com wrote: I was able to get rid of the submit button, but I don't understand why it works (maybe some wicket magic?). I have a Form object and in the onSubmit() method I read the

Re: Upload file and display its contents using AJAX

2012-12-05 Thread pureza
Thanks Martin, I had just found https://issues.apache.org/jira/browse/WICKET-2420 before reading your reply! I guess that clears things. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Upload-file-and-display-its-contents-using-AJAX-tp4654473p4654510.html Sent from

Wicket 1.5.8 + Weblogic 9

2012-12-05 Thread sitseva
Hello, I recently migrated an application from wicket 1.4.13 to 1.5.8. Everything was fine in development and test environment (Tomcat 6/7 , Weblogic 11g ) but when i deployed my app to acceptance-testing environment (Weblogic 9), i have some issues with consecutive ajax calls (ex. navigating

Re: Wicket 1.5.8 + Weblogic 9

2012-12-05 Thread Martin Grigorov
What is the url/mount of the of the page where this error happens ? On Wed, Dec 5, 2012 at 2:22 PM, sitseva dimitris.asves...@gmail.com wrote: Hello, I recently migrated an application from wicket 1.4.13 to 1.5.8. Everything was fine in development and test environment (Tomcat 6/7 ,

Re: Wicket 1.5.8 + Weblogic 9

2012-12-05 Thread sitseva
I am not sure if this is what you mean but when i first load the page the url requested is just: [server]/[context-path]/wicket/page?12. I use an subclass of a simple Link to get there with setResponsePage(pageInstance); On Wed, Dec 5, 2012 at 2:28 PM, Martin Grigorov-4 [via Apache Wicket]

Re: Wicket 1.5.8 + Weblogic 9

2012-12-05 Thread Martin Grigorov
I'm not sure what is the reason for the problem but I think it will disappear if you explicitly mount this page at some path. I.e.: MyApp: mountPage(path, ThePage.class) In MyOtherPage.java: setResponsePage(thePageInstance) On Wed, Dec 5, 2012 at 2:39 PM, sitseva dimitris.asves...@gmail.com

Re: Wicket 1.5.8 + Weblogic 9

2012-12-05 Thread sitseva
many thanx, I ll try this and see On Wed, Dec 5, 2012 at 2:43 PM, Martin Grigorov-4 [via Apache Wicket] ml-node+s1842946n4654515...@n4.nabble.com wrote: I'm not sure what is the reason for the problem but I think it will disappear if you explicitly mount this page at some path. I.e.:

Re: Syncing files with designers

2012-12-05 Thread Edgar Merino
Hello Jan, that seems like a good approach. However, I think I'm missing something: since every WebPage in wicket has straight access to resources located in the web root (that is, every path reference in the page's markup is relative to the web root), I would like to avoid using folders to

Possible to use static IBehavior/ReadOnlyModels?

2012-12-05 Thread Davli
Well as the title says... Would this be possible assuming that they have have no real relation to a value in a session? For example: An AttributeAppender that always appends the same value. -- View this message in context:

Re: Wicket 1.5.8 + Weblogic 9

2012-12-05 Thread sitseva
Nope, tried it. Works for the Page url but Weblogic 9 messes up content in consecutive ajax calls. I have a Page with many AjaxTabs that render panels . Each tab panel includes a modal window also and has a form that submits with an AjaxSubmitLink. On weblogic 9 only there seems to be a request

Re: Possible to use static IBehavior/ReadOnlyModels?

2012-12-05 Thread Igor Vaynberg
yes, you can use singleton instances as long as they are threadsafe. -igor On Wed, Dec 5, 2012 at 2:40 AM, Davli lidz@gmail.com wrote: Well as the title says... Would this be possible assuming that they have have no real relation to a value in a session? For example: An

Re: Syncing files with designers

2012-12-05 Thread Jan Riehn
Hello Edgar, I think I'm missing something: since every WebPage in wicket has straight access to resources located in the web root (that is, every path reference in the page's markup is relative to the web root) Wicket is able to locate resources outside of the web application: This could

Re: Possible to use static IBehavior/ReadOnlyModels?

2012-12-05 Thread Dan Retzlaff
Might be worth noting that as soon as it goes through a serialization round-trip it's no longer a singleton. Not a concern for a trivial AttributeAppender, but it's a Wicket+static+serialization gotcha we learned the hard way. :) On Wed, Dec 5, 2012 at 4:40 PM, Igor Vaynberg

Re: Possible to use static IBehavior/ReadOnlyModels?

2012-12-05 Thread Igor Vaynberg
true, but you can override writereplace() and readresolve() to keep it a singleton. further, even though it is no longer a singleton within a given page there will be only one instance of it even when serialized/deserialized, so you still get some memory savings. -igor On Wed, Dec 5, 2012 at

Re: Wicket 1.5.8 + Weblogic 9

2012-12-05 Thread sitseva
UPDATE, your solution works fine with weblogic 9 , i just had to put a string without dashes like you did. ex. path works, path/something does not work. Thanx a lot On Wed, Dec 5, 2012 at 5:04 PM, Dimitris Asvestis dimitris.asves...@gmail.com wrote: Nope, tried it. Works for the Page url but

How to call a Wicket Ajax click event

2012-12-05 Thread Jered Myers
Wicket 6.3 How do I call a click event on an AjaxLink from via jQuery or JavaScript? I have an AjaxLink that I have added to the page and after I run some JavaScript, I want to pragmatically click the link with JavaScript. This broke when updating from Wicket 1.5 to 6. It appears that the

Re: How to call a Wicket Ajax click event

2012-12-05 Thread Jered Myers
The link here is actually an AjaxSubmitLink and not an AjaxLink. I am trying to get back to the onSubmit on the server side. I saw http://apache-wicket.1842946.n4.nabble.com/Wicket-6-Ajax-Behaviors-td4654398.html, but $(mylink).triggerHandler('click') doesn't seem to be working. Do I treat

Select2Choice dropdown box is not appeared in correct position

2012-12-05 Thread Madasamy mcruncher
we are using wicket-select2 2.0 in our application. A form having a Select2Choice field when click this field the search dropdown box is not appeared in correct position. But this is work fine on my quick start. our application is depending on bootstrap css and js. My observation ,

Re: Returning XML or HTML

2012-12-05 Thread Sven Meier
You'll have to let Wicket know that you wrote the response by yourself. With |RestartResponseException| you can switch to another response. In your case you could direct the request to a resource first (since your XML doesn't seem be component-based) and switch to a page in case of missing

Re: Model is null after submit, using FormComponentPanel

2012-12-05 Thread Paul Borș
Take a look at https://cwiki.apache.org/WICKET/working-with-wicket-models.html Okay so Account is the type of the model object and your FormComponentPanel seem to work off a CustomerAccountCodeModel: CustomerAccountCodeModel ccc = getModelObject(); If I'm understanding this right, what does