[Solar-svn] Intersperse XHTML in a form
Cruz, Darwin
Darwin.Cruz at gd-ais.com
Tue Dec 4 07:56:11 CST 2007
I'm trying to intersperse xhtml into a form i've created so i can format
the form using css. I'm using the example i have below in my view:
echo $this->form()
->xhtml('<div name="foo">')
->input($this->myForm->elements['user_email'])
->xhtml('</div>')
->fetch();
I'm running into the following error though in my apache logs. Can
anyone help me understand what i'm doing wrong?:
127.0.0.1 - - [04/Dec/2007:08:49:18 -0500] "GET
/Solar/PatrolAvailability/formtest HTTP/1.1" 200 -
PHP Warning: Missing argument 3 for Solar_Form::addFilter(), called in
C:\Solar Framework\Solar-0.28.0\Project\App\PatrolAvailability.php on
line 367 and defined in C:\Solar Framework\Solar-0.28.0\Solar\Form.php
on line 382
PHP Notice: Undefined variable: array in C:\Solar
Framework\Solar-0.28.0\Solar\Form.php on line 385
PHP Warning: Missing argument 3 for Solar_Form::addFilter(), called in
C:\Solar Framework\Solar-0.28.0\Project\App\PatrolAvailability.php on
line 368 and defined in C:\Solar Framework\Solar-0.28.0\Solar\Form.php
on line 382
PHP Notice: Undefined variable: array in C:\Solar
Framework\Solar-0.28.0\Solar\Form.php on line 385
PHP Warning: array_merge() [<a
href='function.array-merge'>function.array-merge</a>]: Argument #2 is
not an array in C:\Solar
Framework\Solar-0.28.0\Solar\View\Helper\Form.php on line 274
PHP Fatal error: Uncaught exception
'Solar_Controller_Page_Exception_DuringFetch'
class::code 'Project_App_PatrolAvailability::ERR_DURING_FETCH'
with message 'Exception encountered in the fetch() method.'
information array (
'exception' =>
Solar_Exception::__set_state(array(
'_info' =>
array (
),
'_class' => 'Solar_View_Helper_Form',
'message' => 'ERR_NO_ELEMENT_TYPE',
'string' => '',
'code' => 'ERR_NO_ELEMENT_TYPE',
'file' => 'C:\\Solar Framework\\Solar-0.28.0\\Solar.php',
'line' => 363,
'trace' =>
array (
0 =>
array (
'file' => 'C:\\Solar Framework\\Solar-0.28.0\\Solar.php',
'line' => 568,
'function' => 'factory',
'class' => 'Solar',
'type' => '::',
'args' =>
array (
0 => 'Solar_Exception',
1 =>
array (
'class' => 'Solar_View_Helper_Form',
'code' => 'ERR_NO_ELEMENT_TYPE',
'text' => 'ERR_NO_ELEMENT_TYPE',
'info' =>
in C:\Solar Framework\Solar-0.28.0\Solar.php on line 363
127.0.0.1 - - [04/Dec/2007:08:50:38 -0500] "GET
/Solar/PatrolAvailability/formtest HTTP/1.1" 200 -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman-mail3.webfaction.com/pipermail/solar-svn/attachments/20071204/0cd211b7/attachment.html
More information about the Solar-svn
mailing list