<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
<html>
<body>
<h:form>
<rich:page contentType="text/html" >   
<f:facet name="header">
        <h:panelGroup>
           <!--   <table width="100%"><img></img><tbody><tr>
                <td></td>
                
            </tr></tbody></table>-->
        </h:panelGroup>
    </f:facet>   
     <h:graphicImage value="./images/pic1.jpg" style="width : 900px; height : 191px;"/>
     <hr/>
     <hr/>
    <rich:tabPanel  width = "900" height = "600" switchType="client">
     <rich:tab  label="Acceuil">
       <h:graphicImage value="./images/pic1.jpg" />
     <h:form>           
    <rich:panel style="padding:0"  headerClass="outpanelHeader">
        <f:facet name="header">
            <rich:spacer height="4" />
        </f:facet>
        <h2 align="center"></h2>
        <h:panelGrid columns="4"  columnClasses="gridContent" >
            <rich:panel bodyClass="inpanelBody">
                <f:facet name="header">
                    Action
                </f:facet>
                    <rich:menuItem submitMode="none"
                    onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/'">
                    <h:outputLink value="http://labs.jboss.com/jbossrichfaces/">
                        <h:outputText value="Actions à réaliser"></h:outputText>
                    </h:outputLink>
                </rich:menuItem>
                <rich:menuItem submitMode="none"
                    onclick="document.location.href='http://jboss.com/index.html?module=bb&op=viewforum&f=261'">
                    <h:outputLink
                        value="http://jboss.com/index.html?module=bb&op=viewforum&f=261">
                        <h:outputText value="Demandes d'action à valider"></h:outputText>
                    </h:outputLink>
                </rich:menuItem>
            </rich:panel>
            <rich:panel  bodyClass="inpanelBody">
                <f:facet name="header" >
                    Formation
                </f:facet>
                        <rich:menuItem submitMode="none"
                    onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/'">
                    <h:outputLink value="http://labs.jboss.com/jbossrichfaces/">
                        <h:outputText value="Formations à suivre"></h:outputText>
                    </h:outputLink>
                </rich:menuItem>
                <rich:menuItem submitMode="none"
                    onclick="document.location.href='http://jboss.com/index.html?module=bb&op=viewforum&f=261'">
                    <h:outputLink
                        value="http://jboss.com/index.html?module=bb&op=viewforum&f=261">
                        <h:outputText value="Demandes de formation à valider"></h:outputText>
                    </h:outputLink>
                </rich:menuItem>
            </rich:panel>
                        <rich:panel  bodyClass="inpanelBody">
                <f:facet name="header" >
                    Document
                </f:facet>
                        <rich:menuItem submitMode="none"
                    onclick="document.location.href='/images/jsf.pdf'">
                    <h:outputLink value="http://labs.jboss.com/jbossrichfaces/">
                        <h:outputText value="Formations à suivre"></h:outputText>
                    </h:outputLink>
                </rich:menuItem>
                <rich:menuItem submitMode="none">
                    <rich:modalPanel id="panel" width="350" height="350">
       
        <f:facet name="controls">
            <h:panelGroup>
                <h:graphicImage value="./images/pic1.jpg" styleClass="hidelink" id="hidelink"/>
                <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
            </h:panelGroup>
        </f:facet>
        <h:outputText value="This panel is called using Component Control Component"></h:outputText>
        <br/>
        <h:outputText value="Closure link (X) works also through Component Control"></h:outputText>
    </rich:modalPanel>
    <h:outputLink value="#" id="link">
        document à rédiger
        <rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
    </h:outputLink>
                   
                </rich:menuItem>
            </rich:panel>
                        <rich:panel  bodyClass="inpanelBody">
                <f:facet name="header" >
                   Audit
                </f:facet>
                        <rich:menuItem submitMode="none"
                    onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/'">
                    <h:outputLink value="http://labs.jboss.com/jbossrichfaces/">
                        <h:outputText value="Audit à réaliser"></h:outputText>
                    </h:outputLink>
                </rich:menuItem>
                <rich:menuItem submitMode="none"
                    >
                    
                </rich:menuItem>
            </rich:panel>
           
        </h:panelGrid>
        </rich:panel>
    
