On 07/17/2012 12:01 PM, Peter Brant wrote:
> @Nolan --
>
> The basic assumption was that if you're using CssBoundLiftScreen, you
> have some custom layout requirements so it uses the snippet's children
> as the template by default. It's certainly beneficial to have
> something that works out of the box though so if this proves to be a
> common stumbling block,
Actually, I was a bit surprised that the CSS binding wasn't rolled into
default LiftScreen. Initially I dumped the template from the demo
project into mine and attempted to use it unmodified, then ran into the
allTemplate = defaultAllTemplate issue after discovering that I had to
pick a different screen superclass.
Is the CSS-bound screen equivalent to LiftScreen in every other way if
the newer style template is used? Given Lift's general trend toward CSS
binding and away from namespaced attributes, I wonder if it might be
worth making the CSS-bound screens as much of a drop-in replacement for
LiftScreen as possible such that the default case just works, then
deprecating LiftScreen a few major versions down the road? The old
wizard-all.html is such an anachronism next to the newer, nicer
templates, so it makes sense to gradually phase out the older
implementation if the newer one can be made as compatible and easy as
possible. I'm not using the newer CSS screens because I have strict
template requirements. I'm using it because I want to use CSS binding
across all my codebases, and wizard-all.html was the one place that
couldn't be done (that I know of, anyway.)
Thanks.