The form system generate form widgets for editable fields. If you want 
to output a field from a Propel form, you can use :

<?php echo $form->getObject()->getHtmlContent() ?

Fabien

Jake Press wrote:
> With the recent removal of sfWidgetFormIdentity, where does this leave
> us with creating fields that are not editable by the user? ie only for
> display purposes
> 
> I could be mistaken but as far as i can see, the only thing we can do
> is set a raw 'readonly' attribute on our fields?
> - This will not work on all fields of course, for starters the HTML
> SELECT element does not support this :)
> 
> I would have expected a nicer setReadonly() or similar method at the
> widget and maybe even the form level - to have a field or entire form
> rendered read-only.
> 
> Thoughts?
> > 
> 
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to