</h:form>
     </rich:tab>
      <rich:tab label="Ressources Humaines">
    <h:graphicImage value="./images/pic1.jpg" /> 
    <br/>
    <hr/>
    <hr/>
    <rich:panelMenu style="width:400px"  mode="ajax"
        iconExpandedGroup="disc" iconCollapsedGroup="disc" 
        iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right" 
        iconCollapsedTopGroup="chevronDown">
     <rich:panelMenuGroup label="Fiche Employé">
            <rich:panelMenuItem label="Ajouter employé" action="#{panelMenu.updateCurrent}">
                <f:param name="current" value="Ajout"/>
            </rich:panelMenuItem>
            <rich:panelMenuItem label="Modifier fiche employé" action="#{panelMenu.updateCurrent}">
                <f:param name="current" value="Modif"/>
            </rich:panelMenuItem>
            <rich:panelMenuItem label="Consultation fiche employé" action="#{panelMenu.updateCurrent}">
                <f:param name="current" value="Consult"/>
            </rich:panelMenuItem>
        </rich:panelMenuGroup>
         <rich:panelMenuGroup label="Fiche Employé">
            <rich:panelMenuItem label="Ajouter employé" action="#{panelMenu.updateCurrent}">
                <f:param name="current" value="Ajout"/>
            </rich:panelMenuItem>
            <rich:panelMenuItem label="Modifier fiche employé" action="#{panelMenu.updateCurrent}">
                <f:param name="current" value="Modif"/>
            </rich:panelMenuItem>
            <rich:panelMenuItem label="Consultation fiche employé" action="#{panelMenu.updateCurrent}">
                <f:param name="current" value="Consult"/>
            </rich:panelMenuItem>
        </rich:panelMenuGroup>
        <rich:panelMenuGroup label="Fonctions">
            <rich:panelMenuItem label="Item 2.1" action="#{panelMenu.updateCurrent}">
                <f:param name="current" value="Item 2.1"/>
            </rich:panelMenuItem>
            </rich:panelMenuGroup>
            </rich:panelMenu>
      <hr/>
      <hr/>
    </rich:tab>
    </rich:tabPanel>
    </rich:page>
  <rich:page contentType="text/html" >   
    <rich:tabPanel width = "900" height = "600" switchType="client">
     <rich:tab  label="ajout_cours">
       <h:graphicImage value="./images/pic1.jpg" />
     <h:form>           
    <rich:panel style="padding:0"  headerClass="outpanelHeader">
    <center> <h1>TD</h1></center>
    <img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{cours.id_cours}" style=" width : 170;"/><BR><BR>
<img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{cours.nom_cours}" style=" width : 170;"/><BR><BR>
<h:commandButton  value="Sign Me Up!"
action="#{cours.insert}"/>
    </rich:panel>     
</h:form>
     </rich:tab>
    </rich:tabPanel>
    
    <rich:tabPanel width = "900" height = "600" switchType="client">
      <rich:tab label="ajout_lecon">
    <h:graphicImage value="./images/pic1.jpg" /> 
    <br/>
    <hr/>
    <hr/>
        <h:form>  
       <img src="./images/log.gif" border="0"  hspace="22">
    <rich:comboBox suggestionValues="#{lec.lis}"
        directInputSuggestions="true" defaultLabel="suggestion"  value="#{lec.id_cours}" width="140"/><BR><BR>
 
 <!--   <img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{lec.id_cours}" style=" width : 170;"/><BR><BR> --> 
    <img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{lec.num_lec}" style=" width : 170;"/><BR><BR>
<img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{lec.nom_lec}" style=" width : 170;"/><BR><BR>
    <h:commandButton  value="Sign Me Up!"
