It should be possible to pass GStrings for attribute values.
The following content definition does not resolve:
accountLink { id -> $('a', href: "/account/$id/profile") }
but the following does:
accountLink { id -> $('a', href: "/account/$id/profile" as String) }
It took me an hour to find the problem, as I just did expect id had to work.
It should be possible to pass GStrings for attribute values.
The following content definition does not resolve:
but the following does:
It took me an hour to find the problem, as I just did expect id had to work.