You could use virtual columns by defining the accessor in your model.

- Jon

On Sun, Dec 21, 2008 at 7:31 PM, David Brewer <[email protected]>wrote:

>
> Hi Jon -- I'm taking your advice on this.  It isn't terrible, but
> still relatively time consuming just because this particular project
> has in the ballpark of a dozen different consoles with substantially
> customized functionality.
>
> One difference I've noticed is that the sf 1.2 admin generator does
> not include the label or help text on partial fields.  Sometimes this
> is good -- if you are making a partial which is so different from a
> regular field that you want to handle all of that yourself -- but most
> of the time I would like my partial to be able to take advantages of
> the label and help text defined in the generator.yml.
>
> Is there an option of some kind for changing this behavior?  Or
> perhaps an alternative to partials for inserting a custom field?  I
> guess I could define a specific widget class for these cases... is
> that the recommended approach?
>
> David Brewer
>
> On Fri, Dec 19, 2008 at 12:27 AM, Jonathan Wage <[email protected]> wrote:
>
> >>  * Recreate the admin console using the new system and port over the
> >> specific functionality.  This seems like a lot of work.
> >
> > ^^^^^
> > I would do this. Generating new admin generator modules and customizing
> them
> > is incredibly simple with 1.2 so I don't think it would be as much work
> as
> > you think.
>
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

--~--~---------~--~----~------------~-------~--~----~
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