Hugo Palma wrote:

Howard Lewis Ship wrote:

getVisit() and getGlobal() work exactly the same in 4.0 as in 3.0.

I'm sorry but i didn't understand. What does that have to do with this issue ?

I guess the suggestion is placing your hibernate service inside the global object, so instead of having a getHibernateService injected property, you can just do:

((Global)getGlobal()).getHibernateService()

in your validating base class, and have the hibernate service injected once into the global object using HiveMind.

Its not as pretty as it could be, especially as there will be a cast required.

Richard.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to