[ 
http://jira.nuxeo.org/browse/NXP-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anahide Tchertchian resolved NXP-2310.
--------------------------------------

    Resolution: Fixed

widget instances now have a level, and are exposed as widget_0, widget_1, using 
their level in the hierarchy.
widget still refers to the current widget.
subWidget variables are still here for compatibility but deprecated.

the layout value is now exposed as 'layoutValue', the variable 'value' keeps on 
being updated as the current value in the widget context.

the variable mapper is reinitialized after exposing variables in a row or sub 
widgets loops.

> layout/widgets should expose better variables the el context
> ------------------------------------------------------------
>
>                 Key: NXP-2310
>                 URL: http://jira.nuxeo.org/browse/NXP-2310
>             Project: Nuxeo Enterprise Platform 5
>          Issue Type: Bug
>    Affects Versions: 5.1.4
>            Reporter: Anahide Tchertchian
>            Assignee: Anahide Tchertchian
>             Fix For: 5.1.5
>
>
> Layout system does not always expose useful variables to the el context :
> - it is not possible to reference the document (value given in the layout 
> tag) from a sub widget
> - widget instance exposed is not always the current widget, and in a list of 
> lists, sub widgets are all refered as "sub widgets"
> - the variable mapper is not reinitialized after exposing variables in a row 
> or sub widgets loops.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to