Hi again,
I've setup everything again and it didn't come up the error:
Permission denied to get property XULElement.accessKey
XPCSafeJSObjectWrapper.cpp
Line 445
anymore. So i think i installed incorrect version before. But still, the CSS
theme's still in comment so no css loading. I had a look at
Dojo/Container.php on line 897, I changed it so it wouldn't put the @import
thingy in comment, but still no luck, no css loading.
I did addPrefixPath('Zend_Dojo_Form', 'Zend/Dojo/Form/') and created an
username validation text box for my form:
Code:
$username = $this->addElement('validationTextBox', 'name', array(
'label' => 'Username:',
'lowercase' => 'true',
'maxlength' => 20,
'regExp' => '\w{3,}',
'required' => true,
'invalidMessage' => 'Username is not valid.',
'filters' => array(
'StringTrim',
'StringToLower',
),
'validators' => array(
'NotEmpty',
array('StringLength', true, array(3, 20)),
array('Regex', true, array('/\w+/i')),
),
));
and it turned out the following error:
Fatal error: Call to undefined method
Zend_Dojo_Form_Element_ValidationTextBox::getFullyQualifiedName() in
C:\Program Files\EasyPHP
2.0b1\www\Helpdesk\library\Zend\Dojo\Form\Decorator\DijitElement.php on line
181
I am totally lost now. Any ideas?
--
View this message in context:
http://www.nabble.com/Steps-to-integrating-Dojo-with-Zend-Framework--tp18561545p18563701.html
Sent from the Zend Framework mailing list archive at Nabble.com.