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 77 78 79 80 81
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
>
<h:head>
<title>
<ui:insert name="title">#{msg['default.title']}</ui:insert>
</title>
<link href="#{resource['css:main.css']}" rel="stylesheet" type="text/css"
media="screen"/>
<ui:insert name="script"></ui:insert>
<script type="text/javascript">
function loadScreen(){
<ui:insert name="loadScript"></ui:insert>
}
function resizeScreen(){
<ui:insert name="resizeScript"></ui:insert>
}
</script>
</h:head>
<h:body onload="loadScreen(); return false;" >
<f:view>
<h:form id="main" enctype="multipart/form-data">
<div id="container">
<div id="header">
<div class="left">
<img src="#{resource['img:logo.gif']}" alt="app Logo"/>
</div>
<div class="right">
<h:selectOneMenu value="#{c.localeString}">
<f:selectItems value="#{localeSelector.supportedLocales}"/>
<!--a4j:support event="onchange" action="#{localeSelector.select}" oncomplete="location.href='#{facesContext.externalContext.request.scheme}://#{facesContext.externalContext.request.serverName}:#{facesContext.externalContext.request.serverPort}#{facesContext.externalContext.request.requestURI}?conversationId=#{conversation.id}'; return false;" ajaxSingle="true"/-->
</h:selectOneMenu><br/>
<a4j:outputPanel ajaxRendered="true"
rendered="#{org.jboss.seam.core.eventContext.isSet('cin.mycarenet.authenticate.type')}">
<!--a href="whoAmI.seam?conversationId=#{conversation.id}">#{org.jboss.seam.security.identity.principal.nihii}</a-->
<h:outputLink id="logout" >
<f:param name="return" value="https://#{facesContext.externalContext.request.serverName}#{facesContext.externalContext.request.requestURI}" />
<h:outputText value="(#{msg['user.switch']})" />
</h:outputLink>
</a4j:outputPanel>
</div>
</div>
<div id="middlesection">
<div id="menu_frame">
<a4j:outputPanel ajaxRendered="true" layout="block" id="menu">
<rich:dropDownMenu label="#{msg['menu.home']}" direction="bottomRight" jointPoint = "topRight" style="border:1px solid #{a4jSkin.panelBorderColor}">
<rich:menuItem label="#{msg['menu.home.welcome']}"/>
<rich:menuSeparator id="menuSeparator1" />
</rich:dropDownMenu>
<rich:dropDownMenu label="#{msg['menu.invoicing']}" direction="bottomRight" jointPoint = "topRight" styleClass="menu">
<rich:menuGroup>
<rich:menuItem label="#{msg['menu.invoicing.mailBox']}" />
<rich:menuItem label="#{msg['menu.invoicing.logout']}"/>
</rich:menuGroup>
</rich:dropDownMenu>
</a4j:outputPanel>
</div>
<div id="content_frame">
<div id="content">
<a4j:region>
<ui:insert name="body">#{msg['default.content']}</ui:insert>
</a4j:region>
</div>
</div>
</div>
</div>
</h:form>
</f:view>
</h:body>
</html> |
Partager