Hi Erik,

Le mercredi 15 d�cembre 2004 � 19:14 +0100, Erik Bruchez a �crit :

> doc('oxf:instance') is now doc('input:instance'), 

Starting with 2.6 or in the current CVS?

> in fact, based on on of your suggestions! 

Nice, thanks!

> Either way it is a mechanism that can be used from 
> an XSLT stylesheet to access optional, user-defined processor inputs. 
> This is now documented much better in the current CVS. But it is not a 
> "pull" mechanism to call pipelines, as I remember we discussed a while ago.
> 
> In the case of a page view stylesheet called by the PFC, the "instance" 
> input is automatically connected to the page view stylesheet, so you can 
> always access the instance from the sylesheet with doc('input:instance') 
> or document('input:instance').
> 
> This does not apply to a pipeline called from the PFC to build an XForms 
> model. Even if just a stylesheet was used, it wouldn't have access to 
> the XForms instance just yet, because the model must be built before. 

OK, that makes sense!

> But you are probably just referring to the "pull" mechanism here.

No, I was just referring to "classical" inputs. 

> > Is that normal? Could that be done without breaking the architecture of
> > the page flow controller? If that was possible, this would let us group
> > the operations related to fetching and saving instances in a single
> > pipeline.
> 
> So yes it's normal. This said, you can always build a pipeline that 
> fetches and saves instances and reuse it to your heart's content, by 
> calling it from other pipelines.

Yes, but then am I right to say that you need to fetch the instance in
the PFC to build the XForms model and to save it in either the pipeline
for the model or the pipeline for the view or is there a single location
where I could do both?

Thanks,

Eric
-- 
Read me on XML.com.
                                            http://www.xml.com/pub/au/74
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to