On Apr 8, 2005 5:21 PM, CupertinoIndian <[EMAIL PROTECTED]> wrote:
Here is the body.jsp:
<%@ page contentType="text/html" %>
<%@ page import="com.chordiant.cafe.common.CommonMethods" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<HTML>
<script language="_javascript_"
src="">"<%=CommonMethods.getResourcePath("bundles/cafecommon/scripts/cafecommon.js",
true)%>"></script>
<BODY>
<f:view>
<h:form>
<jsp:include page="header.jsp" />
<h:panelGrid columns="2">
<h:outputText value="Process" />
<h:outputText value="#{clientTaskHandler.clientTask.process}" />
<h:outputText value="Name" />
<h:outputText value="#{clientTaskHandler.clientTask.name}" />
<h:outputText value="Id" />
<h:outputText value="#{clientTaskHandler.clientTask.id}"
/>
</h:panelGrid>
<h:dataTable rendered="#{ioMapWrapper.size > 0}" value="#{ioMapWrapper.keys}"
var="key">
<h:column>
<f:facet name="header">
<h:outputText value="ioMap.key"/>
</f:facet>
<h:outputText value="#{key}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="ioMap.value"/>
</f:facet>
<h:outputText value="#{ioMapWrapper.map[key]}" />
</h:column>
</h:dataTable>
<jsp:include page="footer.jsp" />
</h:form>
</table>
</f:view>
</body>
</html>
And here is footer.jsp that is included in body.jsp
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://chordiant.com/jsf/chrd" prefix="chrd" %>
<f:subview id="footer">
<f:verbatim>
<div style="height:30px">
<hr />
<table width="100%">
<tr>
<td>
</f:verbatim>
<chrd:param name="#{clientTaskCache.cacheKeyParamName}"
value="#{clientTaskHandler.clientTask.id}" />
<h:commandButton styleClass="navigationButtonPanel" value="Defer"
action=""> rendered="#{clientTaskHandler.clientTask.canDefer}">
</h:commandButton>
<h:commandButton styleClass="navigationButtonPanel" value="Reanimate"
action=""> rendered="#{clientTaskHandler.clientTask.canReanimate}">
</h:commandButton>
<f:verbatim>
</td>
<td align="right">
</f:verbatim>
<h:commandButton styleClass="navigationButtonPanel" value="Cancel"
action=""> rendered="#{clientTaskHandler.renderCancel}">
</h:commandButton>
<h:commandButton styleClass="navigationButtonPanel" value="Save"
action=""> rendered="#{clientTaskHandler.renderSave}">
</h:commandButton>
<h:commandButton styleClass="navigationButtonPanel" value="Go"
action=""> rendered="#{clientTaskHandler.renderGo}">
</h:commandButton>
<h:commandButton styleClass="navigationButtonPanel" value="Search"
action=""> rendered="#{clientTaskHandler.renderSearch}">
</h:commandButton>
<h:commandButton styleClass="navigationButtonPanel" value="Back"
action=""> rendered="#{clientTaskHandler.renderBack}">
</h:commandButton>
<h:commandButton styleClass="navigationButtonPanel" value="Forward"
action=""> rendered="#{clientTaskHandler.renderForward}">
</h:commandButton>
<h:commandButton id="nextButton" styleClass="navigationButtonPanel"
value="Next" action=""> rendered="#{clientTaskHandler.renderNext}">
</h:commandButton>
<h:commandButton id="retryButton" styleClass="navigationButtonPanel"
value="Retry" action=""> rendered="#{clientTaskHandler.renderRetry}">
</h:commandButton>
<h:commandButton id="continueButton" styleClass="navigationButtonPanel"
value="Continue" action=""> rendered="#{clientTaskHandler.renderContinue}">
</h:commandButton>
<f:verbatim>
</td>
</tr>
</table>
</div>
</f:verbatim>
</f:subview>
Thanks for looking over the problem. I really appreciate.
CupertinoIndian
--
-Heath Borders-Wing
[EMAIL PROTECTED]