Hi, My form has an image button in it whose code is as
follows: <xforms:trigger appearance="minimal"
>
<xforms:label><xhtml:img src="controlpanel.bmp"
/></xforms:label>
<xforms:label>...</xforms:label>
<xforms:action ev:event="DOMActivate"></xforms:action>
</xforms:trigger> The image is located in the filesystem in the path say,
C:/images. Is it possible to give the image path like <xhtml:img
src="file://C:/images/controlpanel.bmp"
/> Or is it mandatory that the image should reside inside the
server? Thanks Jency -- 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 |
Administrator
|
Jency,
This is the case in general with web applications, not only Orbeon Forms: image URLs have to point to paths that the web browser can then deference, and which must then reach a server able to load the resource. In the end, the resulting URL must be an HTTP URL, not a file URL. If you want to store your images in C:/images on your server, you will have to configure your web server to serve images in that directory as certain external URLs, and figure out some URL mappings. -Erik On Nov 23, 2007, at 4:22 AM, Jency Thomas wrote: > Hi, > > My form has an image button in it whose code is as follows: > <xforms:trigger appearance="minimal" > > <xforms:label><xhtml:img src="controlpanel.bmp" /></ > xforms:label> > > <xforms:label>...</xforms:label> > > <xforms:action ev:event="DOMActivate"></xforms:action> > > </xforms:trigger> > > The image is located in the filesystem in the path say, C:/images. > Is it possible to give the image path like <xhtml:img src="file://C:/ > images/controlpanel.bmp" /> > Or is it mandatory that the image should reside inside the server? > > Thanks > Jency > > > -- > 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 |
Free forum by Nabble | Edit this page |