Re: AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-10 Thread Rakesh A
Thank you - Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-suggestions-popup-position-issue-when-container-has-scrollbar-tp4661242p4661273.html Sent from the Users forum mailing list archive at Nabble.com.

Exception while closing modal window

2013-09-10 Thread Christoph.Manig
Hello, i have a modal window in my application and it works fine. But if I close the window with X, I get this exception: java.lang.ClassCastException: cannot assign instance of org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$MaskType to field

Re: Exception while closing modal window

2013-09-10 Thread Martin Grigorov
Hi, org.ops4j.pax.wicket - OSGi. It seems you have two bundles of wicket-extensions in the classpath. On Tue, Sep 10, 2013 at 2:31 PM, christoph.ma...@t-systems.com wrote: Hello, i have a modal window in my application and it works fine. But if I close the window with X, I get this

Handle form submit Exception on setDefaultModelObject

2013-09-10 Thread Edgar Merino
Hello, I have a Form with some components attached to it, when I submit the Form through an AjaxSubmitLink some of these components may throw an Exception while updating their models. What can I do to handle these Exceptions and show error messages using error() and adding the feedback panel

Re: Handle form submit Exception on setDefaultModelObject

2013-09-10 Thread Sven Meier
A) override Form#process(IFormSubmitter) and handle the exception B) implement an IRequestCycleListener which handles the exception Sven On 09/10/2013 01:46 PM, Edgar Merino wrote: Hello, I have a Form with some components attached to it, when I submit the Form through an AjaxSubmitLink some

Cancel Button Conundrum

2013-09-10 Thread Richard W. Adams
I need to create a Cancel button that warns the user about saved data on a form before leaving the page. Thus, I can't call setDefaultFormProcessing (false), since that would cause the data not be transferred to the model. But I ALSO don't want the page to complain about missing or invalid

RE: Cancel Button Conundrum

2013-09-10 Thread Paul Bors
You add two different submit buttons in the HTML and label them different. Then for each one you run the different save business logic inside their own onSubmit() methods. There is nothing preventing you from submitting a form from different submit buttons. ~ Thank you, Paul Bors

Re: Cancel Button Conundrum

2013-09-10 Thread Sven Meier
You can show a ModalDialog via Ajax or use a JavaScript-only solution. Sven On 09/10/2013 02:58 PM, Richard W. Adams wrote: I need to create a Cancel button that warns the user about saved data on a form before leaving the page. Thus, I can't call setDefaultFormProcessing (false), since that

Ajax setVisible(true) Action not Working after a single setVisible(false)

2013-09-10 Thread eugenebalt
A selection in one of my Ajax dropdowns controls the visibility of another dropdown. The code is very simple, and there are no other changes. choiceVerType.add(new AjaxFormComponentUpdatingBehavior(onchange) { protected void onUpdate(AjaxRequestTarget target) { if

Re: Handle form submit Exception on setDefaultModelObject

2013-09-10 Thread Edgar Merino
Overriding Form#process(IFormSubmitter) suffices my needs, thanks for the quick response. On 10/09/13 07:01, Sven Meier wrote: A) override Form#process(IFormSubmitter) and handle the exception B) implement an IRequestCycleListener which handles the exception Sven On 09/10/2013 01:46 PM,

Re: Ajax setVisible(true) Action not Working after a single setVisible(false)

2013-09-10 Thread eugenebalt
Solved my problem - I had to set the output markup placeholder tag: choiceVerPeriod.setOutputMarkupPlaceholderTag(true); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-setVisible-true-Action-not-Working-after-a-single-setVisible-false-tp4661281p4661282.html

client timezone and flickering

2013-09-10 Thread infiniter
has anyone been able to get around the flicker issue when getting the client timezone from WebSession#getClientInfo in a painless way? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/client-timezone-and-flickering-tp4661284.html Sent from the Users forum mailing