[Grok-dev] newbie question: Handling file uploads with zope.app.file

Sebastian Ware sebastian at urbantalk.se
Mon Oct 13 06:39:48 EDT 2008


I would suggest that you take a look at some of the basic sample apps  
found here:

   http://grok.zope.org/about/what-does-grok-code-look-like

I think you will find all your answers there.

Mvh Sebastian

13 okt 2008 kl. 08.42 skrev muli:

>
> I have started 1 week ago so please apologize my stupid question. I  
> worked
> thru the tutorial and most parts of the Developer notes so that i  
> think that
> i understand general what happens in the HowTo but...
> i have made a file called FileContainer.py and a app.py looking like  
> this:
>
> class Test(grok.Application, grok.Container):
> 	pass
> 	
> class Index(grok.View):
>   pass
>
> How can i display the Form in a Browser?
>
> AddForm is a special kind of View so i tried this:
>
> class Test(grok.Application, grok.Container):
> 	pass
> 	
> class Upload(grok.AddForm):
>    grok.context(Test)......
>
> But it didn't work!
>
> so please help me.
> muli
> -- 
> View this message in context: http://www.nabble.com/newbie-question%3A-Handling-file-uploads-with-zope.app.file-tp19949577p19949577.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