Re: LambdaModel does not implements IPropertyReflectionAwareModel

2019-05-02 Thread Sven Meier
Hi, just a thought: for bean-validation with lamdamodels it might be easier to validate the bean as a whole and map the resulting errors to Wicket form components afterwards. Have fun Sven > > On 02.05.2019 at 23:03,wrote: > > > Sven, Thank you for

Re: LambdaModel does not implements IPropertyReflectionAwareModel

2019-05-02 Thread Gabriel Landon
Sven, Thank you for your help. I will stick with PropertyModel. Regards, Gabriel. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: LambdaModel does not implements IPropertyReflectionAwareModel

2019-04-26 Thread Sven Meier
Hi, lambdas are just functions without any meta information; https://stackoverflow.com/questions/52551806/wicket-lambdamodel-and-numbertextfield-cannot-resolvetype Lambdamodel doesn't know anything about the underlying property :(. Sven > > On 25.04.2019

LambdaModel does not implements IPropertyReflectionAwareModel

2019-04-25 Thread Gabriel Landon
Hi, I'm moving projects from wicket 7.0 to wicket 8.0 that use the wicket-bean-validation module for automatic validation of form (@NotNull, @Size, ...). I'm now using the LambdaModel instead of PropertyModel, but unfortunately, LambdaModel does not implement IPropertyReflectionAwareModel, so I c