You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Johan Compagner <jc...@gmail.com> on 2007/09/28 10:39:57 UTC
compile time/refactor friendly properties?
https://bean-properties.dev.java.net/tutorial.html
its not really the way i would like it to be, but that would require a
language change.
johan
Re: compile time/refactor friendly properties?
Posted by David Bernard <dw...@free.fr>.
Hi,
An other possible solution :
* create a empty method than take an Object as arg and return a String
* use a post/precompiler (like spoon) or agent to replace call to the methode by a String
eg : new PropertyModel(Property.p(myOject.myProperty))
=> new PropertyModel("myOject.myProperty")
/david
Johan Compagner wrote:
> https://bean-properties.dev.java.net/tutorial.html
>
> its not really the way i would like it to be, but that would require a
> language change.
>
> johan
>