[ 
http://jira.magnolia-cms.com/browse/MGNLGROOVY-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Federico Grilli updated MGNLGROOVY-25:
--------------------------------------

    Summary: Assigning a value to a node data only works when the node data is 
preceded by the @ sign  (was: Assigning a value to a node data only works when 
the node data preceded by the @ sign)

> Assigning a value to a node data only works when the node data is preceded by 
> the @ sign
> ----------------------------------------------------------------------------------------
>
>                 Key: MGNLGROOVY-25
>                 URL: http://jira.magnolia-cms.com/browse/MGNLGROOVY-25
>             Project: Magnolia Groovy Module
>          Issue Type: Bug
>          Components: integration
>    Affects Versions: 1.0
>            Reporter: Federico Grilli
>            Assignee: Federico Grilli
>             Fix For: 1.1
>
>
> E.g. this would work:
> {{path....@mynode = 'foo'}}
> and would even automatically create the {{mynode}} property, should it be 
> missing whilst  
> {{path.to.mynode = 'foo'}} 
> would fail, because currently it erroneously attempts to delegate the setting 
> to the groovy metaclass mechanism. In other words, it tries to set the node 
> data value on the {{MgnlGroovyNode}} instance itself and looks via reflection 
> for a class field named after the node data.

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

        


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to