Meteora Javascript Widgets http://meteora.astrata.com.mx/ Meteora (c) 2008 <a href="http://astrata.com.mx">Astrata Software</a> Tue, 23 Sep 2008 10:23:01 -0500 http://www.textmotion.org New topic "Spelling Errors" by jbaker http://meteora.astrata.com.mx/forum/view/general/bug-reports/spelling-errors http://meteora.astrata.com.mx/forum/view/general/bug-reports/spelling-errors <br> jdbaker@bakershosting.com (Unknown) Tue, 23 Sep 2008 10:23:01 -0500 New topic "Sin Onclick" by sarjo http://meteora.astrata.com.mx/forum/view/general/bug-reports/sin-onclick http://meteora.astrata.com.mx/forum/view/general/bug-reports/sin-onclick &nbsp;Parece que no me sale el evento onclick en el componente Treeview, pudiera ser error de mi navegador, uso firefox 3.0.1 en ubuntu hardy heron, no veo los eventos onclick del treview no los veo ni en mi aplicacion ni en el ejemplo cargado en la web coloco el codigo como lo estoy usando<br><br>&lt;script type="text/javascript"&gt;<br>Meteora.uses('Control.Treeview');<br>Meteora.onStart(<br>&nbsp; function () {<br>new Treeview(<br>&nbsp; 'categorias',<br>&nbsp; [<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'label': 'Categorias',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'items': 'categoria.json.php'<br>&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp; <br>&nbsp; ],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'selected': [ 'Categorias']<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp; <br>);<br>&nbsp;}<br>);<br>&lt;/script&gt;<br><br>Codigo que genera el JSON<br><br>&lt;?php<br>function TieneHijos($id){<br>&nbsp;&nbsp;&nbsp; include 'inc/config.php';<br>&nbsp;&nbsp;&nbsp; include_once 'inc/mysql.inc.php';<br>&nbsp;&nbsp;&nbsp; include_once 'inc/Categoria.php';<br>&nbsp;&nbsp;&nbsp; $categoria=new Categoria($host,$user,$pass,$database);<br>&nbsp;&nbsp;&nbsp; if ($categoria-&gt;cuantos($categoria-&gt;query("select * from categoria where padre='$id'"))&gt;0){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return true;<br>&nbsp;&nbsp;&nbsp; }else{<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return false;<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br>function hijos($id=""){<br>include 'inc/config.php';<br>include_once 'inc/mysql.inc.php';<br>include_once 'inc/Categoria.php';<br>$categoria=new Categoria($host,$user,$pass,$database);<br>//$categoria-&gt;debug=1;<br>$query1=$categoria-&gt;query("select * from categoria where padre='$id'");<br>$resulth1=array();<br>if ($categoria-&gt;cuantos($query1)&gt;0){<br>while ($catego=$categoria-&gt;manejar($query1)){<br>&nbsp;&nbsp;&nbsp; if (TieneHijos($catego-&gt;idcategoria)){<br>&nbsp;&nbsp;&nbsp; $resulth=array(<br>&nbsp;&nbsp;&nbsp; label =&gt; $catego-&gt;nombre,<br>&nbsp;&nbsp;&nbsp; items =&gt; hijos("$catego-&gt;idcategoria")<br>&nbsp;&nbsp;&nbsp; );<br>&nbsp;&nbsp;&nbsp; }else{<br>&nbsp;&nbsp;&nbsp; $resulth=array(<br>&nbsp;&nbsp;&nbsp; label =&gt; $catego-&gt;nombre,<br>&nbsp;&nbsp;&nbsp; onClick =&gt; 'alert(\''.$catego-&gt;idcategoria.'\')',<br>&nbsp;&nbsp;&nbsp; );&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; $resulth1[]=$resulth;<br>}<br>}<br>return $resulth1;<br>}<br><br>include_once 'inc/json.php';<br>$categorias=hijos();<br>$json = new json();<br>print $json-&gt;encode($categorias);<br>?&gt;<br> sarjo6@gmail.com (Unknown) Thu, 11 Sep 2008 02:44:09 -0500 New topic "Control.Form e IE6" by manuelinux http://meteora.astrata.com.mx/forum/view/general/bug-reports/control-form-e-ie6 http://meteora.astrata.com.mx/forum/view/general/bug-reports/control-form-e-ie6 &nbsp;Pues eso que estoy usando el control.form en ie6 y solo con entrar a la pagina ie se cierra y no da mucha ayuda con el informe del error, el ejemplo lo pueden encontrar en http://siteckmx.com en la seccion de contacto es donde ocurre el error<br> manuelinux@lupux.org (Unknown) Thu, 21 Aug 2008 12:34:57 -0500 Reply #1 on "Internet Explorer" by xiam http://meteora.astrata.com.mx/forum/view/general/bug-reports/internet-explorer#message-10 http://meteora.astrata.com.mx/forum/view/general/bug-reports/internet-explorer#message-10 <p>Hi, I have tried on IE7 and IE6 by myself, if this is still happening using the [latest version](http://meteora.astrata.com.mx/files) (0.6) it would be very useful if you could provide us with an example application that throws the error.</p> <p></p> xiam@astrata.com.mx (J. Carlos Nieto) Tue, 15 Jul 2008 13:50:14 -0500 New topic "Internet Explorer" by pmag http://meteora.astrata.com.mx/forum/view/general/bug-reports/internet-explorer http://meteora.astrata.com.mx/forum/view/general/bug-reports/internet-explorer Hi,<br><br>First of all, thanks for making this library available. It's great.<br><br>Now,<br><br>Some controls don't work in Internet Explorer. Example: Calendar doesn't open in Internet Explorer 7. It works great on Firefox, but not in IE. IE says: "An unexpected call to method or properties as ocurred.". It doesn't say the object nor the file (correctly at least). It does say the line '786'. I tried searching through the code of 'Calendar.js' and in the '786' there is a 'window.ie' statement. I tried deleting, changing (navigator.appName = "...") and I got no result, and the line didn't change in the error report of IE. So maybe 'Calendar.js' is not the problem. <br><br>Can you guys please check it? It's a great piece of software, but most users who are going to use this are on IE and I really need the controls.<br><br>Thanks for taking the time to read this.<br> magueija_inbox@hotmail.com (Unknown) Mon, 05 May 2008 06:38:19 -0500