[Grok-dev] Accessing Forms

Sebastian Ware sebastian at urbantalk.se
Thu Sep 4 11:01:01 EDT 2008


http://host:port/application_name/path/to/object/form_name

If you have an object in the application root container, i.e. you did  
something like:

   grok.getSite()['obj_1'] = superObject()

and you called your app (when you added it in the web interface)

   superapp

and the grok.EditForm view is called

   edit

then you would probably access this view by the following url:

   http://localhost:8080/superapp/obj_1/edit

hope this helps!

Mvh Sebastian

3 sep 2008 kl. 15.28 skrev todd12:

>
> Hi
>
> I've just installed grok. I've done the tutorial and now I'm  
> interested in
> adding forms. I've done two how-to for adding grok form components,
>
> http://grok.zope.org/documentation/how-to/automatic-form-generation
> http://grok.zope.org/documentation/how-to/customizing-form-fields-in-grok-forms
>
> but neither explains how you actually see the forms. Being new to  
> grok a
> good old 'type this into the location bar to see the form' helps a  
> lot.
>
> Also in the Wiki example in 'Automatic Form Generation' gives a
> ConfigurationError.
> -- 
> View this message in context: http://www.nabble.com/Accessing-Forms-tp19289166p19289166.html
> Sent from the Grok mailing list archive at Nabble.com.
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev



More information about the Grok-dev mailing list