Name | Mandatory | Description |
---|---|---|
dbURL | yes | DB url. |
dbDriver | yes | Driver. |
dbLogin | yes | User login. |
dbPassword | yes | User password. |
dbQuery | yes | The query to do (SELECT ... FROM ...). |
dbQueryParams | no | Parameters who replace '?'. |
cols | yes | list of columns in the view. |
hiddencols | no | list of hidden columns. |
updates | no | list of attribute with attached to the column index. |
hiddenupdates | no | list of attribute with a hidden-columns index. |
<field attributeName="action" type="sqlLookup"> <label language="FR">Action</label> <label language="EN">Action</label> <param name="dbURL">...</param> <param name="dbDriver">...</param> <param name="dbLogin">...</param> <param name="dbPassword">...</param> <param name="dbQuery">SELECT * FROM `tab` WHERE column='?' ...;</param> <param name="dbQueryParams">AttributeName1;...;...</param> <param name="cols">ColumnName1;ColumnName2;ColumnName3;...</param> <param name="hiddencols">ColumnName4;ColumnName5;ColumnName6;...</param> <param name="updates">AttributeName1=1;AttributeName2=3;AttributeName3=6;...</param> <param name="hiddenupdates">ObjectName1=1;ObjectName2=3;ObjectName3=6;...</param> </field>
It would be nice if the SQLLookuo could reset dependent fields.
This will allow dependent lists.
--Eric Fesler, 21-Sep-2008
SqlLookup_test.xml | 2643 bytes |
<< | May 2024 | |||||
Mon | Tue | Wed | Thu | Fri | Sat | Sun |
29 | 30 | 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | 1 | 2 |