[Seaside] session usage inside model
philippe.marschall at gmail.com
Wed Jul 4 17:32:47 UTC 2007
MyFakeSessionTestCaseBaseClass >> #runCase
use: self dummySession
during: [ super runCase ]
2007/7/4, Norbert Hartl <norbert at hartl.name>:
> I need to access the session from inside my model objects.
> I know that is not the best way but the workaround would
> be very difficult. My biggest problem with this approach
> is testability. I like to test my model without having to
> use SeasideTesting or anything else.
> Do you know an approach where I can provide a session
> even if I'm not in a seaside application. To be correct:
> I don't need the WASession but the Glorp session which
> is provided by a WASession. Is there any smalltalk way
> to solve such a thing.
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside