Displaying a URL

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

Displaying a URL

mjgraham
Hi,

I have an instance:

<xforms:instance id="result">
  <result>
    <url>http://some.url.com</url>
  </result>
</xforms:instance>

and I want to display this as a hyperlink in the form but not using the
submit xxform:appearance="link". Can I do this with xforms:output? How
can I put an xforms:output into a <a href="...">?

    Cheers,

    Matthew




--
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: Displaying a URL

Damiano Albani-2
On 9/23/06, Matthew Graham <[hidden email]> wrote:

> and I want to display this as a hyperlink in the form but not using the
> submit xxform:appearance="link". Can I do this with xforms:output? How
> can I put an xforms:output into a <a href="...">?

    <xforms:output mediatype="text/html" value="concat('&lt;a
href=&quot;', instance('result')/url, '&quot;&lt;',
instance('result')/url, '&lt;/a&gt;')"/>

Should work :-)

--
Damiano ALBANI



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