posted 15 years ago
I am using h:commandLink as follows:
<h:commandLink id="expire_date_button" title="Renew" target="RenewTN" rendered="#{!Auto.records.tn.readOnly && Auto.records.tn.canRenew}" onclick="ActionForm = 'form1:auto_refresh_tn'; popWindow('../pops/renew_tn.jsf', 'RenewTN','400','250','yes');return false;" onchange="setDirtyFlag(true);">
<h:graphicImage value="/i/btn_renew_tn.png" alt="Renew TN" styleClass="imgButton" width="68" height="15"/>
</h:commandLink>
When I look at acceptable attributes for h:commandLink onchange exists. Why would I be gettting the following at runtime: Attribute onchange invalid for tag commandLink according to TLD
Thanks