java - Pass String with Xpand method call as parameter -
in xpand template, have call where, call should done method takes string , object.
i.e. ,
«setdata("string",object)-»
for above method, string value want pass simplified value of below string: ,«getaddress(object)»
, return dynamic value.
"/begin data xetk default_rasters «getaddress(object)» /end data"
if try in below way, compilation error.
«setdata("/begin data xetk default_rasters «getaddress(object)» /end data",object)-»
can me, how can pass string method?
thanks ,
regards, shwetha
ok , got answer above question.
in xpand , expressions not allowed pass parameter. done in xtend 2
Comments
Post a Comment