p:accordionPanel display scrollbar on IE7

UI Components for JSF
Post Reply
timotius_pamungkas
Posts: 117
Joined: 19 May 2010, 03:50

03 Jul 2010, 10:27

On PF 2.1RC1, tomcat 6.0.26, Mojarra2, run on IE7 browser this code creates panel with vertical scrolbar

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
<ui:composition>
	<h:head>
		<link rel="stylesheet" type="text/css"
			href="#{facesContext.externalContext.requestContextPath}/resources/css/themes/bluesky/skin.css" />
	</h:head>
	<p:accordionPanel>
		<p:tab title="b234234b345" style="width: auto;">
			<table border="0" cellpadding="0" cellspacing="1">
				<tbody>
					<tr>
						<td>Item 1</td>
					</tr>
					<tr>
						<td>Item 2</td>
					</tr>
					<tr>
						<td>Item 3</td>
					</tr>
					<tr>
						<td>Item 4</td>
					</tr>
				</tbody>
			</table>
		</p:tab>
		<p:tab title="saret346456" style="width: auto;">
			<table border="0" cellpadding="0" cellspacing="1">
				<tbody>
					<tr>
                        <td>Item 1</td>
                    </tr>
                    <tr>
                        <td>Item 2</td>
                    </tr>
                    <tr>
                        <td>Item 3</td>
                    </tr>
                    <tr>
                        <td>Item 4</td>
                    </tr>
				</tbody>
			</table>
		</p:tab>
	</p:accordionPanel>
</ui:composition>
</html>
while on mozilla 3.5, accordionpanel display no vertical scrol bar (expected result)
I've tried to copy-paste code from showcase, and same thing happens

which one is the correct behaviour? I'm not test it in opera/chrome, etc, but does the result unpredictable?
Tomcat 7.0.25
Mojarra 2.1.6
Primefaces 3.1, 3.2
Firefox 10 and IE 7/IE 8

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

03 Jul 2010, 14:45

I've seen that as well, we'll work on this until the release.

timotius_pamungkas
Posts: 117
Joined: 19 May 2010, 03:50

23 Jul 2010, 12:14

fyi, this issue still open on 2.1 RC

thx
Tomcat 7.0.25
Mojarra 2.1.6
Primefaces 3.1, 3.2
Firefox 10 and IE 7/IE 8

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 Jul 2010, 13:18

Try setting autoHeight option to false.

timotius_pamungkas
Posts: 117
Joined: 19 May 2010, 03:50

26 Jul 2010, 07:50

yup, it works now. thanks
Tomcat 7.0.25
Mojarra 2.1.6
Primefaces 3.1, 3.2
Firefox 10 and IE 7/IE 8

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 55 guests