YAHOO UI library components in OPS

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

YAHOO UI library components in OPS

Pascal Heus
I'm using the YAHOO UI library in many of my applications and noticed
that most of the components are actually now included in Orbeon but not
in all pages. When are these loaded (with XForms?) and which components
are automatically included? Just want to avoid loading them twice under
different URLs.
I'm particularly interested in the connection, events and tree control
components.
thanks
<p/>





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: YAHOO UI library components in OPS

Erik Bruchez
Administrator
Pascal,

We are currently using it only for the slider component that you can see
here:

http://www.orbeon.com/ops/goto-example/xforms-flickr-resize

Yes, if you don't use XForms NG, the JS files won't be loaded at all.
Inclusions used to be done in the theme but are now done by the XForms
engine.

Currently, we are not very smart, in that we add all the JS files
whether a component is used or not. But in the future, we would like to
be smarter about that, of course.

-Erik

Pascal Heus wrote:
> I'm using the YAHOO UI library in many of my applications and noticed
> that most of the components are actually now included in Orbeon but not
> in all pages. When are these loaded (with XForms?) and which components
> are automatically included? Just want to avoid loading them twice under
> different URLs.
> I'm particularly interested in the connection, events and tree control
> components.
> thanks
> <p/>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

XForms upload control

Josh Joy
Hi All,
 
2 questions.
 
1. Is it possible with Xforms to upload all files from one directory?
 
2. Is it possible with Xforms to browse the actual server directory and pick and choose files (which xforms will then recognize the files chosen so now I can do further work with what the user selected)
 
Thanks,
Josh


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: XForms upload control

Ryan Puddephatt

Josh,

            Are you picking files from the users PC or from the Server. If you are picking from the users PC I believe the upload control is the only way, this has to be done one file at a time. I believe for security reasons there is no other way!

 

Ryan Puddephatt

Software Engineer

TFX Group - IT UK

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

* [hidden email]

