Hey,
i have done the depselect order in both modules directories already. but now at xataface 2.0.0 alpha i have much new error's of my Opera error-console
right of the date time stand the kind of error js or CSS in this exception (i believe only error 5 is important)
1. -
[21.02.2013 07:35:21] CSS -
http://10.29.3.114/xataface-2.0alpha1/plone.cssLinked-in stylesheet
Invalid value for property: list-style
Line 1706:
list-style: visible;
2. -
[21.02.2013 07:35:21] CSS -
http://10.29.3.114/xataface-2.0alpha1/plone.cssLinked-in stylesheet
Declaration syntax error
Line 2588:
dth:100%;background:#000;-moz-opacity:0.10;opacity:.10;filter:alpha(opacity=10);
3. -
[21.02.2013 07:35:21] CSS -
http://10.29.3.114/#######/index.php?-action=new&-table=Konfiguration
HTML style attribute
Invalid value for property: zoom
Line 1:
rder:0;display:block;overflow:hidden;width:1px;padding:1px;display:inline;zoom:1
4. -
[21.02.2013 07:35:21] CSS -
http://10.29.3.114/#######/index.php?-action=new&-table=Konfiguration
DOM style property
Invalid value for property: zoom
Line 1:
1
5. -
[21.02.2013 07:35:21] JavaScript -
http://10.29.3.114/######/index.php?-action=new&-table=Konfiguration
Event thread: DOMContentLoaded
Uncaught exception: TypeError: '$(this).RecordDialog' is not a function
Error thrown at line 752, column 9 in <anonymous function>() in
http://10.29.3.114/######/index.php?-action=new&-table=Konfiguration:
$(this).RecordDialog({
called via Function.prototype.call() from unknown location in <anonymous function: each>(a, c, d) in
http://10.29.3.114/xataface-2.0alpha1/j ... .packed.js:
/* no source available */
called from line 18, column 22268 in <anonymous function: each>(a, b) in
http://10.29.3.114/xataface-2.0alpha1/j ... .packed.js:
return p.each(this,a,b)
called from line 746, column 8 in <anonymous function>($) in
http://10.29.3.114/#######/index.php?-action=new&-table=Konfiguration:
$("#Auspraegung1_ID-other").each(function(){
called via Function.prototype.apply() from line 18, column 33780 in <anonymous function: p.Callbacks>(b) in
http://10.29.3.114/xataface-2.0alpha1/j ... .packed.js:
if(i[h].apply(b[0],b[1])===!1&&a.stopOnFalse)
called from line 18, column 35298 in <anonymous function: fireWith>(a, b) in
http://10.29.3.114/xataface-2.0alpha1/j ... .packed.js:
return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this
called from line 18, column 24730 in <anonymous function: ready>(a) in
http://10.29.3.114/xataface-2.0alpha1/j ... .packed.js:
d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")
called from line 18, column 19535 in <anonymous function>() in
http://10.29.3.114/xataface-2.0alpha1/j ... .packed.js:
e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())
- Max
________________________________________________________
is my fields. ini wrong ?
this is in the Konfiguration table there are 2(and much more) Fk's Bauteile_ID and Typ_ID.
inside of Typ_ID ( Bauteile_ID is a FK)
[Bauteile_ID]
widget:type = depselect
widget:table = Bauteile
vocabulary = bautl
group = wichtig
order = 3
[Typ_ID]
widget:type = depselect
widget:table = Typ
widget:filters:Bauteile_ID = "$Bauteile_ID"
vocabulary = Typ
group=Auswahl
order = 5
-Max
____________________________________________
again : i tested the errors without depselect in the fields-ini
all errors are the same ......
in the widget.php the
- Code: Select all
$jt->import('xataface/widgets/depselect.js');
the script was not found. We change the path to modules/depselect/js/.....
but the java script was never put out as we checked in the source code of the HTML site.
An echo of the js (after the import function) to the html site seemed to add the drop-down menu but only with the modules/depselct/js..... path
thanks for all Max