Hi All,
Portlet Java script is not working Portal application .
We have migrated webcenter portlet from 10g to 11 g , then created wencenter portal framework application to consume portlet by registering portlet wsdl with portal application .
Code :
<h:commandButton value="#{itmMsg.search}" type="button"
onclick="document.getElementById('itemInfo:wildcardSearchForm:goButton').click();"
disabled="#{ItemLookupPortletBean.dummyStoreSelected}"/>
<h:commandButton id="goButton" value="#{itmMsg.search}"
onclick="return noSearchString(\'#{itmMsg.Nosearchstring}\');"
action="#{ItemLookupPortletBean.wildcardSearchAction}"
type="submit"
styleClass="hidden"/>
When we click on search/Go button nothing happen just like refresh page.
On browser debugger show error as follow
document.getElementById(...) is null
Also if we put simple function sayHello() on onClick and defined in js file with alert message that also not working.
Jdeveloper version: 11.1.1.7.0
Webcenter portal : 11.1.1.8.0
Please help me to resolve this issue due to this we stuck in SIT phase.
Thank you in advance.
Thanks,
Jaysing