Re: issue with file download out of form component

2012-10-24 Thread Maxim Solodovnik
Thanks for your help! The issue seems to be resolved now. We had lots of dependencies to the huge number of various servlet-api.jar + custom ServletRequestMapper I perform cleanup and now everything works as expected On Thu, Oct 25, 2012 at 8:51 AM, Maxim Solodovnik wrote: > Hello Martin, > > Th

Re: issue with file download out of form component

2012-10-24 Thread Maxim Solodovnik
Hello Martin, Thanks for the tip. I'll double check the version of javax.servlet currently being used On Wed, Oct 24, 2012 at 7:24 PM, Martin Grigorov wrote: > Hi Maxim, > > What web container do you use ? > According to Servlet API > ( > http://docs.oracle.com/javaee/6/api/javax/servlet/Servlet

Re: Custom CSS for Feedback message is broken in 1.5

2012-10-24 Thread Joachim Schrod
Paul Bors wrote: > Yes, but how would that affect other projects that do expect the CSS to be > applied to the LI or SPAN? > Come to think about it, I could very simple replace the content of both with > my own panels right? > > I think this is a project specific requirement I just want to add m

RE: Using AutocompleteTextField with database entries (without a converter)

2012-10-24 Thread Paul Bors
As for your search by multiple columns in the db... do something silly like using an OR in your SQL and filter by both columns :) Another idea is to include a drop down to filter by what column you want to search. ~ Thank you, Paul Bors -Original Message- From: Gaetan Zoritchak [mailto

Re: Using AutocompleteTextField with database entries (without a converter)

2012-10-24 Thread Gaetan Zoritchak
Thanks for the input. I'm going to have a look. Gaetan 2012/10/24 Paul Bors > Take a look at Select2 developed by Ivan Vaynberg one of Wicket's > contributors: > http://ivaynberg.github.com/select2/ > > You should try out the "Loading Remote Data" and "Infinite Scroll with > Remote Data" example

Re: AjaxErrorStrategy.INVOKE_FAILURE_HANDLER in wicket6

2012-10-24 Thread Martin Grigorov
Hi, On Wed, Oct 24, 2012 at 6:45 PM, Steve Lowery wrote: > I see I can override the AjaxErrorHandlingStrategy in wicket6 to > be AjaxErrorStrategy.INVOKE_FAILURE_HANDLER so that we don't get a 302 to > the appropriate error page (InternalError, NotAuthorized, etc). My > question is how do I do

Re: Mount Page

2012-10-24 Thread Decebal Suiu
In your panel: WebApplication application = getApplication(); application.mountPage(...); // for mount and application.unmount(...); // for unmount -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mount-Page-tp4653318p4653322.html Sent from the Users forum mailin

Re: Mount Page

2012-10-24 Thread Bas Gooren
There is nothing stopping you from calling getApplication() on any component, and casting that to a WebApplication. Using that webapp reference you can easily mount/unmount pages. Met vriendelijke groet, Kind regards, Bas Gooren Op 24-10-2012 17:31, schreef dpmihai: Can a page be mounted to

AjaxErrorStrategy.INVOKE_FAILURE_HANDLER in wicket6

2012-10-24 Thread Steve Lowery
I see I can override the AjaxErrorHandlingStrategy in wicket6 to be AjaxErrorStrategy.INVOKE_FAILURE_HANDLER so that we don't get a 302 to the appropriate error page (InternalError, NotAuthorized, etc). My question is how do I do something useful with this? With only that change, the 500 error co

Re: Custom CSS for Feedback message is broken in 1.5

2012-10-24 Thread Sebastien
Paul, the problem is that the css class name, returned by getCSSClass will applies to both li and span. Consider the style you want to apply (the css class name) is not your own but coming from an external library ui, like jquery-ui or bootstrap. You need to apply the css class only to the span *or

RE: Using AutocompleteTextField with database entries (without a converter)

2012-10-24 Thread Paul Bors
Take a look at Select2 developed by Ivan Vaynberg one of Wicket's contributors: http://ivaynberg.github.com/select2/ You should try out the "Loading Remote Data" and "Infinite Scroll with Remote Data" examples. Thanks Ivan for a great job! ~ Thank you, Paul Bors -Original Message- Fro

RE: Custom CSS for Feedback message is broken in 1.5

2012-10-24 Thread Paul Bors
Yes, but how would that affect other projects that do expect the CSS to be applied to the LI or SPAN? Come to think about it, I could very simple replace the content of both with my own panels right? I think this is a project specific requirement and as such should be handled by extending from Wic

Re: ajax channels

2012-10-24 Thread Ernesto Reinaldo Barreiro
it might be better to poll the server for the state of the long running task and once it is ready display some user feed back. On Wed, Oct 24, 2012 at 3:32 PM, danisevsky wrote: > Hi, > > I have long-running ajax behavior. And when this behavior is running > no other ajax component on page can w

Re: ajax channels

2012-10-24 Thread Martin Grigorov
Hi, This will remove the serialization at the client side (JavaScript) but there is also synchronization at the server side - only one request can work with the same page instance. I guess this is where they wait each other. On Wed, Oct 24, 2012 at 4:32 PM, danisevsky wrote: > Hi, > > I have lon

Using AutocompleteTextField with database entries (without a converter)

2012-10-24 Thread Gaetan Zoritchak
Hello, I don't know what is the best way of impleting that in Wicket That's my use case: - the user has to select a customer in a field of a form, - he starts to type some characters, - the list shows some possibilities based on a database request using the first and last names, the email, ... - t

ajax channels

2012-10-24 Thread danisevsky
Hi, I have long-running ajax behavior. And when this behavior is running no other ajax component on page can work because ajax requests are serial. My question is if it is possible to use another ajax channel for long-runnig behavior? I tried: @Override protected void updateAjaxA

Re: issue with file download out of form component

2012-10-24 Thread Martin Grigorov
Hi Maxim, What web container do you use ? According to Servlet API (http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getParameterMap()) the map should be wrote: > Hello Martin, > > I just have tested Wicket 6.2 > Using AjaxDownload: > https://svn.apache.org/repos/asf/incubato

Re: issue with file download out of form component

2012-10-24 Thread Maxim Solodovnik
Hello Martin, I just have tested Wicket 6.2 Using AjaxDownload: https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/util/AjaxDownload.java https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/

Re: Wicket and file upload with blueimp jquery file upload

2012-10-24 Thread heapifyman
Thanks. That helped a lot. 2012/10/16 Bas Gooren > Behavior (wicket 1.5): http://pastebin.com/WUHsiRL2 > instance.js (to initialize uploadify): http://pastebin.com/jGSwzHMN > > Mount it in Application.init() with: > > // Allow uploads through uploadify > mount( new UploadifyBehavior.Uploader( "

Re: issue with file download out of form component

2012-10-24 Thread Maxim Solodovnik
Hello Martin, I just have tested Wicket 6.2 Using AjaxDownload: https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/util/AjaxDownload.java https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/

Re: Selected item into Palette

2012-10-24 Thread Marco Di Sabatino Di Diodoro
Hi, On Oct 23, 2012, at 6:41 PM, Sven Meier wrote: > I'm not sure how you're using AjaxFormComponentUpdatingBehavior together with > the palette component. > > Please create a quickstart and attach it to a Jira issue. I create a quickstart and attach it to Jira issue (https://issues.apache.org

Re: merge all properties file into one file

2012-10-24 Thread Carl-Eric Menzel
> Is there any way that i can merge all my properties file into one big > properties file ? If you application class is MyApplication then you can put everything into MyApplication.properties if you want. Carl-Eric - To unsubscr

Re: When Ajax precondition fails no post event handler is called

2012-10-24 Thread Martin Grigorov
Hi, On Wed, Oct 24, 2012 at 11:25 AM, Thijs wrote: > Hi, > > We have an overlay that is triggered by a ajax global event listener. like: > > Wicket.Event.subscribe('/ajax/call/before', function(jqEvent, attributes, > jqXHR, errorThrown, textStatus) { > showBusysignAjax(); > }); > > Put when the p

When Ajax precondition fails no post event handler is called

2012-10-24 Thread Thijs
Hi, We have an overlay that is triggered by a ajax global event listener. like: Wicket.Event.subscribe('/ajax/call/before', function(jqEvent, attributes, jqXHR, errorThrown, textStatus) { showBusysignAjax(); }); Put when the precondition of the ajax call fails none of the '/ajax/call/after|c

Re: wicket-6 User friendly form validation with Wicket (stuq)

2012-10-24 Thread Martin Grigorov
Hi, The URL below doesn't load and I cannot see what is his implementation. On Sat, Oct 20, 2012 at 10:34 PM, Rafał Krupiński wrote: > Hi all! > There is old article on putting validation messages near the input fields at > http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wick

Re: Ajax file manager 'CKFinder' and Wicket >= 1.5.8

2012-10-24 Thread Martin Grigorov
Hi, Looking at the changelog I don't see anything suspicious. Did you check for JavaScript errors in Firebug/Dev tools ? Can you share your code with us so we can see how you do the integration and what could be the problem ? On Tue, Oct 23, 2012 at 6:40 PM, Steamus wrote: > Hello, Everybody >

Re: Problems injecting Groovy dependencies

2012-10-24 Thread Martin Grigorov
Hi, Wicket wraps the beans in serializable proxy, so there is no need to make your services (beans) Serializable. When the bean is type is an interface then Wicket uses JDK Proxy. When it is a class then CGLib is used to create the proxy. Google for "groovy cglib" problems and you may find the s

Re: HybridPageParamter encoder

2012-10-24 Thread Martin Grigorov
Hi, Write your own IPageParametersEncoder which does what you need. Use the implementations provided by default in Wicket for inspiration. On Tue, Oct 23, 2012 at 10:13 PM, vinitty wrote: > Hi > I am using wicket 1.5.7 and i want my url to be formed as > > /mf/landing > > and if i am hitting

Re: Why is it forbidden to overwrite "getString" method in the Component class ?

2012-10-24 Thread Martin Grigorov
Hi, On Tue, Oct 23, 2012 at 8:31 PM, seba.wag...@gmail.com wrote: > Thanks Martin, > > using IStringResourceLoader solved my issue. > > However I did not understand what you meant with "#getMyString()" > I did not find any method #getMyString() that I could overwrite, also > Google gave me no p

Re: Apache Wicket 6.2.0 released!

2012-10-24 Thread vineet semwal
hmm i see it now... thank you core devs for the great work ! On Wed, Oct 24, 2012 at 2:18 AM, vineet semwal wrote: > how come i don't see any tag related to 6.2.0 ? > > On Wed, Oct 24, 2012 at 1:24 AM, Martijn Dashorst > wrote: >> The Apache Wicket PMC is proud to announce Apache Wicket 6.2.0! >

My WebApplication constructor is never called

2012-10-24 Thread Mats
No runtime errors when deploing on Glassfish in NetBeans, atmosphere seems to start, but nothing more happens... my debug println in the WebApplication constructor is not called. (If I skip setting up the AtmosphereServlet mapping in my web.xml then my constructor is called and my debug println is

Re: Custom CSS for Feedback message is broken in 1.5

2012-10-24 Thread Sven Meier
The point is that he does *not* want getCSSClass() to be applied to the . Sven On 10/24/2012 12:24 AM, Paul Bors wrote: There is nothing stopping you from extending from the FeedBackPanel and override the HTML the Wicket component is using. This is how we did it. The HTML: http://wicket.apac