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 at 22:42,  <Gabriel Landon>  wrote:
>  
>  
>  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 cannot use the wicket-validation module anymore as the 
> ValidationModelResolver class is based on IPropertyReflectionAwareModel. Is 
> there another way to do validation with LambdaModel? Or is it possible to add 
> the interface IPropertyReflectionAwareModel to LambdaModel? Regards, Gabriel. 
> -- Sent from: 
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html 
> --------------------------------------------------------------------- To 
> unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional 
> commands, e-mail: users-h...@wicket.apache.org 
>  
     

Reply via email to