1 Reply Latest reply: Sep 6, 2009 11:37 PM by mariakaval RSS

    OHW in ADF ( Exception - 'helpProvider' returned null )

    Tilak Narendra
      Hi,

      I am new to OHW, tried using it in ADF and got stuck with below exception.
      Kindly suggest to resolve.

      i added following to adf-config.xml ( adf/META-INF/adf-config.xml )

      <help-provider>
      <help-provider-class>
      oracle.help.web.rich.helpProvider.OHWHelpProvider
      </help-provider-class>
      <property>
           <property-name>ohwConfigFileURL</property-name>
           <value>/helpsets/ohwconfig.xml</value>
      </property>
      <!--property>
           <property-name>group</property-name>
           <value>null</value>
      </property-->
      <property>
           <property-name>baseURI</property-name>
           <value>http://localhost:8888/ohwdemo/help/</value>
      </property>
      </help-provider>

      copied helpsets folder to .war
      and added <af:panelLabelAndMessage helpTopicId="concise" label="Test"> to JSF page.
      -----

      2008-06-06 16:15:05.735 No help provider found for helpTopicId=concise.
      2008-06-06 16:15:05.735 No help provider found for helpTopicId=concise.
      2008-06-06 16:15:05.782 irm_rights: Servlet errorjavax.el.PropertyNotFoundException: Target Unreachable, 'helpProvider' returned null
      at com.sun.el.parser.AstValue.getTarget(AstValue.java:87)
      at com.sun.el.parser.AstValue.getType(AstValue.java:55)
      at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:180)
      at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getDefaultConverter(ValueRenderer.java:172)
      at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.addClientConverterRenderScript(ValueRenderer.java:216)
      at oracle.adfinternal.view.faces.renderkit.rich.OutputLabelRenderer.encodeAll(OutputLabelRenderer.java:207)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:969)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:223)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:750)

      ............