Re: CompoundPropertyModel - white space

2021-06-08 Thread Mihir Chhaya
Thank you, Sven. This is working. As always, The Apache Wicket team ROCKS !! -Mihir. On Tue, Jun 8, 2021 at 3:54 PM Sven Meier wrote: > Hi, > > by default textfields trim their input, so I'd expect the total count > characters to be correct to the processed input: > >"f " + "m" + "l" -> "f

Re: CompoundPropertyModel - white space

2021-06-08 Thread Sven Meier
Hi, by default textfields trim their input, so I'd expect the total count characters to be correct to the processed input:   "f " + "m" + "l" -> "fml" = 3 characters (also a space was entered after the *f* You might want to override #shouldTrimInput if you want to keep the whitespace. Ha

CompoundPropertyModel - white space

2021-06-08 Thread Mihir Chhaya
Hello, Apache Wicket version used: 8.12.0 I need to show total characters entered into First, Middle and Last name text fields + one drop down for Suffix. The combined length of these four fields should not exceed the set limit. For this, I have added OnChangeAjaxBehavior to all the three text fi