Try to remove the "t:" prefix from your source and value attributes (leave
it in only for the type attribute).

On Fri, Nov 13, 2015 at 2:29 AM, Damon <milim...@gmail.com> wrote:

> Hello,
>
> Im trying to call a function from my html file.
>
> <div t:type="Loop" t:source="propertyImages" t:value="propertyImage"
> class="medium-7 medium-centered columns">
>     <img src="${getExternalImageLink(propertyImage.imgId)}" />
>     <br/>Prop Descr: ${propertyImage.description} <br/>
> </div>
>
> it calls::
>
> public Link getExternalImageLink(String imgId) {
>
>         return resources.createEventLink("externalImage", imgId);
>     }
>
> public ImageStreamResponse onExternalImage(final String imgid)
> {
>
> }
>
> when the function is called all i get is a null value passed into it.  How
> do i pass the variable to the function?  I have searched net / list and I’m
> unable to find a solution.
>
>
> Thanks!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to