Approved! On 2006-05-04, at 21:21 EDT, Henry Minsky wrote:
> Summary: move <switch> tag handling to Parser > > New Features: > > Bugs Fixed: > LPP-2011 > <include> handling was broken in the existing implementation, > includes were expanded in place unconditionally. > > Technical Reviewer: ptw > > QA Reviewer: mdavis > > Doc Reviewer: jrs > > Documentation: > > Release Notes: > > Details: > > Supports the existing but undocumented and basically unused > <switch> tag > > <library> > <switch> > <when runtime="dhtml"> > </when> > <otherwise> > <include href="debugger.lzx"/> > </otherwise> > </switch> > </library> > > The implementation requires that the code be moved to the Parser class > which processes <include> tags. The code now evaluates and expands the > <switch> > tag in place during the expandIncludes method, and removes the un- > taken arms > of the switch from the DOM at that point. > > testcase: test/debugswitch.lzx > > > > > -- > Henry Minsky > Software Architect > [EMAIL PROTECTED] > <changeset-42017.zip> > _______________________________________________ > Laszlo-dev mailing list > Laszlo-dev@openlaszlo.org > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev _______________________________________________ Laszlo-dev mailing list Laszlo-dev@openlaszlo.org http://www.openlaszlo.org/mailman/listinfo/laszlo-dev