[JBoss JIRA] (RF-12130) missing javascript delimiter
by wojtek k (JIRA)
wojtek k created RF-12130:
-----------------------------
Summary: missing javascript delimiter
Key: RF-12130
URL: https://issues.jboss.org/browse/RF-12130
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 4.2.0.Final
Environment: all
Reporter: wojtek k
Fix For: 4.2.1.CR1
delimiter ";" is missing when JSObject (JSObject.java) is used to render js scripts.
For example with myfaces-2.1.6
<script type="text/javascript"><!--
new RichFaces.ui.Tooltip("j_id_5:j_id_8",{"ajax":{"incId":"1"} ,"target":"j_id_5:j_id_6","offset":[10,10] } )
//--></script></span></div></div>
<script><!--
(1==2)? 'a':'b';
//--></script>
When this sequence occurs in html markup everything is broken. javax.faces.ViewState cannot be updated (by js) after ajax response (by js) contains
--
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
12 years, 7 months
[JBoss JIRA] (RF-12121) treeToggleListener: attribute @for does not work
by Jiří Štefek (JIRA)
Jiří Štefek created RF-12121:
--------------------------------
Summary: treeToggleListener: attribute @for does not work
Key: RF-12121
URL: https://issues.jboss.org/browse/RF-12121
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tree
Affects Versions: 4.2.0.Final
Environment: RichFaces 4.2.1-SNAPSHOT
Metamer 4.2.1-SNAPSHOT
Mojarra 2.1.5-SNAPSHOT
JBoss AS 7.1.0.Final
OpenJDK Runtime Environment 1.6.0_24-b24 @ Linux
Firefox 11.0 @ Linux x86_64
Reporter: Jiří Štefek
Attribute @for of treeToggleListener does not work correctly. If the meaning of @for attribute is, that the component with it can be placed outside of a component[1] that it will work for and attribute @for holds its id[1].
--
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
12 years, 7 months
[JBoss JIRA] (RF-12080) rich:hotKey usage clears body onload attribute
by Michael Heinen (JIRA)
Michael Heinen created RF-12080:
-----------------------------------
Summary: 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
Priority: Minor
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
12 years, 7 months
[JBoss JIRA] (RF-12116) RF 4.2 : jquery not generated for function
by Adrien Adrien (JIRA)
Adrien Adrien created RF-12116:
----------------------------------
Summary: RF 4.2 : jquery not generated for function
Key: RF-12116
URL: https://issues.jboss.org/browse/RF-12116
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.0.Final
Environment: JBoss 7.1 /RF4.2
Reporter: Adrien Adrien
This code doesn t generate javascript expected
<rich:jQuery name="selectNewMsg" query="addClass('curmsg');" />
Code generated in html page
<script type="text/javascript">selectNewMsgee = RichFaces.jQuery.createFunction({"query":"addClass('curmsg');"} );</script>
Expected something like :
<script type="text/javascript">//<![CDATA[
function selectNewMsg(elm, param) {
var selector = "";
try {
selector = eval("");
} catch (e) {}
jQuery(elm || selector).parent().parent().addClass('curmsg');
}
//]]></script>
--
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
12 years, 7 months