depselect problem.
Posted: Mon Feb 27, 2012 10:19 am
Greetings,
I am using depselect, I hve copied the depselect module from svn and copied in modules/depselect.I have tried to copied to in xataface module directory and not work and then i copied in my site directory and still not working. I am getting this error.
Fatal error: Uncaught exception 'Exception' with message '[html_quickform_error: message="unregistered element" code=-5 mode=return level=notice prefix="QuickForm Error: " info="Element 'depselect' does not exist in HTML_QuickForm::_loadElement()"]' in D:\xampp\htdocs\www\xata\Dataface\FormTool.php:437 Stack trace: #0 D:\xampp\htdocs\www\xata\Dataface\QuickForm.php(347): Dataface_FormTool->buildWidget(Object(Dataface_Record), Array, Object(Dataface_QuickForm), 'granteeName', true, Array) #1 D:\xampp\htdocs\www\xata\Dataface\QuickForm.php(488): Dataface_QuickForm->_buildWidget(Array, Array) #2 D:\xampp\htdocs\www\xata\actions\new.php(53): Dataface_QuickForm->_build() #3 D:\xampp\htdocs\www\xata\Dataface\Application.php(1323): dataface_actions_new->handle(Array) #4 D:\xampp\htdocs\www\xata\Dataface\Application.php(1774): Dataface_Application->handleRequest() #5 D:\xampp\htdocs\www\grants\index.php(7): Dataface_Application->display() #6 {main} thrown in D:\xampp\htdocs\www\xata\Dataface\FormTool.php on line 437
I am taking guidence from this url: http://xataface.com/dox/modules/depselect/latest/
and i am using xataface 1.5x. in conf.ini i have put the modules/depselect path. And in fields.ini i am using this, because i have data in one table.in fields.ini i have:
[granteeName]
widget:type=depselect
widget:table=tbl_application
widget:label = "Grantee Name"
order=1
[applicationNumber]
widget:type=depselect
widget:table=tbl_application
widget:filters:organizationName="$organizationName"
widget:label = "Application Number"
order=3
I am trying to get ApplicationNumber from the table through organizationName because each for each organization we have more than one records. so i want to get the records on selection of organizationName
I am using depselect, I hve copied the depselect module from svn and copied in modules/depselect.I have tried to copied to in xataface module directory and not work and then i copied in my site directory and still not working. I am getting this error.
Fatal error: Uncaught exception 'Exception' with message '[html_quickform_error: message="unregistered element" code=-5 mode=return level=notice prefix="QuickForm Error: " info="Element 'depselect' does not exist in HTML_QuickForm::_loadElement()"]' in D:\xampp\htdocs\www\xata\Dataface\FormTool.php:437 Stack trace: #0 D:\xampp\htdocs\www\xata\Dataface\QuickForm.php(347): Dataface_FormTool->buildWidget(Object(Dataface_Record), Array, Object(Dataface_QuickForm), 'granteeName', true, Array) #1 D:\xampp\htdocs\www\xata\Dataface\QuickForm.php(488): Dataface_QuickForm->_buildWidget(Array, Array) #2 D:\xampp\htdocs\www\xata\actions\new.php(53): Dataface_QuickForm->_build() #3 D:\xampp\htdocs\www\xata\Dataface\Application.php(1323): dataface_actions_new->handle(Array) #4 D:\xampp\htdocs\www\xata\Dataface\Application.php(1774): Dataface_Application->handleRequest() #5 D:\xampp\htdocs\www\grants\index.php(7): Dataface_Application->display() #6 {main} thrown in D:\xampp\htdocs\www\xata\Dataface\FormTool.php on line 437
I am taking guidence from this url: http://xataface.com/dox/modules/depselect/latest/
and i am using xataface 1.5x. in conf.ini i have put the modules/depselect path. And in fields.ini i am using this, because i have data in one table.in fields.ini i have:
[granteeName]
widget:type=depselect
widget:table=tbl_application
widget:label = "Grantee Name"
order=1
[applicationNumber]
widget:type=depselect
widget:table=tbl_application
widget:filters:organizationName="$organizationName"
widget:label = "Application Number"
order=3
I am trying to get ApplicationNumber from the table through organizationName because each for each organization we have more than one records. so i want to get the records on selection of organizationName