Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorgizmo
    • CommentTimeJun 30th 2008
     

    Hello everybody. I'm trying to create a sortable list with Akelos scriptaculous helper, but i'm encountering errors: $scriptaculous_helper->sortable_element('items_id', array('url' => array('action' => 'order'))) generate a "Call to undefined method ScriptaculousHelper::_optionsForAjax()" error. This is probably because ScriptaculousHelper class make a static call (line 110) to PrototypeHelper::remote_function, but remote_function calls $this->_optionsForAjax, using $this in a static context. Is this a bug or am i missing something?

    •  
      CommentAuthorfrancois
    • CommentTimeJul 3rd 2008
     
    Hi Gizmo,

    May be you can call the method using in your Helper the yet instantiated object ScriptaculousHelper $this->_controller->scriptaculous_helper->sortable_element()
Add your comments
    Username Password
  • Format comments as