List Info

Thread: the equivalent of RoR's :scaffold




the equivalent of RoR's :scaffold
user name
2006-04-11 18:44:32
 OK, I'm (s-l-o-w-l-y) continuing with my project of doing
a rails
tutorials using pylons.  Is there a webhelper that I've
missed that
would let me do the year/month/day triple drop down that
rail's
scaffold command provides?

If not, can I get a hint how I would do this in myghty?  

thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "pylons-discuss" group.
To post to this group, send email to pylons-discussgooglegroups.com
To unsubscribe from this group, send email to
pylons-discuss-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

the equivalent of RoR's :scaffold
user name
2006-04-12 15:39:05
qhfgva wrote:
>  OK, I'm (s-l-o-w-l-y) continuing with my project of
doing a rails
> tutorials using pylons.  Is there a webhelper that
I've missed that
> would let me do the year/month/day triple drop down
that rail's
> scaffold command provides?
> 
> If not, can I get a hint how I would do this in myghty?
 

Can you just use a text field, a javascript date widget
(e.g., Yahoo's), 
and dateutil.parser.parse (from python-dateutil) to parse
the field 
(which is fairly permissive)?  Drop-downs suck anyway.

-- 
Ian Bicking  /  ianbcolorstudy.com  /  http://blog.ianbicking.org


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "pylons-discuss" group.
To post to this group, send email to pylons-discussgooglegroups.com
To unsubscribe from this group, send email to
pylons-discuss-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )