On 23 September 2011 23:13, Chris Rossi <ch...@archimedeanco.com> wrote:
> There is no way baked into deform.

And actually, often you'll want to display your data in some sort of
custom way. On our current project for instance, we have a "username"
column. I like it to be shown as "<tt>${username}</tt>".

So I simply use:

  field.widget = deform.widget.TextInputWidget(
     template="myproject:deform/readonly/username"
  )

And don't forget to include the hidden input field !

\malthe

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

Reply via email to