Regarding the  required cast,
I always add 2 methods in MyBasePage class
getMyVisit()
getMyGlobal()
which return those objects casted into my specific classes


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]




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

Reply via email to