Hi list, I’m trying to put html link in a hint
element using : <xforms:input
ref="instance('demande')/cd"> <xforms:label
class="books-label">Code sélectionné : </xforms:label> <xforms:hint> <div id='cd'><a
href="/article.php3?id_article=30" alt="Consultation
des listes de références">Rechercher le code <img
align="absmiddle" border="0" height="16px" src="/apps/o.g.r.e.s/images/ln18.gif"/> </a></div> </xforms:hint> </xforms:input> In the documentation, it seems that’s one way
to do that but can’t get it work. I also tried using an instance and make
an output linked to that instance without success. Any hints? Thanks a lot. Francois. -- 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 |
Administrator
|
Francois,
This was not supported, but some work done recently for labels made it easy for us to fix it. This should now work in the next nightly build. -Erik François-Xavier PRUNAYRE wrote: > Hi list, I’m trying to put html link in a hint element using : > > > > <xforms:input ref="instance('demande')/cd"> > > <xforms:label class="books-label">Code sélectionné : </xforms:label> > > <xforms:hint> > > <div id='cd'><a href="/article.php3?id_article=30" > > > alt="Consultation des listes de références">Rechercher le code > > > <img align="absmiddle" border="0" height="16px" > > > src="/apps/o.g.r.e.s/images/ln18.gif"/> > > </a></div> > > </xforms:hint> > > > </xforms:input> > > > > In the documentation, it seems that’s one way to do that but can’t get > it work. I also tried using an instance and make an output linked to > that instance without success. > > > > Any hints? > > > > Thanks a lot. > > Francois. > > -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by François-Xavier PRUNAYRE
François,
On 8/16/07, François-Xavier PRUNAYRE <[hidden email]> wrote: > <xforms:hint> > <div id='cd'><a > href="/article.php3?id_article=30" > [...] This is now supported in the latest nightly builds. Give it a try and let us know how this works for you. Note that your hint is still displayed next to the "{" symbol, so you will need to pay attention to what you put there. For instance, using a span will look better than a div (which will be displayed on the following line). Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi Alex,
Using latest nightly builds, this works fine : <xforms:hint> (<a href="http://sandre.eaufrance.fr/app/References/client.php" alt="Consultation des listes de références">Consulter le site sandre pour trouver un code </a>) </xforms:hint> But that one doesn't :( <xforms:hint><a href="http://sandre.eaufrance.fr/app/References/client.php" alt="Consultation des listes de références">Consulter le site sandre pour trouver un code </a> </xforms:hint> Any ideas? Thanks. Alex -----Message d'origine----- De : [hidden email] [mailto:[hidden email]] De la part de Alessandro Vernet Envoyé : samedi 25 août 2007 00:55 À : [hidden email] Objet : Re: [ops-users] Html in Hint François, On 8/16/07, François-Xavier PRUNAYRE <[hidden email]> wrote: > <xforms:hint> > <div id='cd'><a > href="/article.php3?id_article=30" > [...] This is now supported in the latest nightly builds. Give it a try and let us know how this works for you. Note that your hint is still displayed next to the "{" symbol, so you will need to pay attention to what you put there. For instance, using a span will look better than a div (which will be displayed on the following line). Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
On 9/6/07, a.piaser <[hidden email]> wrote:
> Using latest nightly builds, this works fine : > <xforms:hint> (<a href="http://sandre.eaufrance.fr/app/References/client.php" alt="Consultation des listes de références">Consulter le site sandre pour trouver un code </a>) > </xforms:hint> > > But that one doesn't :( > <xforms:hint><a href="http://sandre.eaufrance.fr/app/References/client.php" alt="Consultation des listes de références">Consulter le site sandre pour trouver un code </a> > </xforms:hint> You are saying that it doesn't work anymore when you remove the parenthesis? Indeed, that wouldn't be good. But I have been unable to reproduce this. See my attempt in the attached file. Can you get an example that runs in the sandbox and reproduces this issue? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws select-open.xhtml (3K) Download Attachment |
Free forum by Nabble | Edit this page |