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
| <rich:dataTable id="eventLogDataTable"
value="#{rrAction.entryLogEntries}" var="row"
columnClasses="syslogTime,syslogBy,syslogType" cellpadding="0"
cellspacing="0" border="0" >
<rich:column>
<f:facet name="header">
<h:outputText value="Date/time" />
</f:facet>
<t:outputText value="#{row.actionTime}">
<f:convertDateTime type="date" timeZone="#{current.timeZoneUser}"
pattern="yyyy-MM-dd" />
</t:outputText>
<h:outputText value=" " escape="false" />
<t:outputText value="#{row.actionTime}">
<f:convertDateTime type="time" timeZone="#{current.timeZoneUser}"
pattern="hh:mm:ss" />
</t:outputText>
<h:outputText value=" " escape="false" />
<h:outputText value="#{current.timeZoneUserCode}" />
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="By" />
</f:facet>
<t:outputText value="#{row.login}" />
<t:outputText rendered="#{row.login!=row.realLogin}"
value=" (by #{row.realLogin})" />
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value=" Subject - Object - Type" />
</f:facet>
<h:outputText escape="false" rendered="#{!row.isTransactionLog}"
value=" " />
<t:outputText rendered="#{!row.isTransactionLog}"
value="#{row.subject} - #{row.relatedClassname} - #{row.actionType}" />
<t:outputText rendered="#{row.isTransactionLog}"
value="#{row.subject}" />
</rich:column>
</rich:dataTable> |