>>>>> "J" == Jason van Zyl <[EMAIL PROTECTED]> writes:
>>> and a correct login takes you to the screen Index.vm with the
>>> layout Default.vm (desirable behaviour). Gary Murphy
>>> indicated that the switch back to the Default.vm layout for
>>> incorrect logins is "deep in the Flux" but that unfortunately
Not for incorrect logins, this was triggered by incorrect manipulations
of screens and templates resulting in a null layout by the time the
proper page was to be rendered, and the null layout caused a sudden
shift to a blue-framed table login screen that took me by surprise.
One important quality of Turbine it is that, when it is used
"incorrectly", very, very strange behaviours emerge, but when it is
used exactly as the developers envisage, it works just as it should.
Ergo, if you get strange behaviours, you need to ask yourself "What
assumptions have I made differently from theirs?"
My 'errant' assumption was "If I am _allowed_ to change the RunData
(ie, no assertions forbid it), I may be able to change RunData
attributes influencing screens and layouts any time up until the page
is rendered". This unfortunately conflicts with the developers'
intended role for RunData as a relay-baton that gets massaged into
shape as it runs through the rendering process.
Their assumption is "RunData is computed incrementally from the
parameters it receives from the servlet according to the context of
the processing stage; to change the RunData influence on Turbine's
behaviour, you sometimes must change the _environment_ (carried with
the RunData as attributes of its attributes) and thereby change the
future computations" --- RunData is only reliably complete _during_
the rendering of the template.
I'm still worried about finding my wrong assumption that has lead to
how other people can run heavy test loads through /usr/sbin/ab with no
ill effects, yet when I run repeated and rapid load-ignore-cycle
tests, all my template pages throw exceptions and die.
--
Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless. They can only give you answers."(Pablo Picasso)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]