[ 
https://issues.apache.org/jira/browse/TILES-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Isabelle updated TILES-584:
---------------------------------
    Description: 
Attributes in list using expression are not interpreted and always return 
empty. The same expression works fine on the parent level using normal 
attribute.

Working:
{code}
<put-attribute name="deviceId" expression="${device.deviceId}"/>
{code}

Not working:
{code}
<put-list-attribute cascade="true" name="breadcrumbs">
      <add-attribute value="page.title.device.main|/device/list"/>
      <add-attribute expression="${device.deviceId}"/>
      <add-attribute value="device.command.pushSchedule"/>
</put-list-attribute>
{code}



  was:
Attributes in list using expression are not interpreted and always return 
empty. The same expression works fine on the parent level using normal 
attribute.

Working:
{code}
    <put-attribute name="deviceId" expression="${device.deviceId}"/>

{code}

Not working:
{code}
<put-list-attribute cascade="true" name="breadcrumbs">
      <add-attribute value="page.title.device.main|/device/list"/>
      <add-attribute expression="${device.deviceId}"/>
      <add-attribute value="device.command.pushSchedule"/>
    </put-list-attribute>
{code}




> EL expressions not working for list attributes
> ----------------------------------------------
>
>                 Key: TILES-584
>                 URL: https://issues.apache.org/jira/browse/TILES-584
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core, tiles-el
>    Affects Versions: 3.0.5
>            Reporter: Kevin Isabelle
>
> Attributes in list using expression are not interpreted and always return 
> empty. The same expression works fine on the parent level using normal 
> attribute.
> Working:
> {code}
> <put-attribute name="deviceId" expression="${device.deviceId}"/>
> {code}
> Not working:
> {code}
> <put-list-attribute cascade="true" name="breadcrumbs">
>       <add-attribute value="page.title.device.main|/device/list"/>
>       <add-attribute expression="${device.deviceId}"/>
>       <add-attribute value="device.command.pushSchedule"/>
> </put-list-attribute>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to