AjaxFormSubmitBehavior causing page refresh in IE

2012-08-15 Thread kshitiz
Hi, I have a simple code which is running fine in chrome... // defining text field for user to search * final RequiredTextField searchTextField = new RequiredTextField( "search"); searchTextField.add(new AjaxFormSubmitBehavior("onSub

WicketTester best practices

2012-08-15 Thread James Eliyezar
Friends, Just curious to find out what best practices do you all follow when using WicketTester. FYI, to improve the performance of unit tests, we decided to use a shared instance of WicketTester across our unit tests. The tests worked fine in Wicket 1.4.x but fail after upgrading to 1.5.x when r

Re: Is there a way to search component by its wicket ID ?

2012-08-15 Thread James Eliyezar
Thanks Paul for this nice tip. On Tue, Aug 14, 2012 at 11:04 PM, Paul Bors wrote: > If you use wicket-component-expressions from com.googlecode.londonwicket > you > can get to the list of all the components on the page that have that > "username" id via a regexp of "**:username", but as James me

Re: Problem sending email using SSL after upgrading to Wicket 1.5

2012-08-15 Thread James Eliyezar
It turns out that the problem was because of the custom trust store we were using in our application. It has nothing to do with wicket. Sorry for bothering you all. On Tue, Aug 14, 2012 at 3:55 PM, James Eliyezar wrote: > Martin, > > Yes I use smtp props that are similar to what you have shared.

Re: Add page feedback to every AjaxRequestTarget

2012-08-15 Thread procrastinative.developer
Hello Alec, Could you take a look on this: https://github.com/procrastinativedeveloper/ToolsClasses/blob/master/src/main/java/com/utils/wicket/ajax/AjaxFeedbackPanelUpdater.java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Add-page-feedback-to-every-AjaxRequestTa

Re: How to control IMG/CSS URL-Rewriting in mounted pages?

2012-08-15 Thread Joachim Schrod
Well, one answer yet, with an assertion that Wicket does what I don't want it to do. :-( So, is it really not possible to exchange bidirectionally HTML files with an HTML designer who does *not* put all his HTML files in web root? I thought being able to share files bidirectionally with HTML desig

Re: Add page feedback to every AjaxRequestTarget

2012-08-15 Thread Alec Swan
Bertrand, that's exactly what I want! Except I am using Wicket 1.4.x :( Is there a way to implement this in Wicket 1.4.x? Thanks, Alec On Wed, Aug 15, 2012 at 3:02 PM, Bertrand Guay-Paquet wrote: > Hi Alec, > > Have a look at this: > https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#

Re: Add page feedback to every AjaxRequestTarget

2012-08-15 Thread Bertrand Guay-Paquet
Hi Alec, Have a look at this: https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-Defaultajaxevent I think it does what you need. On 15/08/2012 3:59 PM, Alec Swan wrote: Hello, I have a FeedbackPanel on a page. The page can contain different kinds of forms dependi

Add page feedback to every AjaxRequestTarget

2012-08-15 Thread Alec Swan
Hello, I have a FeedbackPanel on a page. The page can contain different kinds of forms depending on the end-user preference. Some of those forms are submitted via AJAX and may or may not add any components to AjaxRequestTarget. How can I add the page's FeedbackPanel to AjaxRequestTarget of the fo

Re: IExceptionMapper to notify support of errors

2012-08-15 Thread jchappelle
I'll do the timer then. Thanks for your help Igor. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/IExceptionMapper-to-notify-support-of-errors-tp4651251p4651256.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: IExceptionMapper to notify support of errors

2012-08-15 Thread Igor Vaynberg
not really. like i said, if this happens during a resource url then the browser will never show the response. your best bet is to use a timer or any other callback that gets triggered via javascript, so you know the user sees the error panel. -igor On Wed, Aug 15, 2012 at 10:22 AM, jchappelle wr

Re: IExceptionMapper to notify support of errors

2012-08-15 Thread jchappelle
Thanks for the quick response Igor. Are there any callback methods in Panel that will allow me to put my notification code and guarantee that it will be rendered to the user? Worst case I could add a timer behavior to the panel that makes a callback to the server and executes the notification, but

Re: Form and behaviors

2012-08-15 Thread nino martinez wael
seems to be a bug in our app.. 2012/8/15 nino martinez wael > If a form is disabled does it not evaluate its behaviors? > > In my case I have a css appender which does not seem to be evaluated when > form are disabled > -- Best regards / Med venlig hilsen Nino Martinez

Re: IExceptionMapper to notify support of errors

2012-08-15 Thread Igor Vaynberg
perhaps an error occurs during an ajax request whose response is ignored. or maybe it happens during resource processing... eg tinymce requests a resource, wicket doesnt find it and throws an exception. your panel renders. but, because the url was for a resource the response is ignored because its

IExceptionMapper to notify support of errors

2012-08-15 Thread jchappelle
I have written an IExceptionMapper that notifies our support team if an unexpected exception occurs. It will redirect the user to our ErrorPage and in the ErrorPanel.onBeforeRender I send a notification via email in a new Thread. This mostly works except we are getting several false positives. What

RE: Static web page localization

2012-08-15 Thread Paul Bors
Another idiom is to attach a wicket:id to that HTML tag, and in your Java code use a WebMarkupContainer with an AttributeModifier to change whatever attribute you would like. Of course the IResource and children might be a better approach since it does the work for you :) ~ Thank you, Paul Bo

Dataview with filter: I need a textfilter for a numeric column

2012-08-15 Thread Delange
I have a datatable with a filter. At this moment a user can enter some search combinations in the header for alpha fields, for example: column area: >Area51&1000&<2000 My problem is only the alphanumeric input for a numeric field. -- View this message in context: http://apache-wicket.1

Need clarification for modifying usage of modal.js

2012-08-15 Thread kshitiz
Hi, I want to position a modal window in the center of the current viewable window rather than whole one. For that I need to use customized modal.js as I have read in wicket forum. Now, in modal.js /http://code.google.com/p/koodaripalvelut-wicket/source/browse/trunk/webtest/src/main/java/org/apac

Re: issue refreshing covered panel when modalwindow is open

2012-08-15 Thread Andrew Geery
Thanks for the answer, David. I do use the technique you use below and it works well. However, in your situation, I think you're updating active content. In my situation, I have a modal window which is active. When a button on the modal window is clicked, the modal window calls the send(...) me

Regarding "WARN - (WebPageRenderer.java:162)" v1.5.7

2012-08-15 Thread yesotaso
Sorry for non-informative title. The whole warning is: WARN - (WebPageRenderer.java:162) - The Buffered response should be handled by BufferedResponseRequestHandler I know in various places it is said to be harmless and I dont know if other people seeing this warning for the same reason as me... M

Re: URL params parsing issue if param value contain '='

2012-08-15 Thread Joachim Schrod
sumitkathuria wrote: > Hello, > > We are in process of integrating our application with the third party > application and during the auth flow, The wicket is not returning the > correct parameter value when the third party application passes the > parameter value containing = operator. > > After