jsf 2 - JSF h:commandLink JavaScript error -
i using jsf 2.0 tag <h:commandlink> , i'm trying open window target _blank. in target trying populate document fetched server. while doing getting error in jsf.js (function name jsfcljs) @ f.submit().
declaration follows:
<h:commandlink id="viewdocument" value="#{template.orderbean.documentbean.documentname}" action="#{template.viewcustomdocument}" target="_blank" styleclass="textbold"> <f:param name="documentid" value="#{template.orderbean.documentbean.documentid}"/> </h:commandlink> the error got
object doesn't support property.
if use <h:commandbutton> instead able call server , fetch document.
what can problem cause be?