I'll add a routine to that test file that maps over all components and confirms that all the textfield's are of type LzTLFTextField.
On Mon, Nov 1, 2010 at 12:18 AM, Max Carlson <[email protected]> wrote: > You have an unused declaration in LzText.lzx#construct(): > var origlayout > > Also, how do I know examples/components/bidi_component_sampler.lzx is using > TLF? > > > On 10/27/10 6:18 PM, Henry Minsky wrote: > >> Change hqm-20101027-PGz by [email protected] on 2010-10-27 20:27:15 EDT >> in /Users/hqm/openlaszlo/trunk3 >> for http://svn.openlaszlo.org/openlaszlo/trunk >> >> Summary: implement cascade of bidi text property at construct time >> >> New Features: >> >> Bugs Fixed: LPP-9478 >> >> Technical Reviewer: ptw >> QA Reviewer: max >> Doc Reviewer: (pending) >> >> Documentation: >> >> Release Notes: >> >> Overview: >> >> >> Details: >> >> Use the font cascade machinery to inherit the hasdirectionallayout >> property for text, >> and look up the value early enough to allow the correct value to be set >> when >> __makeSprite is called. >> >> >> Tests: >> >> cascade-property.lzx: this demonstrates the cascade inheritance of the >> hasdirectionallayout property from >> the parent view. The top line of text should read >> "hasdirectionallayout=true", and the second line should >> show LzTLFTextField as the class name >> >> examples/components/bidi_component_sampler.lzx >> copy of component_sampler with hasdirectionallayout=true set at the top >> level view, so all text views >> should be using the new bidi LzTLFTextfield class in their sprite. >> >> The app should appear identical to component_sampler.lzx in SWF10, >> except that >> inspection of the text views of components shows that their >> tsprite.textfield is of type LzTLFTextField rather than TextField >> >> Files: >> A test/tlf/cascade-property.lzx >> M WEB-INF/lps/lfc/kernel/swf9/LzTLFTextField.as >> M WEB-INF/lps/lfc/views/LzText.lzs >> M WEB-INF/lps/lfc/views/LaszloView.lzs >> A examples/components/bidi_component_sampler.lzx >> >> Changeset: >> http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101027-PGz.tar >> > -- Henry Minsky Software Architect [email protected]
