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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -