[ 
https://issues.apache.org/struts/browse/TILES-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45843#action_45843
 ] 

Amin Mohammed-Coleman commented on TILES-391:
---------------------------------------------

Hi

Yeah sorry about the first mistake (user error!) and the second fix did the 
job.  Thanks, I'm glad it was something that it was something I was doing 
rather than an issue with the library.  


Cheers
Amin

> Put Attribute tag does not seem to work with Freemarker
> -------------------------------------------------------
>
>                 Key: TILES-391
>                 URL: https://issues.apache.org/struts/browse/TILES-391
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core, tiles-freemarker
>    Affects Versions: 2.1.2
>         Environment: Mac OS
> Eclipse 3.4
> Tomcat 6.0.16
>            Reporter: Amin Mohammed-Coleman
>         Attachments: tiles.zip, tiles.zip
>
>
> When using jsp freemarker support the put-attribute fails to put an object 
> into the page cope.  For example:
> tile A:
> <@tiles.insertDefinition name="put.attribute.tile">
>       <@tiles.putAttribute name=personalContact value=pcobj />
> </@tiles.insertDefinition>
> tile put.attribute.tile:
> <#assign tiles=JspTaglibs["http://tiles.apache.org/tags-tiles";] />
> <@tiles.importAttribute/>
> EMAIL : ${personalContact.email} <br/>
> FIRST NAME: ${personalContact.firstName} <br/>
> LAST NAME: ${personalContact.lastName} <br/>
> Produces a freemaker exception that the personContact is undefined.  
> Please refer to mailing list: 
> http://mail-archives.apache.org/mod_mbox/tiles-users/200904.mbox/%[email protected]%3e

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to