Joshna,
Are you manipulating this attribute in JavaScript? If so, it doesn't need to
be specified in order to modify it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann - Author, JavaServer Faces in Action
<
http://www.virtua.com/>
http://www.virtua.com - JSF/Java EE consulting,
training, and mentoring
<
http://www.jsfcentral.com/>
http://www.JSFCentral.com - JavaServer Faces
FAQ, news, and info
From: Joshna.Kambalapalli_at_Sun.COM [mailto:Joshna.Kambalapalli_at_Sun.COM]
Sent: Thursday, February 21, 2008 12:09 PM
To: users_at_javaserverfaces.dev.java.net
Subject: Re: Is jsf 508 compliant
Hi
What you are saying is correct .HtmlCommandLink in JSF1.2 supports
onKeyPress But my issue is different
I have something like this in my code.
<h:commandLink action="back" >
<h:outputText value="#{msgs.goBack}" />
</h:commandLink>
This is rendered to
<a href="#" onclick="if(typeof jsfcljs ==
'function'){jsfcljs(document.forms['contentTypeCreationForm'],'contentTypeCr
eationForm:j_id_id310,contentTypeCreationForm:j_id_id310','');}return
false">Go Back</a>
which doesnt have onKeyPress .I wont be able to add onKeyPress attribute
explicitly because I wont be knowing the value of it while coding .
When a commandLink is rendered to Html it should have onKeyPress along with
onClick attribute .What can i do to have onKeyPress attribute when a
commandLink is rendered without explicity adding it.
Regards
K.Joshna
Kito D. Mann wrote:
Joshna,
I think you're missing something -- the HtmlCommandLink component in JSF 1.2
does support the onkeypress attribute.
In broader terms, though, whether the components are 508 compliant depends
on the components themselves. If the standard HTML attributes aren't enough,
you may want to pick a component suite that specifically says it's section
508 compliant.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann - Author, JavaServer Faces in Action
http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
-----Original Message-----
From: Joshna.Kambalapalli_at_Sun.COM [mailto:Joshna.Kambalapalli_at_Sun.COM]
Sent: Thursday, February 21, 2008 10:13 AM
To: users_at_javaserverfaces.dev.java.net
Subject: Is jsf 508 compliant
Hi
I am using JSF 1.2 for building portlets in my cms project.
when a <h:commandLink > is redered it will be some thing like <a href=
# onclick=
But it doesn't have onKeyPress which is necessary for a product to be
508 compliant.
Is JSF fully compliant .If not can you point me to documentation where
it specifies that.
It would be helpful if some body can answer asap
Regards
K.Joshna
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
For additional commands, e-mail: users-
help_at_javaserverfaces.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
For additional commands, e-mail: users-help_at_javaserverfaces.dev.java.net