Anda di halaman 1dari 5

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.

or
g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<!-- ************ RichFaces tag library declaration ***************** -->
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<f:view locale="#{userSetting.local }">
<head>
<!-- *************************************************************** -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Home</title>
<link href="masterCss.css" rel="stylesheet" type="text/css" />
<link href="css/skins/grey.css" rel="stylesheet" type="text/css" />
<link href="css/dcaccordion.css" rel="stylesheet" type="text/css" />

</head>
<body>
<div
style="width: 1050px; position: relative; margin-left: a
uto; margin-right: auto;">
<div class="mainBorder">
<div class="upperPart">
<div class="header">
<img src="images/banner.jpg" wid
th="1000" height="100" alt="" />
</div>
</div>
<h:form id="dataForm">
<div class="mainPart">
<div
style="width: 130px; min-height:
300px; float: right; direction: rtl;">
<table>
<tr>
<td colspan="4">

<table>

<tr>
<td></td>
<td><a4j:commandButton
value="#{all.cao_acc_updateAttachment }"
styleClass="commandExButton"
actionListener="#{dossierBean.reloadCoverPages}"
reRender="dataForm" style="width: 90px;" />
</td>
</tr>
</table>
<div dir="rtl" align="center" id="attachementDiv">
<rich:dataTable
value="#{viewContentListBean.contentList}" rows="5"
id="contentList" var="attachementTable" width="300px"
columnClasses="center" styleClass="dataTableEx"
headerClass="headerClass" footerClass="footerClass"
rowClasses="rowClass" border="0"
cellpadding="7" width="100%">

<!-<rich:column id="cao_FattachementDesc1columnattachement">-->
<!-<f:facet name="header">-->
<!-<h:outputText value=" "-->
<!-id="cao_attachementDesc1text"></h:outputText>-->
<!-</f:facet>-->
<!-<h:commandLink-->
<!-value="#{attachementTable.contentName} "-->
<!-actionListener="#{dossierBean.forwardToSaved}"-->
<!--

styleClass="attachmentlabels">-->
<!-<f:attribute name="docid"-->
<!-value="#{attachementTable.content_Doc_Id}" />-->
<!-</h:commandLink>-->
<!-</rich:column>-->

<rich:column id="cao_attachementDate4column">
<f:facet name="header">
<h:outputText value=" "
id="attachementName"></h:outputText>
</f:facet>
<h:outputText id="attachementate1"
value="#{attachementTable.contentName}" />
</rich:column>
<rich:column id="cao_attachementDate1column">
<f:facet name="header">
<h:outputText value=" "
id="cao_attachementtext"></h:outputText>
</f:facet>
<h:outputText id="cao_attachementate1"
value="#{attachementTable.contentMime}" />
</rich:column>

<rich:column id="accDeleteColumn" width="10%">


<f:facet name="header">
<h:outputText value="" id="accDelete"></h:outputText>
</f:facet>

</rich:column>

<f:facet name="footer">
<rich:datascroller id="contentListscroller" maxPages="5"
for="contentList" fastControls="true"
styleClass="footerClass" />
</f:facet>
</rich:dataTable>
</div></td>
</tr>
</table>
</div>
<div
style="overflow-y: scroll; width
: 863px; height: 500px; float: left; border: solid 1px #990000; padding: 0px; ma
rgin: 0px; text-align: right; direction: ltr;">
<!-<iframe name="xview" scrolling="
yes" width="100%" style="overflow: hidden; height: 500px; padding: 0px; margin:
0px; border: none; text-align: right; direction: rtl;" src="">
<!-- Content will appear
e Here !! - - >
</iframe>
-->
</div>
</div>
<!-- confirm panel delete attachment -->
</h:form>
<div class="footer">
<div style="position: absolute; top: 2px
; left: 660px; z-index: 5;">
<img border="0" src="images/foot
er.jpg" />
</div>
</div>
</div>
</div>
</body>
</f:view>
</html>

<rich:modalPanel id="confirmation2"
style="text-align:right; width:2

80px; height:150px">
<div class="redhead">
<p>
<f:facet name="h
eader">#{all.cao_acc_confirm }</f:facet>
</p>
</div>
<br>
<div style="text-align:
center;">
<table align="ce
nter">
<tr>
<td style="text-align: center;" colspan="2"><h:outputText
styleClass="textlabels"
value="#{all.cao_acc_confirm_delete }"
style="FONT-SIZE: large;" /></td>
</tr>
<tr>
<td><h:commandButton styleClass="commandExButton"
style="border-radius: 0px; width:80px;"
value="#{all.cao_acc_cancel }"
onclick="#{rich:component('confirmation2')}.hide();return false" />
</td>
<td><h:commandButton styleClass="commandExButton"
style="border-radius: 0px; width:80px;"
value="#{all.cao_acc_ok }"
onclick="#{rich:component('confirmation2')}.hide();submit();return false" />
</td>
</tr>
</table>
</div>
</rich:modalPanel>

Anda mungkin juga menyukai