pop-up displaying a file

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

pop-up displaying a file

gayatri.tilak

Hi everybody,

I am a debutant at Orbeon....I develop forms in xhtml n test them using orbeon.
I wish to implement the following function :

on clicking a button a pdf should be opened in a new window. the entire path of
the pdf is known, it is in the same folder as the xhtml

i am able to display images i.e. files of format .gif using <img src="path"/>

i tried using <output type="file"/>
is there a different tag i am supposed to use?


--
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: pop-up displaying a file

Alessandro  Vernet
Administrator
Gayatri,

You could use an <xforms:load> in an <xforms:trigger> for this, but
why not simply use <xhtml:a href="your-file.pdf" target="_blank">Open
my PDF</xhtml:a>?

Alex

On Thu, Jul 29, 2010 at 8:07 AM,  <[hidden email]> wrote:

>
> Hi everybody,
>
> I am a debutant at Orbeon....I develop forms in xhtml n test them using orbeon.
> I wish to implement the following function :
>
> on clicking a button a pdf should be opened in a new window. the entire path of
> the pdf is known, it is in the same folder as the xhtml
>
> i am able to display images i.e. files of format .gif using <img src="path"/>
>
> i tried using <output type="file"/>
> is there a different tag i am supposed to use?
>
>
> --
> 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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Réf. : Re: pop-up displaying a file

gayatri.tilak
Thank you Alex !!!

Gayatri TILAK
Stagiaire ABCnet
Tél.: (+33)1.61.45.56.15 (45.56.15)
[hidden email]


                                                                       
             Alessandro                                                
             Vernet                                                    
             <avernet@orbeon.                                         Pour
             com>                      ops-users <[hidden email]>  
                                                                        cc
             29/07/2010 23:08                                          
                                                                     Objet
                                       [ops-users] Re: pop-up displaying a
                 Veuillez              file                            
                répondre à                                        
             [hidden email]                                          
                    g                                                  
                                                                       
                                                                       
                                                                       




Gayatri,

You could use an <xforms:load> in an <xforms:trigger> for this, but
why not simply use <xhtml:a href="your-file.pdf" target="_blank">Open
my PDF</xhtml:a>?

Alex

On Thu, Jul 29, 2010 at 8:07 AM,  <[hidden email]> wrote:
>
> Hi everybody,
>
> I am a debutant at Orbeon....I develop forms in xhtml n test them using
orbeon.
> I wish to implement the following function :
>
> on clicking a button a pdf should be opened in a new window. the entire
path of
> the pdf is known, it is in the same folder as the xhtml
>
> i am able to display images i.e. files of format .gif using <img
src="path"/>
>
> i tried using <output type="file"/>
> is there a different tag i am supposed to use?
>
>
> --
> 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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet

--
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




--
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