Re: Character ^ added to javascript blocks in Ajax response

2014-03-31 Thread Martin Grigorov
Hi, Yes. It is added by Wicket and is removed by Wicket before actual processing. This character is used as an escape character, so CDATA is not prematurely ended. Martin Grigorov Wicket Training and Consulting On Tue, Apr 1, 2014 at 8:43 AM, Rakesh A wrote: > Hi, > I am using Wicket v6.12.0,

Character ^ added to javascript blocks in Ajax response

2014-03-31 Thread Rakesh A
Hi, I am using Wicket v6.12.0, I observed that ^ character is getting added at places in javascript blocks in Ajax response. I observed that its for Ajax attributes with supports array like 'pre', 'bh', 'dep', etc. Example: "pre":[function(attrs){return false;}]^ "bh":[function(attrs){if (attrs.ev

Re: AjaxLazyLoadPanel loading asynchronously

2014-03-31 Thread vp143
I found that I was received the NPE with the transient variable when executing the same class twice concurrently, which makes sense now. I went with the following (stripped back show only necessary code): @SpringBean private SupplierConnector supplierPrices; private class GetPrices extends AjaxL

Re: AbstractFormValidator in Wizard

2014-03-31 Thread N. Metzger
I'll try that, thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AbstractFormValidator-in-Wizard-tp4665164p4665187.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubsc

Re: AbstractFormValidator in Wizard

2014-03-31 Thread Sven Meier
I can't think of a reason why your IFormValidator should cause multiple submits. If #changePassword() takes a long time to complete, you could show a veil: Google wicket and veil. Sven On 03/31/2014 02:30 PM, N. Metzger wrote: The form seems to be submitted 2 or 3 times although - as out te

Re: AbstractFormValidator in Wizard

2014-03-31 Thread N. Metzger
The form seems to be submitted 2 or 3 times although - as out technical support assures me - the user clicked the submit button only once. I could reproduce it only once when I used the enter key to submit the form instead of clicking "Finish" with the mouse. I guess I have 2 questions: 1) Obvious

Adding/Remiving Panels

2014-03-31 Thread David Beer
Hi All I am in the process of building a user account page, which will have a menu on the left, and the related content on the right. I would like the content on the right to be swapped depending on the selection on the left. As in the content on the right might well be generated by panels or fra

AW: EqualInputValidator for PasswortTextfield

2014-03-31 Thread Collinson, Alasdair
Hi! In such a case the error with the key "EqualInputValidator" is used; the Application_de.properties-file defines the message you see. You could override that in your local properties file. However you probably want to use the EqualPasswordInputValidator anyway which is a specialisation of th

EqualInputValidator for PasswortTextfield

2014-03-31 Thread Daniela L
Hi, I have two PasswordTextfields with a EqualInputValidator using wicket 6.12.0 the 2 fields have Labels with localized Names. When the user leaves one PasswordTextfield empty the feedback message presented is containing the word Label like this: '' vom Label E-Mail und 'testemailaddr...@test.com'

Re: AbstractFormValidator in Wizard

2014-03-31 Thread Sven Meier
Hi, what's the actual problem you're trying to fix? Sven On 03/28/2014 12:45 AM, N. Metzger wrote: I have a problem with form validation within a wizard. The wizard is used for account setup which concludes in setting a password as the final step. Originally this wasn't inside a wizard, but a

Re: One field enabled in a disabled container

2014-03-31 Thread niestroj
I do it using a behavior. For Components i want to keep enabled i need to make fields. Then i pass them to the behavior in the constructor. public class ComponentEnabledBehavior extends Behavior { private final Component[] notDisabledComponents; public ComponentEnabledBehavior (Component..