• download
  • documentation
  • forums
  • demo
  • contact
  • blog

meteora

javascript widgets

Documentation

  • Autocomplete
  • Bubble
  • Calendar
  • Carousel
  • Datagrid
  • Dialog
  • Editor
  • Effect
  • Filebrowser
  • Form
  • Jsonrpc
  • Menu
  • Notebook
  • Picbox
  • Popup
  • Searchlist
  • Selection
  • Spinbutton
  • Tablesort
  • Toolbox
  • Treeview
In order to post messages on this forum, you must be registered and logged in
80x80:1760834185_unknown.png
Forums » General » Help for beginners

Meteora + Rails = Problem with treeview :)

Posted by dcm

Hello.

I have problem with my rails application. The strangest thing, as usual, is that in another application it's working fine.

I try tu put the treeview, I include the meteora.js as it should be and it seems to be insluded properly.

The problem raises when invoking:

Meteora.uses('Control.Treeview');

The treeview doesn's appear and firebug gives this output:

Class.Merge is not a function

[Break on this error] proto[property] = Class.Merge(pp, properties[property]);

The whole meteora is put in /public/javascripts/meteora/

  • Friday July 11, 2008 @ 04:58 date
  • dcm user
50x50:1760834185_unknown.png
link Tuesday July 15, 2008 @ 13:46

comment J. Carlos Nieto

Hi, try this out:

Meteora.uses('Control.Treeview');
Meteora.onStart(
  function() {
    var t = new Treeview(...);
    ...
  }
);

The problem might be that Treeview is being invoked before the browser loads the control.

Copyright © 2007-2009 Astrata Software.