<%--
  - FILE
  -   remedies_alerts.jspf
  -
  - DESCRIPTION
  - a partial jsp file for include in remedies.jsp when search in context of an alert
  -
  - MODIFIED   (MM/DD/YY)
  - somukher    06/28/05   - Bug - 4442849 
  - mningomb    09/20/04   - mningomb_final
  - apbharga    09/03/04   - Changes For Review Comments 
  - mningomb    08/02/04   - created
  -
  --%>
  
<uix:tableLayout width="100%" cellSpacing="6">
	<uix:rowLayout>
		<uix:cellFormat width="35%" hAlign="left" vAlign="top">
			<uix:stackLayout>
				<uix:contentContainer background="light" width="100%">
					<uix:flowLayout>
						<uix:styledText styleClass="OraInstructionText" textBinding="RBA_REMEDIES_ALERT@patchResourceBundle"/>
						<uix:formValue name="search_option" value="alerts" />
						<uix:submitButton name="event" value="switchSearchBy" textBinding="RBA_REMEDIES_ALERT1@patchResourceBundle"/>
					</uix:flowLayout>
				</uix:contentContainer>
				<uix:spacer height="18"/>
				   <uix:messageLovField name="alertLov"
								   textBinding="alertLov@servletRequest"
								   columns="39"
								   promptBinding="LBL_SEARCH_ALERT@patchResourceBundle"
								   shortDescBinding="LBL_SEARCH_ALERT@patchResourceBundle"
								   searchDescBinding="LBL_SEARCH_ALERT@patchResourceBundle"
								   onClick= "   setAlertRedirValue();
												openWindow(top,
												alertRedir.value,
												'lovWindow',
												{width:600, height:200},
												true,
												'dialog',
												alertCallBack); " />
				   <uix:formValue name="alertRedir"/>
				   <uix:formValue name="alertLovPage" valueBinding="alertLovPage@cpfDefaultBean@servletRequest"/>
				<uix:spacer height="12"/>
				<uix:submitButton name="event" textBinding="RBA_SHOW_HOMES@patchResourceBundle" value="showAdvHomes"/>
			</uix:stackLayout>
		</uix:cellFormat>
		<uix:cellFormat width="65%" hAlign="left">
			<uix:contentContainer background="light" width="100%">
				<uix:header textBinding="RBA_REMEDIES_HEADER@patchResourceBundle">
					<uix:stackLayout>
						<uix:styledText styleClass="OraInstructionText" textBinding="RBA_REMEDIES_INFO@patchResourceBundle"/>
						<uix:spacer height="6"/>
						<uix:styledText styleClass="OraInstructionText" textBinding="RBA_REMEDIES_POINTS@patchResourceBundle"/>
						<uix:bulletedList>
							<uix:styledText styleClass="OraInstructionText" textBinding="RBA_REMEDIES_POINT1@patchResourceBundle"/>
							<uix:styledText styleClass="OraInstructionText" textBinding="RBA_REMEDIES_POINT2@patchResourceBundle"/>
							<uix:styledText styleClass="OraInstructionText" textBinding="RBA_REMEDIES_POINT3@patchResourceBundle"/>
						</uix:bulletedList>
					</uix:stackLayout>
				</uix:header>
			</uix:contentContainer>
		</uix:cellFormat>
	</uix:rowLayout>
</uix:tableLayout>

<uix:tableLayout width="60%">
	<uix:rowLayout>
		<uix:contents>
			<uix:header text="Homes Affected by Advisory">
				<uix:table 
				 name="advHomesTable"
				 id="advHomesTable"
				 width="100%"
				 partialRenderMode="self"
				 showAll="yes"
				 valueBinding="currentValue@advHomesBean@servletRequest"
				 minValueBinding="minValue@advHomesBean@servletRequest"
				 blockSizeBinding="blockSize@advHomesBean@servletRequest"
				 maxValueBinding="maxValue@advHomesBean@servletRequest" 
				 alternateTextBinding="noAlertsMessage@advHomesBean@servletRequest"
				 tableDataBinding="rows@advHomesBean@servletRequest"
				 columnHeaderDataBinding="columnHeaders@advHomesBean@servletRequest">
				  
				 <uix:tableSelection>
				   <uix:multipleSelection selectionBinding="selectList@advHomesBean@servletRequest" 
										  selectedBinding="selection">
					  <uix:submitButton name="event"  
						textBinding="LBL_SHOW_REMEDIES@patchResourceBundle" value="showRemediesForAdvHomes"/>
				   </uix:multipleSelection>
				 </uix:tableSelection>
				
				 <uix:tableFormat tableBanding="rowBanding"/>
				 
				 <uix:columnHeaderStamp>
				   <uix:sortableHeader 
					   textBinding="text"
					   sortableBinding="sortable">
				   </uix:sortableHeader>
				 </uix:columnHeaderStamp>
				
				 <uix:styledText textBinding="host" />
				 <uix:styledText textBinding="directory" />
				
				</uix:table>
			</uix:header>
		</uix:contents>
	</uix:rowLayout>
</uix:tableLayout>

<uix:tableLayout width="100%">
	<uix:rowLayout>
		<uix:contents>
			<uix:header text="Remedies">
				<uix:table	name="advHomesRemediesTable"
							id="advHomesRemediesTable"
							width="100%"
							partialRenderMode="self"
							showAll="yes"
							valueBinding="currentValue@advHomesRemediesBean@servletRequest"
							minValueBinding="minValue@advHomesRemediesBean@servletRequest"
							blockSizeBinding="blockSize@advHomesRemediesBean@servletRequest"
							maxValueBinding="maxValue@advHomesRemediesBean@servletRequest" 
							alternateTextBinding="noAlertsMessage@advHomesRemediesBean@servletRequest"
							tableDataBinding="rows@advHomesRemediesBean@servletRequest"
							columnHeaderDataBinding="columnHeaders@advHomesRemediesBean@servletRequest"
							detailDisclosureBinding="detailsState@advHomesRemediesBean@servletRequest"
							allDetailsEnabledBinding="allDetailsEnabled@servletRequest">
				  
				 <uix:tableSelection>
				   <uix:multipleSelection selectionBinding="selectList@advHomesRemediesBean@servletRequest" 
										  selectedBinding="selection">
					  <uix:submitButton name="event"  
						textBinding="LBL_SHOW_REMEDIES@patchResourceBundle" value="showRemediesForAdvHomes"/>
				   </uix:multipleSelection>
				 </uix:tableSelection>
				
				 <uix:tableFormat tableBanding="rowBanding"/>
				 
				 <uix:columnHeaderStamp>
				   <uix:sortableHeader 
					   textBinding="text"
					   sortableBinding="sortable">
				   </uix:sortableHeader>
				 </uix:columnHeaderStamp>
				
				 <uix:styledText textBinding="patchset" />
				 
				 <uix:column>
				 	<uix:contents childDataBinding="patches">
				 		<uix:styledText textBinding="patch" />
					</uix:contents>
				</uix:column>
				 
				 <uix:styledText textBinding="platform" />
				 
				 <uix:styledText textBinding="count" />
				 
				 <uix:detail>
				 	<uix:header text="Affected Homes">
						<uix:styledText text="Homes1"/>
						<uix:styledText text="Homes2"/>
					</uix:header>
				 </uix:detail>

				
				</uix:table>
			</uix:header>
		</uix:contents>
	</uix:rowLayout>
</uix:tableLayout>
