aspose file tools
The moose likes JSF and the fly likes Attribute onchange invalid for tag commandLink according to TLD Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Attribute onchange invalid for tag commandLink according to TLD" Watch "Attribute onchange invalid for tag commandLink according to TLD" New topic
Author

Attribute onchange invalid for tag commandLink according to TLD

Richard Roszak
Greenhorn

Joined: Jan 06, 2009
Posts: 27
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

Joined: Sep 03, 2009
Posts: 7
The tag library documentation does not list onchange as a attribute of h:commandLink.

Which documentation are you referring to?
Richard Roszak
Greenhorn

Joined: Jan 06, 2009
Posts: 27
I was using
http://www.horstmann.com/corejsf/jsf-tags.html#Table4_15
.

Thansk for the information
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14491
    
    7

Think about it. "onchange" is an event that fires when the contents of an input control change. commandLink is an output control!


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Attribute onchange invalid for tag commandLink according to TLD
 
Similar Threads
Onchange Attribute in TLD
Attribute onchange
can we give id to path variable ?
jsp error
confirm of h:commandLink