5 Replies Latest reply on Jan 8, 2013 9:53 AM by Frank Nimphius-Oracle

    Using Trinidad component for PPR and calling Javascript

      Hi ,

      I am facing an issue when I am using trinidad component for PPR and calling javascript method using extended render tool kit in Manged bean method.

      This Javascript is included at page style level . If I use ADF component then it works properly. Below is the code used . Please help me on the same

      <p class="editLink">
      <tr:commandLink text="Edit"

      Inside editUserName method we are calling generateOmnitureTagforPPR () as below , from this method we are calling javascript using ExtendedRenderKitService

      public final void generateOmnitureTagForPPR(final String journeyId, final String dynamicParams) {
      FacesContext facesContext = FacesContext.getCurrentInstance();
      ExtendedRenderKitService extendRenderKitService = Service.
      getRenderKitService(facesContext, ExtendedRenderKitService.class);
      try {
      String methodCall = "afterPPRProcessing('" + journeyId + "',new Array(" + dynamicParams + "))";
      extendRenderKitService.addScript(facesContext, methodCall);
      } catch (Exception ex) {