On Fri, 13 Nov 2015 11:00:11 -0200, Bob Harner wrote:
Maybe something like this would work:
The inner ${} isn't needed (and I'm not even sure it would work).
getExternalImageLink(propertyImage.imgId) should work.
But the right answer is: don't. Instead, create a getter in your
compone
On Thu, 12 Nov 2015 22:29:45 -0200, Damon wrote:
Hello,
Hi!
Im trying to call a function from my html file.
class="medium-7 medium-centered columns">
Prop Descr: ${propertyImage.description}
it calls::
public Link getExternalImageLink(String imgId) {
return resources.
Maybe something like this would work:
But the right answer is: don't. Instead, create a getter in your component
class that returns the desired value:
...
public String getImageLink() {
return getExternalImageLink(propertyImage.getImgId());
}
Keep all complexity in Java, not your template
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 wrote:
> Hello,
>
> Im trying to call a function from my html file.
>
> class="medium-7 medium-centered columns">
>
> Prop Descr: ${prop