Examples of ProactiveHelp


Examples of org.apache.taglibs.rdc.sampleapps.musicstore.ProactiveHelp

      } else {
        menuLinks.generateCategoryLinks(genre, false);
      }
    } else {
      // Voice Channel
      ProactiveHelp ph = msBean.getProactiveHelp();

      if(ph == null) {
        ph = new ProactiveHelp();
        ResourceBundle rb = ResourceBundle.
          getBundle("org.apache.taglibs.rdc.sampleapps.musicstore.resources.MusicHints",
            Locale.US);
        ph.setHints(rb);
        ph.setThreshold(60);
        ph.setUsageWeighted(true);
        msBean.setProactiveHelp(ph);
      }
     
      if (ph.strike()) {
        request.setAttribute("proactiveHelp_hint", ph.nextHint());
      }
     
      //cleanup RDC history
      session.removeAttribute("dialogMap");
      //populate amazon menu template grammars
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.