You should remove widget/validator from the form and use a partial in your
form to display value.

Alexandre

2009/10/21 Morris <[email protected]>

>
> Hello,
>
> I'm a beginner with Symfony. Intend to use version 1.3 (currently
> working with alpha1) to develop an admin interface to a website with
> 4-5 tables.
>
> I have generated the backend application with the admin-generator and
> is working fine, but I need that the user can see some fields but I
> don't want him to change anything there. In one screen that happen
> with all the values so I could just overwrite the edit action to don't
> perform any action at all, just a message to the user that this screen
> is just readonly. I know that this is an awful workaround and I'm
> quite sure that there are many other ways of doing this but I can't
> find any other. Furthermore this will not work for other screen where
> some fields are editable and other are readonly.
>
> So, please any comment would help and remember that I'm a beginner so
> maybe I have forgotten a basic issue that will help me out...
>
> Thank you.
>
> >
>


-- 
Alexandre Salomé -- [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to