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>
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?