1 Reply Latest reply on Apr 30, 2010 7:24 AM by Ilya Shaikovsky

    aj4:include via code

    Sascha Janz Master


      my pages are dynamically created by java code


      now i want to implement a4j:include.


      my function for that is




      public Include createA4JInclude(HashMap<String, String> map) {

      Include include =

      new Include();

      String id =



      if (map.get("ID") == null || map.get("ID").length() == 0)

      id = getID(



      else {


      log.debug("set id " + map.get("ID"));

      id = map.get(








      log.debug("createA4JInclude value=" + map.get("Value"));



      return include;






      but whatever i include nothing happens


      a test via xhtml works fine.



      any idea what might be wrong?