Hi,

How to get the value of a json object in tml file, following does not work:

in page class:

public JSONObject getJS() {
       JSONObject js = new JSONObject();
       js.put("name1","123");
       return js;
}


in the tmp, 

 ${js} // this shows key/value pair
 ${js.name1}  // does not show anything

-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-getting-json-value-in-tml-tp3370385p3370385.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to