Code Search for Developers
 
 
  

ResultsBrowserResult.jsp from GridBlocks at Krugle


Show ResultsBrowserResult.jsp syntax highlighted

<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
<%@ page import="java.util.Iterator, fi.hip.gb.portlet.*, fi.hip.gb.portlet.beans.*, fi.hip.gb.portlet.results.*" %>
<portlet:defineObjects/>

<%
	ResultsBrowserResultBean resultBean = (ResultsBrowserResultBean)request.getAttribute(ResultsBrowserPortlet.RESULT_BEAN);
	Result result = resultBean.getResult();
%>

<table>

	<colgroup class="portlet-section-header"/>

	<tr>
		<th colspan="2">Status Information</th>
	</tr>

	<tr class="portlet-section-body">
		<th>Job name</td>
		<td><%=result.getJobName()%></td>
	</tr>
	
	<tr class="portlet-section-alternate">
		<th>Start time</td>
		<td><%=result.getStartTime()%></td>
	</tr>
	
	<tr class="portlet-section-body">
		<th>End time</td>
		<td><%=result.getEndTime()%></td>
	</tr>
	
	<tr class="portlet-section-alternate">
		<th>Execution time</td>
		<td><%=result.getExecutionTime()%></td>
	</tr>
	
	<tr class="portlet-section-body">
		<th>Parts</td>
		<td><%=result.getParts()%></td>
	</tr>

</table>
<br/>
<table>

	<tr class="portlet-section-header">
		<th colspan="3">Results</th>
	</tr>

	<tr class="portlet-section-header">
		<th class="portlet-section-body">Filename</th>
		<th class="portlet-section-alternate">Size</th>
		<th class="portlet-section-body">Description</th>
	</tr>

	<%
	Iterator it = result.getResultFiles().iterator();
	while(it.hasNext()) {
		ResultFile rf = (ResultFile)it.next();%>
	<tr>
		<td class="portlet-section-body"><a href="<%=request.getContextPath()+"/"+rf.getURL()%>" target="_blank"><%=rf.getName()%></a></td>
		<td class="portlet-section-alternate"><%=rf.getSize()%></td>
		<td class="portlet-section-body"><%=rf.getDescription()%></td>
	</tr>
	<%}%>

</table>
<br/>

<form action="<portlet:renderURL/>" method="POST">
<input class="portlet-form-button" type="submit" name="back" value="Back"/>
</form>




See more files for this project here

GridBlocks

GridBlocks builds a grid application framework via easy-to-use building blocks in distributed environment. The framework offers components for Grid security, distributed storage, computing, and Portlet web interfaces.

Project homepage: http://sourceforge.net/projects/gridblocks
Programming language(s): Java,JSP,XML
License: other

  CredentialRegister.jsp
  CredentialView.jsp
  JobSubmissionJob.jsp
  JobSubmissionView.jsp
  ResultsBrowserResult.jsp
  ResultsBrowserView.jsp
  UploadResult.jsp
  UploadView.jsp
  disk.jsp
  local_disk.jsp
  status.jsp