jeffd
committed
on 31 Oct 03
switch to using \\copy rather than copy since the backend typically
is not able to read the dat file because of permissions (or if it is
on … Show more
switch to using \\copy rather than copy since the backend typically

is not able to read the dat file because of permissions (or if it is

on a remote machine the file typically will not even exist).

bug #1033

Show less

openacs-4/.../dynamic-types/lib/dtype-code.xql (+0 -13)
1 1 <?xml version="1.0"?>
2 2
3 3 <queryset>
4 4
5 5 <fullquery name="dynamic_attributes">
6 6   <querytext>
7 7
8 8     select a.attribute_id, a.attribute_name, a.pretty_name, a.pretty_plural,
9 9            a.datatype, a.default_value
10 10     from acs_attributes a, dtype_attributes d
11 11     where a.attribute_id = d.attribute_id
12 12     and a.object_type = :object_type
13 13     order by a.sort_order
14 14
15 15   </querytext>
16 16 </fullquery>
17 17
18   <fullquery name="dynamic_forms">
19     <querytext>
20  
21       select f.form_id, f.name as form_name, a.attribute_name,
22              e.widget, e.is_required
23       from dtype_forms f, dtype_form_elements e, acs_attributes a
24       where f.object_type = :object_type
25       and e.form_id = f.form_id
26       and a.attribute_id = e.attribute_id
27  
28     </querytext>
29   </fullquery>
30  
31 18 </queryset>