1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
   | <?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:composite="http://java.sun.com/jsf/composite"
                xmlns:svg="http://java.sun.com/jsf/composite/svg"
                xmlns:c="http://java.sun.com/jsp/jstl/core">
 
    <composite:interface>
        <composite:attribute name="index" required="true" />
    </composite:interface>
 
    <composite:implementation>
        <p:dialog id="reportFrameDialog" appendToBody="true" header="#{bundle.Header_ReportFrame} #{frameController.framesToReport.get(cc.attrs.index).name}" widgetVar="reportFrameDialog#{cc.attrs.index}" width="600" height="450" maximizable="true" minimizable="true" dynamic="true" showEffect="fade" hideEffect="fade"> 
 
            <h1><h:outputText value="#{frameController.framesToReport.get(cc.attrs.index).name}" /> </h1>
            <br/>
            <h2><h:outputText value="#{bundle.ViewFrameTitle_definition}"/></h2>
            <h:outputLabel value="#{frameController.framesToReport.get(cc.attrs.index).definition}" />           
            <br/>
            <h2><h:outputText value="#{bundle.ViewFrameTitle_semanticType}"/></h2>
            <c:forEach items="#{frameController.framesToReport.get(cc.attrs.index).semanticTypeList}" var="st">
                <h:outputText value="#{st.name}, " />
            </c:forEach>
            <h2><h:outputText value="#{bundle.ViewFrameTitle_frameElement}"/></h2>
 
            <b><h:outputText value="#{bundle.ViewFrameTitle_core}"/></b>
            <c:forEach items="#{frameController.framesToReport.get(cc.attrs.index).frameElementList}" var="fe">
                <h:panelGrid columns="2">
                    <c:if test="#{fe.type.equals('Core')}" >
                            <h:outputText value="#{fe.name}"/>
                            <h:outputText value="#{fe.definition}" />
                    </c:if>
                </h:panelGrid>
            </c:forEach>   
            <b><h:outputText value="#{bundle.ViewFrameTitle_coreunexpressed}"/></b>
            <c:forEach items="#{frameController.framesToReport.get(cc.attrs.index).frameElementList}" var="fe">
                <h:panelGrid columns="2">
                    <c:if test="#{fe.type.equals('Core-Unexpressed')}" >
                            <h:outputText value="#{fe.name}"/>
                            <h:outputText value="#{fe.definition}" />
                    </c:if>
                </h:panelGrid>
            </c:forEach>
            <b><h:outputText value="#{bundle.ViewFrameTitle_peripheral}"/></b>
            <c:forEach items="#{frameController.framesToReport.get(cc.attrs.index).frameElementList}" var="fe">
                <h:panelGrid columns="2">
                    <c:if test="#{fe.type.equals('Peripheral')}" >
                            <h:outputText value="#{fe.name}"/>
                            <h:outputText value="#{fe.definition}" />
                    </c:if>
                </h:panelGrid>
            </c:forEach>
            <b><h:outputText value="#{bundle.ViewFrameTitle_extrathematic}"/></b>
            <c:forEach items="#{frameController.framesToReport.get(cc.attrs.index).frameElementList}" var="fe">
                <h:panelGrid columns="2">
                    <c:if test="#{fe.type.equals('Extra-Thematic')}" >
                            <h:outputText value="#{fe.name}"/>
                            <h:outputText value="#{fe.definition}" />
                    </c:if>
                </h:panelGrid>
            </c:forEach>
            <h2><h:outputText value="#{bundle.ViewFrameTitle_lu}"/></h2>
            <c:forEach items="#{frameController.framesToReport.get(cc.attrs.index).lexUnitList}" var="lu">
                <h:outputText value="#{lu.name}, "/>
            </c:forEach>
            <br/>      
            <h:outputText value="Created by #{frameController.framesToReport.get(cc.attrs.index).createdBy}, on #{frameController.framesToReport.get(cc.attrs.index).createdDate}" />
 
        </p:dialog>
    </composite:implementation>
 
</ui:composition> | 
Partager