Re: [Xsltforms-support] Repeat/Insert with context and origin attributes not working
Brought to you by:
alain-couthures
From: Elias M. <eli...@gm...> - 2013-01-10 16:20:50
|
Duuuh! You're right. I guess after looking at the same code for hours you don't see little things like that anymore :-( Thanks for catching. It works fine now. On Wed, Jan 9, 2013 at 4:58 PM, Stephen Cameron <ste...@gm...>wrote: > missing namespace in the @origin I think. @origin does not select anything > so its falling back to a default behaviour (I think). confusion! > > On Thu, Jan 10, 2013 at 8:32 AM, Elias Mazur <eli...@gm...> wrote: > >> Hi. >> >> I'm trying to use the "context" and "origin" attributes with xf:insert to >> insert blank records. I have an instance with the fields I need to display >> empty. The insert statement is: >> >> <xf:insert context="instance('sd-model_substance')" >> nodeset="hl7v3:component3" at="last()" position="after" >> origin="instance('sd-model_substance_empty')/component3"/> >> >> It does work but it seems to be inserting a row that is the same as the >> last on in the model used to capture the data, not the empty one referred >> to by the "origin" attribute. >> >> Any ideas? >> Thanks. >> Elias >> >> >> ------------------------------------------------------------------------------ >> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery >> and much more. Keep your Java skills current with LearnJavaNow - >> 200+ hours of step-by-step video tutorials by Java experts. >> SALE $49.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122612 >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >> >> > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > |