You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#set($FieldUtil = $loader.loadClass("com.example.codegenerator.telosys.util.FieldUtil"))
#set($myJavaList = $FieldUtil.getValuesByFieldName('Long'))
$myJavaList.class.name
$myJavaList
### Will throw no attribute '['
$myJavaList[0]
#set( $mylist = [1, 2, 3, "A", true, 65.78] )
$mylist.class.name
$mylist
### It is okay here
$mylist[0]
I find that even though they have same type(java.util.ArrayList), the myJavaList not work
Version use: telosys-cli-4.1.1-001
Expected behaviour
I expect they can both use the same operator which I can access the element using bracket notation here. Hope I specify the problem clearly
The text was updated successfully, but these errors were encountered:
Description:
I try to use custom function return arraylist and here is my function in java
And there is my velocity.vm
I find that even though they have same type(java.util.ArrayList), the myJavaList not work
Version use: telosys-cli-4.1.1-001
Expected behaviour
I expect they can both use the same operator which I can access the element using bracket notation here. Hope I specify the problem clearly
The text was updated successfully, but these errors were encountered: