W3C home > Mailing lists > Public > www-forms@w3.org > October 2009

Re: Inserting attributes from one instance to another

From: Aaron Reed <aaronr@us.ibm.com>
Date: Fri, 23 Oct 2009 13:16:02 -0500
To: www-forms@w3.org
Message-ID: <hbss04$qj9$1@ger.gmane.org>
It seems like a bug in our code.  At least I could recreate your issue 
with a testcase that I think is valid (fails in our code, works in 
Orbeon).  I opened a bug on it -> 
https://bugzilla.mozilla.org/show_bug.cgi?id=524164

--Aaron

Winona Salesky wrote:
> Sorry, that is just a cut and past issue. This code works in Orbeon, and 
> I believe it used to work with the firefox extension, but I'm not sure 
> when it stopped working.
> -Winon
> 
> On Fri, Oct 23, 2009 at 8:55 AM, Charles F Wiecha <wiecha@us.ibm.com 
> <mailto:wiecha@us.ibm.com>> wrote:
> 
>     Do you have an extra blank in your context xpath or is that just a
>     cut&paste issue? Charlie Wiecha
> 
> 
>     Inactive hide details for Winona Salesky ---10/23/2009 08:11:13
>     AM---I've been using the firefox extntion for a while and you Winona
>     Salesky ---10/23/2009 08:11:13 AM---I've been using the firefox
>     extntion for a while and you used to be able to insert attributes from
> 
> 
>     From:	
>     Winona Salesky <wsalesky@gmail.com <mailto:wsalesky@gmail.com>>
> 
>     To:	
>     www-forms@w3.org <mailto:www-forms@w3.org>
> 
>     Date:	
>     10/23/2009 08:11 AM
> 
>     Subject:	
>     Inserting attributes from one instance to another
> 
>     Sent by:	
>     www-forms-request@w3.org <mailto:www-forms-request@w3.org>
> 
>     ------------------------------------------------------------------------
> 
> 
> 
>     I've been using the firefox extntion for a while  and you used to be
>     able to insert attributes from one instance to another using the
>     following syntax:
>      <xforms:trigger appearance="minimal" ref="self::node()[not(@type)]">
>         <xforms:label>Add type</xforms:label>
>          <xforms:insert ev:event="DOMActivate"
>     context="instance('metadata')//mods:mods/
>     mods:titleInfo[index('titleInfo')]"
>                origin="instance('template')/mods:titleInfo/@type"/>
>     </xforms:trigger>
> 
> 
>     This does not appear to work anymore, is my syntax wrong, or is this
>     no longer supported?
> 
>     Thanks.
> 
>     -Winona
> 
> 
Received on Friday, 23 October 2009 18:39:14 GMT

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