JavaCode tip & tricks (Bozza) |
|
|
Tag references
When you enter a [JSup tag|tag] name in a [JavaCode] body, unless you are using it as the target of an assignment or accessing a method (by following the tag name with a dot '.'), is will be replaced by the tag value.
If you want to pass a reference to the tag to a function/method or to a [TagRef] object, you can use the tag.ref() method, which return a [TagRef] object.
|