[
https://issues.jboss.org/browse/RF-12038?page=com.atlassian.jira.plugin.s...
]
Jean ANDRE commented on RF-12038:
---------------------------------
And the line 89 is the function close on a second <img src="">. It seems
there is another clash even if this time, there is no id given to the tag...
{code}
<!-- -->
<!-- TABS WorkItems + Search + Clients (optional) -->
<!-- --><div
id="tabbedForm:desktopTabPanel" class="rf-tbp"><input
id="tabbedForm:desktopTabPanel-value"
name="tabbedForm:desktopTabPanel-value" type="hidden"
value="TAB_CLIENT-1-1" /><script type="text/javascript">new
RichFaces.ui.TabPanel("tabbedForm:desktopTabPanel",{"ajax":{"incId":"1"}
,"cycledSwitching":false,"isKeepHeight":false,"activeItem":"TAB_CLIENT\u002D1\u002D1"}
)</script><div class="rf-tab-hdr-tabline-vis
rf-tab-hdr-tabline-top"><table class="rf-tab-hdr-tabs"
cellspacing="0"><tbody><tr><td style="padding-left:
5px;" class="rf-tab-hdr-spcr"><br /></td><td
id="tabbedForm:tab-workitems:header:inactive" class="rf-tab-hdr
rf-tab-hdr-inact rf-tab-hdr-top tab-header" style=""><span
class="rf-tab-lbl">Work Items</span></td><td
id="tabbedForm:tab-workitems:header:active" class="rf-tab-hdr
rf-tab-hdr-act rf-tab-hdr-top tab-header" style="display :
none"><span class="rf-tab-lbl">Work
Items</span></td><td
id="tabbedForm:tab-workitems:header:disabled" class="rf-tab-hdr
rf-tab-hdr-dis rf-tab-hdr-top tab-header" style="display :
none"><span class="rf-tab-lbl">Work
Items</span></td><td style="" class="rf-tab-hdr-spcr
rf-tab-hortab-tabspcr-wdh"><br /></td><td
id="tabbedForm:tab-search:header:inactive" class="rf-tab-hdr
rf-tab-hdr-inact rf-tab-hdr-top tab-header" style=""><span
class="rf-tab-lbl">Search</span></td><td
id="tabbedForm:tab-search:header:active" class="rf-tab-hdr rf-tab-hdr-act
rf-tab-hdr-top tab-header" style="display : none"><span
class="rf-tab-lbl">Search</span></td><td
id="tabbedForm:tab-search:header:disabled" class="rf-tab-hdr rf-tab-hdr-dis
rf-tab-hdr-top tab-header" style="display : none"><span
class="rf-tab-lbl">Search</span></td><td style=""
class="rf-tab-hdr-spcr rf-tab-hortab-tabspcr-wdh"><br
/></td><td id="tabbedForm:TAB_CLIENT-1-1:header:inactive"
class="rf-tab-hdr rf-tab-hdr-inact rf-tab-hdr-top tab-header"
style="display : none"><span class="rf-tab-lbl">
<span title="Clients List (1)">Clients List (1)</span>
<img src="/CrmWeb/images/closeButton.png" alt=""
onclick="closeTab('TAB_CLIENT-1-1');event.stopPropagation();return
false;" class="closeButton" /></span></td><td
id="tabbedForm:TAB_CLIENT-1-1:header:active" class="rf-tab-hdr
rf-tab-hdr-act rf-tab-hdr-top tab-header" style=""><span
class="rf-tab-lbl">
<span title="Clients List (1)">Clients List (1)</span>
<img src="/CrmWeb/images/closeButton.png" alt=""
onclick="closeTab('TAB_CLIENT-1-1');event.stopPropagation();return
false;" class="closeButton" /></span></td><td
id="tabbedForm:TAB_CLIENT-1-1:header:disabled" class="rf-tab-hdr
rf-tab-hdr-dis rf-tab-hdr-top tab-header" style="display :
none"><span class="rf-tab-lbl">
<span title="Clients List (1)">Clients List (1)</span>
<img src="/CrmWeb/images/closeButton.png" alt=""
onclick="closeTab('TAB_CLIENT-1-1');event.stopPropagation();return
false;" class="closeButton" /></span></td><td
style="" class="rf-tab-hdr-spcr rf-tab-hortab-tabspcr-wdh"><br
/></td><td style="padding-right: 5px; width: 100%;"
class="rf-tab-hdr-spcr"><br
/></td></tr></tbody></table><div
class="rf-tab-hdr-scrl-lft rf-tab-hdn">«</div><div
class="rf-tab-hdr-tablst rf-tab-hdn">↓</div><div
class="rf-tab-hdr-scrl-rgh rf-tab-hdn">»</div></div><div
class="rf-tab-hdr-brd"></div><div
id="tabbedForm:tab-workitems"
style="display:none;"></div><div
id="tabbedForm:tab-search"
style="display:none;"></div><div
id="tabbedForm:TAB_CLIENT-1-1" class="rf-tab"><div
class="rf-tab-cnt" id="tabbedForm:TAB_CLIENT-1-1:content">
<!-- -->
<!-- DYNAMIC TABS -->
<!-- -->
{code}
IE8 - Object does not support this property or method -
a4j:jsFunction
----------------------------------------------------------------------
Key: RF-12038
URL:
https://issues.jboss.org/browse/RF-12038
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-a4j-core
Affects Versions: 4.2.0.Final
Environment: cssparser-0.9.6- guava-11.0.1 - hibernate-validator-4.2.0.Final -
JSF/Mojarra 2.1.6 - springframework-3.0.6.RELEASE - sac-1.3 - Windows 7 - IE
8.0.1.7601.17514
Reporter: Jean ANDRE
Assignee: Brian Leathem
Labels: waiting_on_user
Attachments: index.xhtml, NestedWeb.zip, NestedWeb_RF-12038.zip,
ScreenShot_RF-12038.png
Under IE8, IE reports the following error message due to a javascript error. However, the
page are well displayed and the application is running ok.
Object doesn't support this property or method line 177 caracter 1
Object doesn't support this property or method line 177 caracter 99
Under IE Debugger, the line is:
{code}
closeTab=function(tabId){RichFaces.ajax("closeTab",null,{"incId":"1","parameters":{"tabId":tabId}
} )};<
The caracter 99,
is..............................................................................| (here)
{code}
This is a code generated by a4j:jsFunction from the XHTML
{code}
<!-- -->
<!-- CLOSE TAB -->
<!-- -->
<a4j:jsFunction id="closeTab" name="closeTab"
action="#{desktopTabController.doCloseTab}"
render="menu-opened-tabs,desktopTabPanel">
<a4j:param name="tabId"
assignTo="#{desktopTabController.closeTabId}" />
</a4j:jsFunction>
{code}
The rendered code is :
{code}
<!-- -->
<!-- CLOSE TAB -->
<!-- --><span id="closeTab" style="display:
none;"><script
type="text/javascript">closeTab=function(tabId){RichFaces.ajax("closeTab",null,{"incId":"1","parameters":{"tabId":tabId}
} )};</script></span>
{code}
See also this link as we got almost a similar:
https://bugzilla.redhat.com/show_bug.cgi?id=601360.
--
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