[richfaces-issues] [JBoss JIRA] (RF-12080) rich:hotKey usage clears body onload attribute
Michael Heinen (JIRA)
jira-events at lists.jboss.org
Tue Apr 3 09:59:47 EDT 2012
[ https://issues.jboss.org/browse/RF-12080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681301#comment-12681301 ]
Michael Heinen commented on RF-12080:
-------------------------------------
I tested the manually added scripts:
a) document.title = 'xyz';
b) jQuery(document).ready(function($) {alert('1');});
Both work in combination with tomahawk onload attribute
However the richfaces hotkey does not work with it and also not with standard body tag.
Sample usage:
<rich:hotKey key="backspace" handler="return false;" disableInInput="true"/>
So it's independent of tomahawk.
>From my pov this should be at least documented in the tag description or user guide.
> rich:hotKey usage clears body onload attribute
> ----------------------------------------------
>
> Key: RF-12080
> URL: https://issues.jboss.org/browse/RF-12080
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.2.0.Final
> Environment: myfaces 2.1.6, tomahawk 1.1.11
> Reporter: Michael Heinen
> Assignee: Lukáš Fryč
> Priority: Minor
> Labels: myfaces, tomahawk, waiting_on_user
>
> I'm happy to see rich:hotKey in richfaces 4.2, I used it already with richfaces 3.3.3.
> One thing I noticed now is that the onload attribute of t:documentboy is cleared on clientside as soon as rich:hotKey is used on a page. Maybe caused by jquery usage?
> From my pov this should be either fixed or documented in the component guide as well as in the showcase sample.
> Workaround is obvious: Instead of onload use document.ready
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list