W3C home > Mailing lists > Public > www-forms@w3.org > June 2007

Re: XForms and APP clients

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Fri, 1 Jun 2007 17:30:15 +0100
Message-ID: <640dd5060706010930o5794f88du12562a24f78fa9fb@mail.gmail.com>
To: "Nikunj Mehta" <nikunj.mehta@oracle.com>
Cc: "Atom-Protocol Protocol" <atom-protocol@imc.org>, www-forms <www-forms@w3.org>

Hi Nikunj,

Thanks for this...I'm starting to get there. :) Some of this is more
difficult than other parts, so I'll do the easy bits first.

> The problem here is that the link cannot be constructed in XForms.
> XForms can dump the href of this link as text on the XHTML output, but
> then it would be of little value in the feed reader. What I would have
> liked is if I could specify the following in the xforms:output control
>
> <xforms:output ref="atom:link[@rel='alternate']">
>     <a href="{@href}"><xforms:output ref="atom:title"/></a>
> </xforms:output>

This should be:

  <xf:trigger appearance="minimal">
    <xf:label ref="atom:title" />
    <xf:load ev:event="DOMActivate" ref="atom:link[@rel='alternate']/@href" />
  </xf:trigger>

Regards,

Mark

-- 
  Mark Birbeck, formsPlayer

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.
Received on Friday, 1 June 2007 16:30:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:09 GMT