<?xml version="1.0" encoding="UTF-8"?>
<presentation id="cx_query" ismobile="false" mboname="QUERY" resultstableid="results_showlist" version="6.0.0">
	<page id="mainrec" scroll="false">
		<include controltoclone="pageHeader" id="INCLUDE-pageHeader"/>
		<clientarea id="clientarea">
			<tabgroup id="maintabs" style="form">
				<tab default="true" id="results" label="List" type="list">
					<menubar event="search" id="actiontoolbar1" sourcemethod="getAppSearchOptions"/>
					<table id="results_showlist" inputmode="readonly" label="Queries" mboname="QUERY" orderby="APP,CLAUSENAME" selectmode="single" startempty="false">
						<tablebody displayrowsperpage="20" filterable="true" filterexpanded="true" id="results_showlist_tablebody">
							<tablecol dataattribute="CLAUSENAME" id="results_showlist_CLAUSENAME" mxevent="selectrecord" mxevent_desc="Go To %1" type="link" usefieldsizegroup="false"/>
							<tablecol dataattribute="DESCRIPTION" id="results_showlist_DESCRIPTION"/>
							<tablecol dataattribute="APP" id="results_showlist_APP"/>
							<tablecol dataattribute="MAXAPPS.DESCRIPTION" id="results_showlist_APPDESC"/>
							<tablecol dataattribute="OWNER" id="results_showlist_OWNER"/>
							<tablecol dataattribute="ISPUBLIC" id="results_showlist_ISPUBLIC"/>
							<tablecol filterable="false" id="results_bookmark" mxevent="BOOKMARK" mxevent_desc="Add to Bookmarks" mxevent_icon="btn_addtobookmarks.gif" sortable="false" type="event"/>
						</tablebody>
					</table>
				</tab>
				<tab id="main" label="Main" type="insert">
					<section id="main_1">
						<sectionrow id="main_11">
							<sectioncol id="main_111">
								<section id="main_1111">
                                    <textbox dataattribute="QUERYID" id="maintab_QUERYID" inputmode="readonly"/>
                                    <textbox dataattribute="APP" id="maintab_APP"/>
                                    <textbox dataattribute="CLAUSENAME" id="maintab_CLAUSENAME"/>
                                    <textbox dataattribute="DESCRIPTION" id="maintab_DESCRIPTION"/>
                                    <multilinetextbox dataattribute="CLAUSE" id="maintab_CLAUSE" rows="6" columns="80"/>
								</section>
							</sectioncol>
							<sectioncol id="main_112">
								<section id="main_1121">
                                    <textbox dataattribute="OWNER" id="maintab_OWNER"/>
                                    <checkbox dataattribute="ISPUBLIC" id="maintab_ISPUBLIC"/>
                                    <checkbox dataattribute="DEFAULT" id="maintab_DEFAULT"/>

                                    <pushbutton id="maintab_QUERYMGR" label="Edit Query" mxevent="CX_QUERYEDIT" sigoption="CX_QUERYEDIT"/>
                                    <pushbutton id="maintab_QRYCHGOWNER" label="Take Ownership" mxevent="CX_QUERYOWNER" sigoption="CX_QUERYOWNER"/>

								</section>
							</sectioncol>
						</sectionrow>
					</section>

					<table id="sc_t" inputmode="readonly" label="Start Centers" relationship="CX_SCTEMPLATE">
						<tablebody id="sc_tb">
							<tablecol dataattribute="NAME" id="sc_NAME"/>
							<tablecol dataattribute="DESCRIPTION" id="sc_DESCRIPTION"/>
						</tablebody>
					</table>
				</tab>
			</tabgroup>
		</clientarea>
		<include controltoclone="pageFooter" id="INCLUDE-pageFooter"/>
	</page>

	<dialog beanclass="psdi.webclient.system.beans.QbeBean" id="searchmore" inputmode="query" label="More Search Fields">
		<section id="searchmore_1">
			<textbox dataattribute="APP" id="searchmore_attr1"/>
			<textbox dataattribute="CLAUSENAME" id="searchmore_attr3"/>
			<textbox dataattribute="DESCRIPTION" id="searchmore_attr4"/>
			<textbox dataattribute="CLAUSE" id="searchmore_attr5"/>
			<textbox dataattribute="OWNER" id="searchmore_attr2"/>
			<checkbox dataattribute="ISPUBLIC" id="searchmore_attr6"/>
			<checkbox dataattribute="DEFAULT" id="searchmore_attr7"/>
		</section>
		<buttongroup id="searchmore_buttongroup">
			<pushbutton default="true" id="searchmore_buttongroup_1" label="Find" mxevent="dialogok"/>
			<pushbutton id="qbe_restoreappdefault_button" label="Restore Application Defaults" mxevent="qbeclear"/>
			<pushbutton id="qbe_revisebutton" label="Revise" menutype="SEARCHMOREREVISE" targetid="searchmore"/>
			<pushbutton id="searchmore_buttongroup_3" label="Cancel" mxevent="qbecancel"/>
		</buttongroup>
	</dialog>

	<dialog beanclass="psdi.webclient.system.beans.ViewBookmarksBean" id="searchbook" label="My Bookmarks" mboname="QUERY">
		<table id="bookmarks_table" inputmode="readonly" selectmode="single">
			<tablebody displayrowsperpage="20" filterable="true" id="bookmarks_table_tablebody">
				<tablecol dataattribute="QUERYID" id="bookmarks_tablecolumn_1" mxevent="selectrecord" type="link"/>
				<tablecol dataattribute="description" id="bookmarks_tablecolumn_2"/>
				<tablecol filterable="false" id="bookmarks_tablecolumn_3" mxevent="instantdelete" mxevent_desc="Delete" mxevent_icon="btn_delete.gif" sortable="false" type="event"/>
			</tablebody>
		</table>
		<buttongroup id="bookmarks_2">
			<pushbutton default="true" id="bookmarks_2_1" label="OK" mxevent="dialogok"/>
		</buttongroup>
	</dialog>
	<configurationblock id="datastore_configurationblock">
	</configurationblock>
</presentation>