action="#{lec.insert}"/>  
     </h:form>  
           
      <hr/>
      <hr/>
    </rich:tab>
    </rich:tabPanel>
    
    <rich:tabPanel width = "900" height = "600" switchType="client">
     <rich:tab  label="ajout_tp">
       <h:graphicImage value="./images/pic1.jpg" />
     <h:form>           
    <rich:panel style="padding:0"  headerClass="outpanelHeader">
    <center> <h1>TD</h1></center>
    <img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{tp.id_tp}" style=" width : 170;"/><BR><BR>
<img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{tp.intitulé_tp}" style=" width : 170;"/><BR><BR>
<h:commandButton  value="Sign Me Up!"
action="#{tp.insert}"/>
    </rich:panel>     
</h:form>
     </rich:tab>
    </rich:tabPanel>
    
    <rich:tabPanel width = "900" height = "600" switchType="client">
    <rich:tab  label="ajout_td">
       <h:graphicImage value="./images/pic1.jpg" />
     <h:form>           
    <rich:panel style="padding:0"  headerClass="outpanelHeader">
    <center> <h1>TD</h1></center>
    <img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{td.id_td}" style=" width : 170;"/><BR><BR>
<img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{td.theme_td}" style=" width : 170;"/><BR><BR>
<h:commandButton  value="Sign Me Up!"
action="#{td.insert}"/>
    </rich:panel>     
</h:form>
     </rich:tab>
    </rich:tabPanel>
    
    <rich:tabPanel width = "900" height = "600" switchType="client">
    <rich:tab  label="ajout_eval">
       <h:graphicImage value="./images/pic1.jpg" />
     <h:form>           
    <rich:panel style="padding:0"  headerClass="outpanelHeader">
    <center> <h1>TD</h1></center>
    <img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{eval.nom_ress}" style=" width : 170;"/><BR><BR>
    <img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{eval.num_eval}" style=" width : 170;"/><BR><BR>
<img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{eval.duree_eval}" style=" width : 170;"/><BR><BR>
<h:commandButton  value="Sign Me Up!"
action="#{eval.insert}"/>
    </rich:panel>     
</h:form>
     </rich:tab>
    </rich:tabPanel>
    <rich:tabPanel width = "900" height = "600" switchType="client">
    <rich:tab  label="ajout_quest_eval">
       <h:graphicImage value="./images/pic1.jpg" />
     <h:form>           
    <rich:panel style="padding:0"  headerClass="outpanelHeader">
    <center> <h1>TD</h1></center>
      <img src="./images/log.gif" border="0"  hspace="22">
    <rich:comboBox suggestionValues="#{quest.lis}"
        directInputSuggestions="true" defaultLabel="suggestion"  value="#{quest.id_eval}" width="140"/><BR><BR>
 
 <!--   <img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{lec.id_cours}" style=" width : 170;"/><BR><BR> --> 
    <img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{quest.num_quest}" style=" width : 170;"/><BR><BR>
<img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{quest.nature_quest}" style=" width : 170;"/><BR><BR>
<h:commandButton  value="Sign Me Up!"
action="#{quest.insert}"/>
    </rich:panel>     
</h:form>
     </rich:tab>
    </rich:tabPanel>
    
    <rich:tabPanel width = "900" height = "600" switchType="client">
    <rich:tab  label="ajout_service">
       <h:graphicImage value="./images/pic1.jpg" />
     <h:form>           
    <rich:panel style="padding:0"  headerClass="outpanelHeader">
    <center> <h1>TD</h1></center>
    <img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{serv.num_sce}" style=" width : 170;"/><BR><BR>
<img src="./images/log.gif" border="0"  hspace="22">
<h:inputText value="#{serv.nom_sce}" style=" width : 170;"/><BR><BR>
<h:commandButton  value="Sign Me Up!"
action="#{serv.insert}"/>
    </rich:panel>     
</h:form>
     </rich:tab>
    
    </rich:tabPanel>
</rich:page>
</h:form>
</body></html></f:view>
			
		
 
	
Partager