[richfaces-issues] [JBoss JIRA] Commented: (RF-3790) Wrong size of dropdown menu after rerendering in IE
Jiri Pejchal (JIRA)
jira-events at lists.jboss.org
Wed Jun 25 10:16:28 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-3790?page=comments#action_12418899 ]
Jiri Pejchal commented on RF-3790:
----------------------------------
Minimal code example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
<html>
<head>
< /head>
<body>
<h:form>
<rich:toolBar>
<rich:dropDownMenu id="dropMenuFile" value="File">
<rich:menuItem value="Open"></rich:menuItem>
</rich:dropDownMenu>
</rich:toolBar>
<h:selectBooleanCheckbox value="true">
<a4j:support event="onmousedown"
reRender="dropMenuFile">
</a4j:support>
</h:selectBooleanCheckbox>
</h:form>
</body>
</html>
</f:view>
> Wrong size of dropdown menu after rerendering in IE
> ---------------------------------------------------
>
> Key: RF-3790
> URL: http://jira.jboss.com/jira/browse/RF-3790
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.1
> Reporter: Jiri Pejchal
> Attachments: menu.zip
>
>
> After rerendering of a dropdown menu the menu has wrong size and I get the following error:
> debug[15:18:41,450]: Replace content of node by outerHTML()
> debug[15:18:41,466]: search for elements by name 'script' in element div
> debug[15:18:41,466]: Scripts in updated part count : 2
> debug[15:18:41,482]: Update part of page for Id: menuForm:dropMenuDocument successful
> debug[15:18:41,482]: Attempt to update part of page for Id: menuForm:dropMenuDocument_menu_script
> debug[15:18:41,482]: call selectSingleNode for id= menuForm:dropMenuDocument_menu_script
> debug[15:18:41,482]: Replace content of node by outerHTML()
> error[15:18:41,497]: Error to clear node content by innerHTML Neznámá chyba p?i b?hu programu
> debug[15:18:41,497]: search for elements by name 'script' in element script
> debug[15:18:41,497]: Scripts in updated part count : 0
> debug[15:18:41,497]: Update part of page for Id: menuForm:dropMenuDocument_menu_script successful
> debug[15:18:41,513]: Attempt to update part of page for Id: menuForm:submenuDocumentNew_menu_script
> debug[15:18:41,513]: call selectSingleNode for id= menuForm:submenuDocumentNew_menu_script
> debug[15:18:41,513]: Replace content of node by outerHTML()
> error[15:18:41,513]: Error to clear node content by innerHTML Neznámá chyba p?i b?hu programu
> debug[15:18:41,513]: search for elements by name 'script' in element script
> debug[15:18:41,528]: Scripts in updated part count : 0
> debug[15:18:41,528]: Update part of page for Id: menuForm:submenuDocumentNew_menu_script successful
> Menu code:
> HtmlDropDownMenu dropDownMenu = new HtmlDropDownMenu();
> dropDownMenu.setSubmitMode("ajax");
> dropDownMenu.setId("dropMenuFolder");
> appContext.registerComponentValueExpression(dropDownMenu, "value", "#{coreMessages.folder}");
> appContext.registerComponentValueExpression(dropDownMenu, "rendered", "#{viewModeBean.documents}");
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list