Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Attribute onchange invalid for tag commandLink according to TLD  RSS feed

 
Richard Roszak
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Babu Subburathinam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tag library documentation does not list onchange as a attribute of h:commandLink.

Which documentation are you referring to?
 
Richard Roszak
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was using
http://www.horstmann.com/corejsf/jsf-tags.html#Table4_15
.

Thansk for the information
 
Tim Holloway
Bartender
Posts: 18713
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Think about it. "onchange" is an event that fires when the contents of an input control change. commandLink is an output control!
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!