Hello!

I'm facing a problem with a form.

I'm getting a
500 | Internal Server Error | InvalidArgumentException Widget "url" does not
exist.

I don't know what else to do...


 On my *BasePessoaForm.php * I have this code.
public function setup()
  {
    $this->setWidgets(array(
...
'url'             => new sfWidgetFormInputText(),
...
}

on my *editSuccess.php *im trying to call this field, with this code:
<div class="field_0">
          <?php
            $field_name = 'url'
          ?>
          <div class="field_0_label">
            <?php echo $form[$field_name]->renderLabel(null, array('class'
=> 'label_0')) ?>:<?php echo $form->isRequired($field_name) ?>
          </div>
          <div class="field_0_input">
            <?php echo $form[$field_name]->renderError() ?>
            <?php echo $form[$field_name]->render(array('class' =>
'input_0', 'size' => 30)) ?><?php echo $form[$field_name]->renderHelp() ?>
          </div>
        </div>

For some fields, I have no problem... but with this, I just can't render
this form...

Any light?

Thanks for any help.

Regards,

Fernando Grassi de Oliveira
fgra...@gmail.com

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to