TreeviewController


SUBMITTED BY: Guest

DATE: Jan. 22, 2014, 12:21 p.m.

FORMAT: Text only

SIZE: 506 Bytes

HITS: 1096

  1. public class TreeViewController {
  2. public Boolean selectable {get; set;}
  3. public String selectNodeKeys {get; set;}
  4. {
  5. selectable = false;
  6. selectNodeKeys = 'No value selected';
  7. }
  8. public String JsonData {get; set;}
  9. public String roleOrUserId {get; set;}
  10. public String getJsonString()
  11. {
  12. if (JsonData == null){
  13. JsonData = RoleUtil.getTreeJSON(roleOrUserId);
  14. }
  15. return JsonData;
  16. }
  17. }

comments powered by Disqus