[prev in list] [next in list] [prev in thread] [next in thread]
List: tapestry-user
Subject: Re: about ognl and class changes detection
From: Kaspar Fischer <fischerk () inf ! ethz ! ch>
Date: 2007-12-17 20:03:17
Message-ID: 28A80F8C-3AE9-496F-854C-18854321C822 () inf ! ethz ! ch
[Download RAW message or body]
On 13.12.2007, at 09:54, #Cyrille37# wrote:
> Hello
>
> OGNL is very nice but I would like to know how to manage classes
> changes without testing every pages.
> Exemple :
> In pages we have some ognl expression like
> value="ognl:user.lastname" and we change the class's property
> getLastname() to getName(). Every page are broken, And I could not
> find a nice method to find thoses errors.
>
> How do you manage tis case with Tapestry ??
>
> Thanks
> Cyrille
I am just telling the obvious, I know, but maybe it's a start:
- You could leave getLastname() in your code and make it call getName().
With this wrapper you will not have to change any OGNL expressions.
- Make a textual search for "lastname" in all you files...?
Kaspar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic