Your setter needs to send the event!  Otherwise, approved.

On 2010-12-03, at 09:01, [email protected] wrote:

> Author: hqm
> Date: 2010-12-03 06:01:06 -0800 (Fri, 03 Dec 2010)
> New Revision: 17947
> 
> Modified:
>   openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
> Log:
> Change hqm-20101203-EzS by [email protected] on 2010-12-03 08:59:52 EST
>    in /Users/hqm/openlaszlo/trunk2
>    for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: declare hasdirectionallayout to have public visibility
> 
> New Features:
> 
> Bugs Fixed:
> 
> Technical Reviewer: ptw
> QA Reviewer: (pending)
> Doc Reviewer: (pending)
> 
> Documentation:
> 
> Release Notes:
> 
> Overview:
> 
> 
> Details:
> 
> 
> Tests:
> 
> doc builds, no compiler warning when instantiating a view with 
> 
> <view hasdirectionallayout="true"/>
> 
> 
> 
> Modified: openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
> ===================================================================
> --- openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs     2010-12-03 
> 09:09:03 UTC (rev 17946)
> +++ openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs     2010-12-03 
> 14:01:06 UTC (rev 17947)
> @@ -806,9 +806,18 @@
>    *
>    * Like font properties, this applies to text views, but needs to be on 
> view in order to
>    * allow it to cascade from parents to children.
> -   * @access private 
>    */
> var hasdirectionallayout:*;
> +
> +/** event for changes to view's <attribute>hasdirectionallayout</attribute> 
> property 
> + * @lzxtype event 
> + * @access private
> + */
> +var onhasdirectionallayout:LzDeclaredEventClass = LzDeclaredEvent;
> +
> +/**
> + * @access private
> + */
> function $lzc$set_hasdirectionallayout(val) {
>     this.hasdirectionallayout = val;
> }
> 
> 
> _______________________________________________
> Laszlo-checkins mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins


Reply via email to