我可以生成pdf格式的碧玉报告。
<p:dialog id="courseListDia" header="Student Profile" widgetVar="courseEdit" resizable="true"
showEffect="fade" hideEffect="fade" appendTo="@(body)">
<h:form id="courseForm">
<h:panelGrid columns="2" id="profile">
<p:graphicImage id="photo1" alt="No Image" value="/images/#{studentDetailsBeans.clickedStudent.imageUrl}" width="100px" />
<h:panelGrid columns="2" id="Details">
<p:outputLabel value="Student Name"/>
<p:outputLabel value="#{studentDetailsBeans.clickedStudent.studentFirstName} #{studentDetailsBeans.clickedStudent.studentLastName}" />
<p:outputLabel value="Date of Birth"/>
<h:outputText value="#{studentDetailsBeans.clickedStudent.studentDob}">
<f:convertDateTime pattern="dd.MM.yyyy"/>
</h:outputText>
<p:outputLabel value="Age: #{studentDetailsBeans.age}"/>
<p:outputLabel value=""/>
<p:outputLabel value="Emergency Number: "/>
<p:outputLabel value=" #{studentDetailsBeans.clickedStudent.studentEmno}"/>
</h:panelGrid>
</h:panelGrid>
<h:panelGrid columns="2" id="cyclegroup">
<p:outputLabel for="cycle" value="Cycle:" />
<p:selectOneRadio id="cycle" value="#{studentDetailsBeans.selectedCycle}" converter="cycconv" >
<f:selectItems value="#{studentDetailsBeans.cycleListForStudent}" var="cyc" itemLabel="#{cyc.cycleNo}" itemValue="#{cyc}"/>
<p:ajax listener="#{studentDetailsBeans.changeCycle}" update="timinggroup" process="cycle" />
</p:selectOneRadio>
</h:panelGrid>
<h:panelGrid …
Run Code Online (Sandbox Code Playgroud)