I've almost successfully added dijit.Editor to a form however am receiving
the following error:
[Exception... "'Error: Tried to register widget with id==content but that id
is already registered' when calling method:
[nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c
(NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "" data: no]
The addElement looks like this:
$this->addElement(
'Message',
'content',
array(
'label' => 'Message',
'dojoType' => array('dijit.Editor')
)
);
Message is a custom element that extends Zend_Dojo_Form_Element_Textarea.
The custom element merely sets up a custom decorator.
Then in my view I call moduleRequire('dijit.Editor'). Anyone have any idea
as to what I'm doing wrong here?
--
View this message in context:
http://www.nabble.com/dijit.Editor-tp19039554p19039554.html
Sent from the Zend Framework mailing list archive at Nabble.com.