View Full Version : File Upload
captainm1uk
09-24-2007, 05:54 AM
Hi
Is there a file upload control for ext ? if so where is it
Thanks
galdaka
09-24-2007, 09:22 AM
Sorry for my English,
I think domino web based application have two requirements:
1) Dialog based uploaded file manager. http://extjs.com/forum/showthread.php?p=57349#post57349
2) Non-Dialog (In Form or other container) based uploader.
Bun he himself component. like this:
var up1 = new Ext.ux.form.Uploader([container], [options])
If container is empty, the uploader it
becomcs
09-24-2007, 09:36 AM
I din't think so.
I take the opportunity of this thread to extend it.
Objectivs are :
List file attachement functional requirement.
Provide use cases to manage File Attachement in web apps
Personaly my requirement is
Attache many files in the same document but in many sections.
Attachements can't be detached on a hard drive by the server.
Attachements should'nt be managed against server perfs.
Actualy, my headache push me to try to manage attachement in a specifique form in an other database. But I don't start to code it. Have you some XP return about this kind of management?
galdaka
09-24-2007, 01:03 PM
Attache many files in the same document but in many sections.
new Ext.ux.form.Uploader(container1, [options])
new Ext.ux.form.Uploader(container2, [options])
...
The unique key for each attachment control may be the ID of the document + specific literal like: "section01".
new Ext.ux.form.uploader(key, [container], [options])
In options you can specify external database for storage the attachments for example.
Or you can specify "url" (Agent) that returns XML for print the interface.
I think that is important minimize "Domino Code".It
captainm1uk
09-24-2007, 05:36 PM
Erm - i am completely lost now - can someone give me some working example code to work with
Cheers
galdaka
09-25-2007, 02:11 AM
Erm - i am completely lost now - can someone give me some working example code to work with
Cheers
Is no code, only a idea for a hipotetical future proyect.
Posibilities:
new Ext.ux.form.Uploader(@Text(@DocumentUniqueID)) + 'section01', container, url, [options]);
If container is empty, the component only print a "button" for open the dialog to manage attachment
captainm1uk
09-25-2007, 05:09 AM
Sorry mate still lost - but great idea - I am not fully ok with ext yet. Still trying to get my head round it but the stuff looks great. I am currently putting some stuf into my web apps slowly but surely. At present I am putting a domino file upload control on my form but but for some reason it won't show - I am using the ext simple form layout and have put it in there - any ideas ?
Thanks
captainm1uk
09-27-2007, 06:19 AM
Hi
Can someone please give me a working example of file upload and how it is implemented
Thanks
mdm-adph
10-01-2007, 12:49 PM
I assume you're using Domino -- what's wrong with the default file upload control?
captainm1uk
10-01-2007, 03:15 PM
nothing but for some reason it doesn't show up when i put it inside ext - ie on a simple form
galdaka
05-13-2009, 02:19 PM
Example: http://www.jadacosta.es/contents/screencast/capture2.swf
I explain coming soon!! I have no time.
new Ext.ux.Domino.AnexManager({
pathAnex: 'dev/gfi/anex.nsf',
id: 'anex01',
documentID: '<Computed Value>',
loaderPath: '<Computed Value>',
renderTo: 'projectAnex01',
addCls: Ext.ux.iconMgr.getIcon('<Computed Value>', 'add'),
deleteCls: Ext.ux.iconMgr.getIcon('<Computed Value>', 'delete'),
windowMode: true,
editable: <Computed Value>,
bbarPlugins: [
new Ext.ux.grid.PageSizer({initialSize: 10}),
new Ext.ux.SlidingPager()
],
columnConfig: [
{header: 'Nombre', dataIndex: 'name', renderer: function(data){return unescape(data)}},
{header: 'Tamaño', dataIndex: 'formatSize', renderer: function(data){return unescape(data)}},
{header: 'Fecha creación', dataIndex: 'creationDate', renderer: function(data){return unescape(data)}}
]
});
Greetings,
mdm-adph
05-18-2009, 10:58 AM
I'm also working on a wee bit of code for File Uploads. ;)
Curious to see what you've been working on, too.
galdaka
08-20-2009, 08:29 AM
File Upload working: http://www.jadacosta.es/contents/screencast/capture4.swf
chiphi13
09-30-2009, 04:53 PM
Where can we get a copy of the file upload component?
cerad
09-30-2009, 08:36 PM
Where can we get a copy of the file upload component?
http://www.extjs.com/deploy/dev/examples/form/file-upload.html
galdaka
10-01-2009, 03:20 AM
File Upload working: http://www.jadacosta.es/contents/screencast/capture4.swf
If you want a Domino File upload like this, please contact me.
Greetings,
vajra
10-15-2009, 11:20 AM
Dear Gadalka,
Your Domino file upload control looks great. I am sure you have done lots of tricks to get this working in Domino. I would love it if you would send me copy of it so I could see how it works.
Thanks in advance,
Eli
:D
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.