[richfaces-issues] [JBoss JIRA] Closed: (RF-4188) modalPanel: JS function doesn't update output text on rich:modalPanel under IE6, IE7.

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Tue Dec 30 05:53:54 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-4188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Vitenkov closed RF-4188.
--------------------------------



> modalPanel: JS function doesn't update output text on rich:modalPanel under IE6, IE7.
> -------------------------------------------------------------------------------------
>
>                 Key: RF-4188
>                 URL: https://jira.jboss.org/jira/browse/RF-4188
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: IE6, IE7(3.2.2.BETA4)
>            Reporter: Mikhail Vitenkov
>            Assignee: Mikhail Vitenkov
>
> Step 1. Create following function that output modalPanel's size in <script> section:
> <script type="text/javascript">
> function multiply(height,width){
> 	var tbody = document.getElementById('tbodyID');
> 	var trs     = tbody.getElementsByTagName('TR');
> 	var y = parseInt(height);
> 	var x = parseInt(width);	
> 	trs[1].innerHTML = 'modalPanel\'s size: ' + x + 'x' +y + ' px*px';
> 	return false;	
> }
> </script>
> Step 2. Inside modalPanle put following panelGrid:
> <h:panelGrid columns="2" id="findComponentID">
> 			<tbody id="tbodyID">
> 				<tr>
> 					<td><a4j:commandLink value="getSize" reRender="findID"
> 						onclick="javascript:multiply(#{rich:findComponent('modalPanelID').height},#{rich:findComponent('modalPanelID').width});"></a4j:commandLink>
> 					</td>
> 				</tr>
> 				<tr>
> 					<td><h:outputText /></td>
> 				</tr>
> 			</tbody>
> 		</h:panelGrid>
> Step 3. Navigate on the page, contained tested modalPanel.
> Step 4. Call modalPanel.
> Step 5. Click on "getSize" commandLink
> Actual behavior:
> Under FF,Opera & Safari following string appears: modalPanel's size: 300x300 px*px
> But under IE6 & IE7 following JS Error take place: "Unknown runtime error".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list