Re: [Zope3-Users] Multiple File upload field?

2008-05-13 Thread Paul Carduner
On Tue, May 13, 2008 at 8:42 AM, Andrea Ratto
<[EMAIL PROTECTED]> wrote:
> I think something like that is achieved through a flash object, not with
> normal html form. I'm not a 100% sure though.

It really depends on what you want.  I think here we are talking about
a form that continuously pop up a new file field every time the last
one gets filled.  This is just like gmail.  You can then even upload
those files via an ajax call.  You can use jquery's form plugin to do
that.  What you won't get with html forms however, is a nice little
status bar telling you how much you have uploaded.  For that you
definitely need flash or a java applet or something similar.  That's
why when google uploads your attachment, it just annoying says
"Working..." then "Still Working..." because they don't actually have
any idea how much of the file(s) has been transfered up to that point.

> Il giorno ven, 09/05/2008 alle 15.43 +0530, Suresh V. ha scritto:
>> Has anyone come across a Multiple File field type that be used in a
>> form? This is to allow an unlimited number of files to be uploaded in a
>> single form.

I haven't seen a field or a widget that does this automagically.  I
would argue that this wouldn't even be a field.  I would probably
instead have an object field pointing to a container, which itself is
meant to contain the files you are uploading.

class IMyFile(zope.interface.Interface(zope.interface.Interface):
  file = zope.schema.Bytes()

class IMyFileUploader(zope.interface.Interface):
  files = zope.schema.Object(schema=zope.app.container.interfaces.IContainer)

Then there are a multitude of ways to turn this into a pretty upload
form, with increasing difficulty as you approach a highly generic
solution.


-- 
Paul Carduner
http://www.carduner.net
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Multiple File upload field?

2008-05-13 Thread Andrea Ratto
I think something like that is achieved through a flash object, not with
normal html form. I'm not a 100% sure though.

Il giorno ven, 09/05/2008 alle 15.43 +0530, Suresh V. ha scritto:
> Has anyone come across a Multiple File field type that be used in a 
> form? This is to allow an unlimited number of files to be uploaded in a 
> single form.
> 
> I know this exists in the Plone world. Just wanted to check for an 
> analogous field for a zope3 application.
> 
> Thanks.
> 
> Suresh
> 
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Software developer for a Zope3 project needed

2008-05-13 Thread Hermann Himmelbauer
Hi,
We are currently looking out for a Zope3/Python developer for an interesting 
project lasting approx. 30 to 35 days. I can't give exact details yet, but 
the following profile should be met:

- High Zope3 skills - the project is 100% based on Zope3 technology, moreover, 
the project may include Zope3 enhancements that should find it's way into the 
Zope3 SVN, therefore involvement in the Zope3 community is a clear advantage.
- Good Python and HTML knowledge

The following points would be an advantage:

- z3c.form/pagelet knowhow as our project is based on these packages
- Knowledge about mobile-phone development (XHTML MP) and CSS
- German speaking
- The project can probably not be done from remote, personal presence will be 
required. Our location is near Vienna (Austria/Europe), so if you are located 
near us, things are a lot simpler. 

The exact schedule is not yet planned, but will be somewhere in june to 
august.

Please contact me, if you interested or want to know further details!

Best Regards,
Hermann

-- 
[EMAIL PROTECTED]
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users