How to implement download functionality!

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

How to implement download functionality!

Laxmi Narayana-3
Hello,
 
I need file download functionality in my application.
 
It should work like,
 
I have one file in bin folder of tomcat and I have to give one icon on my XHTML page.
Now on click of that icon I have to download that file!


Please help me, I am new in XForms, It is urgent in my project!

Thanks in advance,
Laxmi Narayana.



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to implement download functionality!

fl.schmitt(ops-users)
Laxmi,

> I need file *download functionality* in my application.

have you tried to use the resource server?
http://www.orbeon.com/ops/doc/processors-other#resource-server

HTH
florian


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: How to implement download functionality!

Erik Bruchez
Administrator
For now, you have to server resources using this or a pipeline using  
oxf:url-generator/oxf:http-serializer.

Soon we will allow xforms:output to provide more of a "download" mode  
as well, but that's not implemented yet.

-Erik

On Sep 11, 2008, at 5:23 AM, Florian Schmitt wrote:

> Laxmi,
>
>> I need file *download functionality* in my application.
>
> have you tried to use the resource server?
> http://www.orbeon.com/ops/doc/processors-other#resource-server
>
> HTH
> florian
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Alert icon not shown if there is no xforms:alert defined

Antoine.DE-TROOSTEMBERGH
In reply to this post by Laxmi Narayana-3
Hi,
 
I have installed orbeon 3.7 and found the following differences with 3.6
 
- the width of xxforms:dialog boxes is not correct in Internet Explorer (already logged #311108)
- the alert icon is not shown if no xforms:alert is defined for an input, even if there is the constraint is not fullfilled.
For instance, the alert icon will not be shown, even if the value is empty.

<xforms:bind nodeset="test" constraint=".!=''"/>

<xforms:input ref="test" /> .

I don't know if this is the correct implementation or not.
Attached you will find an example running in the XForms Sandbox
 

Thanks,

Antoine

 


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws

bug_alert.xhtml (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Alert icon not shown if there is no xforms:alert defined

Antoine.DE-TROOSTEMBERGH
Alert icon not shown if there is no xforms:alert defined

Hi, I have installed orbeon 3.7 and found the following differences with 3.6 - the width of xxforms:dialog boxes is not correct in Internet Explorer (already logged #311108)

- the alert icon is not shown if no xforms:alert is defined for an input, even if there is the constraint is not fullfilled.

For instance, the alert icon will not be shown, even if the value is empty.
<xforms:bind nodeset="test" constraint=".!=''"/>
<xforms:input ref="test" /> .
I don't know if this is the correct implementation or not.
Attached you will find an example running in the XForms Sandbox
Thanks,
Antoine
<<bug_alert.xhtml>>



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws

bug_alert.xhtml (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Alert icon not shown if there is no xforms:alert defined

Erik Bruchez
Administrator
This regression was not intended. I have updated your bug with some  
more information.

-Erik

On Sep 15, 2008, at 11:17 PM, <Antoine.DE-
[hidden email]> <[hidden email]
 > wrote:

> Hi, I have installed orbeon 3.7 and found the following differences  
> with 3.6 - the width of xxforms:dialog boxes is not correct in  
> Internet Explorer (already logged #311108)
>
> - the alert icon is not shown if no xforms:alert is defined for an  
> input, even if there is the constraint is not fullfilled.
>
> For instance, the alert icon will not be shown, even if the value is  
> empty.
> <xforms:bind nodeset="test" constraint=".!=''"/>
> <xforms:input ref="test" /> .
> I don't know if this is the correct implementation or not.
> Attached you will find an example running in the XForms Sandbox
> Thanks,
> Antoine
> <<bug_alert.xhtml>>
>
> <bug_alert.xhtml>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws