A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
JSF
Author
Attribute onchange invalid for tag commandLink according to TLD
Richard Roszak
Greenhorn
Joined: Jan 06, 2009
Posts: 27
posted
Sep 03, 2009 12:28:47
0
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
posted
Sep 03, 2009 15:19:43
0
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
posted
Sep 04, 2009 05:36:23
0
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
I like...
posted
Sep 04, 2009 06:10:35
0
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter