From tapestry-user Mon Dec 17 20:03:17 2007 From: Kaspar Fischer Date: Mon, 17 Dec 2007 20:03:17 +0000 To: tapestry-user Subject: Re: about ognl and class changes detection Message-Id: <28A80F8C-3AE9-496F-854C-18854321C822 () inf ! ethz ! ch> X-MARC-Message: https://marc.info/?l=tapestry-user&m=119792183607719 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