( 01506 407 110

7  01506 407 108

 


From: Josh Joy [mailto:[hidden email]]
Sent: 29 March 2006 23:04
To: [hidden email]
Subject: [ops-users] XForms upload control

 

Hi All,

 

2 questions.

 

1. Is it possible with Xforms to upload all files from one directory?

 

2. Is it possible with Xforms to browse the actual server directory and pick and choose files (which xforms will then recognize the files chosen so now I can do further work with what the user selected)

 

Thanks,

Josh



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: XForms upload control

Josh Joy
Ryan,
 
Yes, I will be retrieving from the users PC. I was hoping they could select a bunch of files and then XForms could upload them. However, as you mentioned this does not seem to be possible...
 
So, unless there is a way to do this, I guess I will have to have the user upload all the files to the server by themselves. So now, my second question is, how do I have XForms do upload and browse the "actual server" directory structures.
 
Thanks,
Josh

Ryan Puddephatt <[hidden email]> wrote:
Josh,
            Are you picking files from the users PC or from the Server. If you are picking from the users PC I believe the upload control is the only way, this has to be done one file at a time. I believe for security reasons there is no other way!
 
Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
( 01506 407 110
7  01506 407 108
 

From: Josh Joy [mailto:[hidden email]]
Sent: 29 March 2006 23:04
To: [hidden email]
Subject: [ops-users] XForms upload control
 
Hi All,
 
2 questions.
 
1. Is it possible with Xforms to upload all files from one directory?
 
2. Is it possible with Xforms to browse the actual server directory and pick and choose files (which xforms will then recognize the files chosen so now I can do further work with what the user selected)
 
Thanks,
Josh

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: XForms upload control

Ryan Puddephatt

Not sure of the names of the directory processor, but its in the Orbeon Docs, also a file-serializer will save files

 

Ryan Puddephatt

Software Engineer

TFX Group - IT UK

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

* [hidden email]

( 01506 407 110

7  01506 407 108

 


From: Josh Joy [mailto:[hidden email]]
Sent: 29 March 2006 23:28
To: [hidden email]
Subject: RE: [ops-users] XForms upload control

 

Ryan,

 

Yes, I will be retrieving from the users PC. I was hoping they could select a bunch of files and then XForms could upload them. However, as you mentioned this does not seem to be possible...

 

So, unless there is a way to do this, I guess I will have to have the user upload all the files to the server by themselves. So now, my second question is, how do I have XForms do upload and browse the "actual server" directory structures.

 

Thanks,

Josh

Ryan Puddephatt <[hidden email]> wrote:

Josh,

            Are you picking files from the users PC or from the Server. If you are picking from the users PC I believe the upload control is the only way, this has to be done one file at a time. I believe for security reasons there is no other way!

 

Ryan Puddephatt

Software Engineer

TFX Group - IT UK

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

( 01506 407 110

7  01506 407 108

 


From: Josh Joy [mailto:[hidden email]]
Sent: 29 March 2006 23:04
To: [hidden email]
Subject: [ops-users] XForms upload control

 

Hi All,

 

2 questions.

 

1. Is it possible with Xforms to upload all files from one directory?

 

2. Is it possible with Xforms to browse the actual server directory and pick and choose files (which xforms will then recognize the files chosen so now I can do further work with what the user selected)

 

Thanks,

Josh


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms upload control

Alessandro  Vernet
Administrator
In reply to this post by Josh Joy
On 3/29/06, Josh Joy <[hidden email]> wrote:
> Yes, I will be retrieving from the users PC. I was hoping they could select
> a bunch of files and then XForms could upload them. However, as you
> mentioned this does not seem to be possible...

Josh,

This is a limitation of the HTML: you can only upload one file per
upload control. With XForms you can easily create a UI where the user
clicks on "add file" and an additional upload control is added in the
page. But the user will still need to do "add file", and select the
file for each file to upload. This can work if you have 5 files to
upload, but it won't be a suitable UI if you have 50 files to upload.
Unfortunately again, this is a limitation of HTML, and there is really
no way around it.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: XForms upload control

Alessandro  Vernet
Administrator
In reply to this post by Ryan Puddephatt
On 3/29/06, Ryan Puddephatt <[hidden email]> wrote:
> Not sure of the names of the directory processor, but its in the Orbeon
> Docs, also a file-serializer will save files

It is the directory scanner. And here is the documentation:

http://www.orbeon.com/ops/doc/processors-directory-scanner

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: XForms upload control

Stephen Bayliss
In reply to this post by Josh Joy
Suggestion here -- could you get the user to zip the files and then
upload the zip file?

Your problem then would be unzipping them on the server.  I think you
would have to write your own processor to do that -- or maybe modify the
file processor?

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of
Alessandro Vernet
Sent: 30 March 2006 09:12
To: [hidden email]
Subject: Re: [ops-users] XForms upload control

On 3/29/06, Josh Joy <[hidden email]> wrote:
> Yes, I will be retrieving from the users PC. I was hoping they could
select
> a bunch of files and then XForms could upload them. However, as you
> mentioned this does not seem to be possible...

Josh,

This is a limitation of the HTML: you can only upload one file per
upload control. With XForms you can easily create a UI where the user
clicks on "add file" and an additional upload control is added in the
page. But the user will still need to do "add file", and select the
file for each file to upload. This can work if you have 5 files to
upload, but it won't be a suitable UI if you have 50 files to upload.
Unfortunately again, this is a limitation of HTML, and there is really
no way around it.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms upload control

Alessandro  Vernet
Administrator
On 3/30/06, Stephen Bayliss <[hidden email]> wrote:
> Suggestion here -- could you get the user to zip the files and then
> upload the zip file?

I like this suggestion, and am in fact surprised that it is not more
widely implemented by web sites that allow users to upload data
(Flickr, Yahoo! Briefcase, ...). Maybe the reason being that depending
on your audience, most users just won't know how to zip up a set of
files.

> Your problem then would be unzipping them on the server.  I think you
> would have to write your own processor to do that -- or maybe modify the
> file processor?

A separate processor sounds like a good idea.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet