modules/org.openbravo.client.querylist/src-db/database/sourcedata/OBCQL_WIDGET_QUERY.xml
author Gorka Ion Damián <gorkaion.damian@openbravo.com>
Mon, 13 Dec 2010 16:46:57 +0100
changeset 9117 b8ec45242e12
parent 9091 c4f1a5c7d7c2
child 9176 99808e693803
permissions -rw-r--r--
Modified example query list widget to add a fixed parameter with a js expression as value.
harpreet@9091
     1
<?xml version='1.0' encoding='UTF-8'?>
harpreet@9091
     2
<data>
harpreet@9091
     3
<!--C0A8491CDB43466D9F2645018473588B--><OBCQL_WIDGET_QUERY>
harpreet@9091
     4
<!--C0A8491CDB43466D9F2645018473588B-->  <OBCQL_WIDGET_QUERY_ID><![CDATA[C0A8491CDB43466D9F2645018473588B]]></OBCQL_WIDGET_QUERY_ID>
harpreet@9091
     5
<!--C0A8491CDB43466D9F2645018473588B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9091
     6
<!--C0A8491CDB43466D9F2645018473588B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9091
     7
<!--C0A8491CDB43466D9F2645018473588B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9091
     8
<!--C0A8491CDB43466D9F2645018473588B-->  <OBKMO_WIDGET_CLASS_ID><![CDATA[D1E4261099AE4095B2F2DAEE0F7E7784]]></OBKMO_WIDGET_CLASS_ID>
harpreet@9091
     9
<!--C0A8491CDB43466D9F2645018473588B-->  <HQL><![CDATA[select tab.window.name as windowName, tab.name as tabName, tab.id as tabId
harpreet@9091
    10
from ADTab tab
harpreet@9091
    11
where window.name like :window_name
gorkaion@9117
    12
  and window.client.id = :client
harpreet@9091
    13
order by tab.window.name]]></HQL>
harpreet@9091
    14
<!--C0A8491CDB43466D9F2645018473588B--></OBCQL_WIDGET_QUERY>
harpreet@9091
    15
harpreet@9091
    16
</data>