<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:jsf="http://xmlns.jcp.org/jsf"
xmlns:c="http://xmlns.jcp.org/jsf/core"
xmlns:f="http://java.sun.com/jsp/jstl/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:pe="http://primefaces.org/ui/extensions"
xmlns:gestenis="http://gestenis.com/jsf/facelets">
<c:view>
<body jsf:id="staffBody">
<a4j:form id="pfform" >
<h:panelGrid>
<rich:tabPanel switchType="ajax">
<rich:tab label="First">
Here is tab #1
</rich:tab>
<rich:tab label="Second">
Here is tab #2
</rich:tab>
<rich:tab label="Third">
Here is tab #3
</rich:tab>
</rich:tabPanel>
....
結果是:富人:一個tabpanel不渲染
這裏是標籤#這裏是標籤#這裏是標籤#3
所有在一條線,所以不使其正確
任何想法?
謝謝
所以你正在做一切就像在他們的現場演示,你會得到不同的結果? http://livedemo.exadel.com/richfaces-demo/richfaces/tabPanel.jsf – cristianhh
我現在有同樣的問題! –