<%--
 * Copyright by Intland Software
 *
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Intland Software. ("Confidential Information"). You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Intland.
 *
 * $Revision$ $Date$
--%>
<meta name="decorator" content="main">
<meta name="module" content="sources">
<meta name="moduleCSSClass" content="sourceCodeModule">
<meta name="stylesheet" content="sources.css">


<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-logic" prefix="logic" %>

<%@ taglib uri="taglib" prefix="tag" %>
<%@ taglib uri="uitaglib" prefix="ui" %>

<bean:parameter id="symbolName" name="symbolName" />
<bean:parameter id="className" name="className" value="" />
<bean:parameter id="packageName" name="packageName" value="" />
<bean:parameter id="type" name="type" value="" />
<bean:parameter id="refersTo" name="refersTo" value="false" />

<ui:actionMenuBar>
	<table height="100%">
		<tr valign="middle">
			<td valign="middle" width="100%" height="100%" nowrap>
				<span class="titlenormal">
					<ui:breadcrumbs showProjects="false"/> :
					<ui:pageTitle>
						<tag:joinLines>
							<logic:notEmpty name="className">
								<bean:write name="className" />.
							</logic:notEmpty>
							<bean:write name="symbolName" />
							 &nbsp;(<bean:write name="type" />)&nbsp;
							<logic:equal name="refersTo" value="true">
								Refers
							</logic:equal>
							<logic:notEqual name="refersTo" value="true">
								Referred by
							</logic:notEqual>
						</tag:joinLines>
					</ui:pageTitle>
				</span>
			</td>
			<td valign="middle" nowrap>
				<html:form action="/proj/sources/xref" method="GET">
					<html:hidden property="search_on" />
					<html:hidden property="refersTo" />
					<html:hidden property="className" />
					<html:hidden property="packageName" />
					<html:hidden property="symbolName" />
					<html:hidden property="type" />
					<html:hidden property="arguments" />
					<html:hidden property="file_id" />
					<html:hidden property="attr" />
					<html:hidden property="start_offset" />
					<html:hidden property="high_start_offset" />
					<html:hidden property="end_offset" />

					<span class="titlenormal" style="margin-left: 1em;">Show Symbols with</span>
					<html:select property="everySymbolOnce">
						<html:option value="true">NR# of References</html:option>
						<html:option value="false">Each Reference</html:option>
					</html:select>

					<html:select property="pageSize">
						<html:option value="25">Show &nbsp;25</html:option>
						<html:option value="50">Show &nbsp;50</html:option>
						<html:option value="100">Show 100</html:option>
						<html:option value="500">Show 500</html:option>
						<html:option value="-1">Show All</html:option>
					</html:select></TD>

					&nbsp;<html:submit styleClass="button">GO</html:submit>
				</html:form>
			</td>
		</tr>
	</table>
</ui:actionMenuBar>

<tag:xref />
