[Plone-Users] Attach multiple files to an archetype

5 Messages Forum Options Options
Embed this topic
Permalink
Alain Schoenmakers-2
[Plone-Users] Attach multiple files to an archetype
Reply Threaded MoreMore options
Print post
Permalink
Hi All,

I want to attach multple files to one archetype.
A FileField doesn't support more then one file
What other field can be used to solve this ?
AttachmentField ??

Thanx,
Grtz,
Alain




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Andreas Jung
Re: [Plone-Users] Attach multiple files to an archetype
Reply Threaded MoreMore options
Print post
Permalink


--On 29. Juni 2006 08:53:11 +0200 Alain Schoenmakers <alain.s@...>
wrote:

> Hi All,
>
> I want to attach multple files to one archetype.
> A FileField doesn't support more then one file
> What other field can be used to solve this ?
> AttachmentField ??
>

Strange question :-) You can add multiple fields of the same type to your
schema...where is your problem?

-aj



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users

attachment0 (193 bytes) Download Attachment
Martin Aspeli-2
Re: [Plone-Users] Attach multiple files to an archetype
Reply Threaded MoreMore options
Print post
Permalink
Andreas Jung wrote:
> I want to attach multple files to one archetype.
> A FileField doesn't support more then one file
> What other field can be used to solve this ?
> AttachmentField ??
>

Strange question :-) You can add multiple fields of the same type to your
schema...where is your problem?
Almost certainly, he means he'd like to attach an arbitrary number, i.e. the user decides. RichDocument supports this, and you could re-use its widget for this - the basic idea is that your archetype is Folderish and you let people add Files to it - RichDocument just lets you add thsoe from the 'edit' tab instead of using the normal 'add item' menu.

Martin
Andreas Jung
Re: [Plone-Users] Attach multiple files to an archetype
Reply Threaded MoreMore options
Print post
Permalink


--On 29. Juni 2006 06:37:51 -0700 Martin Aspeli <optilude@...> wrote:

>
>
> Andreas Jung wrote:
>>
>>> I want to attach multple files to one archetype.
>>> A FileField doesn't support more then one file
>>> What other field can be used to solve this ?
>>> AttachmentField ??
>>>
>>
>> Strange question :-) You can add multiple fields of the same type to
>> your  schema...where is your problem?
>>
>
> Almost certainly, he means he'd like to attach an arbitrary number, i.e.
> the user decides.
There seems to be a difference between what ppl write and ppl mean :-)
Anyway ....possibly on could use ArrayField to provide an reasonable UI
support for multiple FileFields.

-aj




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users

attachment0 (193 bytes) Download Attachment
Alain Schoenmakers-2
Re: [Plone-Users] Attach multiple files to an archetype
Reply Threaded MoreMore options
Print post
Permalink
Well....i'm sorry, it seems i didn't make myselve clear enough but martin
interpreted my question the right way.
I want the user to decide how many documents(files) can be attached.
Adding the to fields to the schema is not an option then.......I will try to
be more specific the next time..

Grtz,
Alain
"Andreas Jung" <lists@...> schreef in
bericht news:4760BA0CEACF88537DEBEE18@[192.168.0.28]...
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


--------------------------------------------------------------------------------


> _______________________________________________
> Plone-Users mailing list
> Plone-Users@...
> https://lists.sourceforge.net/lists/listinfo/plone-users
>




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users