I have an app I'm putting together that has a common UI issue, but, I
wasn't sure what the typical pylons method was to handle it.
Basically I have:

Add Site

site   Edit | Delete | Add subsite
site   Edit | Delete | Add subsite
  subsite
site   Edit | Delete | Add subsite
  subsite
site   Edit | Delete | Add subsite

The controller is /admin/ and I have urls of /admin/site to create a
new site, /admin/site/id to edit the site and /admin/delsite/id to
delete a site.  However, I am faced with the situation of adding a
subsite to an existing site without some hideous hack.

I can't really do   /admin/addsubsite/id  where id = the parent site
id because that would invalidate the ability to later edit that
subsite.  I'd prefer a restful uri or something without get
parameters, but, temporarily I've resorted to ?site_id=1.

Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to