submission availability to dynamic xforms model

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

submission availability to dynamic xforms model

Alexander Žaťko
I have a .XPL generating (classic) XForms model. I tried to access the
submitted instance on the input, but it does not look like it is
available. Neither seem to be available regular POST and GET data
there. Am I just not "looking" right? I would like to try to remove the
regular "model" attribute from the "page" element and have just "view"
and  "xforms" elements.

For illustration, this is what I have now:

<page id="asn" path-info="/asn" xforms="iedi-model.xpl"
model="ship.xpl" view="view.xsl">

This is what I would like to have (if I can access the user-submitted
data on the "iedi-model.xpl"):

<page id="asn" path-info="/asn" xforms="iedi-model.xpl" view="view.xsl">

A.




--
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
Reply | Threaded
Open this post in threaded view
|

Re: submission availability to dynamic xforms model

Erik Bruchez
Administrator
Alexander Zatko wrote:

> I have a .XPL generating (classic) XForms model. I tried to access the
> submitted instance on the input, but it does not look like it is
> available. Neither seem to be available regular POST and GET data there.
> Am I just not "looking" right? I would like to try to remove the regular
> "model" attribute from the "page" element and have just "view" and  
> "xforms" elements.
>
> For illustration, this is what I have now:
>
> <page id="asn" path-info="/asn" xforms="iedi-model.xpl" model="ship.xpl"
> view="view.xsl">
>
> This is what I would like to have (if I can access the user-submitted
> data on the "iedi-model.xpl"):
>
> <page id="asn" path-info="/asn" xforms="iedi-model.xpl" view="view.xsl">
With 2.8, the only way you can access sumbitted data in the XForms model
pipeline is using the Request generator. The "instance" input of that
pipeline is always empty.

With 3.0 on the other hand, you can always access a submitted XML
document in your page model and page view (and you no longer have the
concept of a separate XForms model).

-Erik



--
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
Reply | Threaded
Open this post in threaded view
|

Re: submission availability to dynamic xforms model

Alexander Žaťko
I forgot to mention that I use 3.0 beta and am using classic XForms
intentionally for several reasons. Can I access the user-submitted
instance in this scenario with in an XPL that is referenced on the
"xforms" element? I know that I can access instance on the "model" and
"view" but this is not what I am after.

Thanks

A.


On Jan 6, 2006, at 11:26 AM, Erik Bruchez wrote:

> Alexander Zatko wrote:
>> I have a .XPL generating (classic) XForms model. I tried to access
>> the submitted instance on the input, but it does not look like it is
>> available. Neither seem to be available regular POST and GET data
>> there. Am I just not "looking" right? I would like to try to remove
>> the regular "model" attribute from the "page" element and have just
>> "view" and  "xforms" elements.
>> For illustration, this is what I have now:
>> <page id="asn" path-info="/asn" xforms="iedi-model.xpl"
>> model="ship.xpl" view="view.xsl">
>> This is what I would like to have (if I can access the user-submitted
>> data on the "iedi-model.xpl"):
>> <page id="asn" path-info="/asn" xforms="iedi-model.xpl"
>> view="view.xsl">
>
> With 2.8, the only way you can access sumbitted data in the XForms
> model pipeline is using the Request generator. The "instance" input of
> that pipeline is always empty.
>
> With 3.0 on the other hand, you can always access a submitted XML
> document in your page model and page view (and you no longer have the
> concept of a separate XForms model).
>
> -Erik
>
>
> --
> 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



--
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
Reply | Threaded
Open this post in threaded view
|

Re: submission availability to dynamic xforms model

Erik Bruchez
Administrator
No, whether you use 2.8 or 3.0 doesn't make a difference here: the
XForms model pipeline (used only with XForms Classic) does not receive
anything on its "instance" input.

-Erik

Alexander Zatko wrote:

> I forgot to mention that I use 3.0 beta and am using classic XForms
> intentionally for several reasons. Can I access the user-submitted
> instance in this scenario with in an XPL that is referenced on the
> "xforms" element? I know that I can access instance on the "model" and
> "view" but this is not what I am after.
>
> Thanks
>
> A.
>
>
> On Jan 6, 2006, at 11:26 AM, Erik Bruchez wrote:
>
>> Alexander Zatko wrote:
>>
>>> I have a .XPL generating (classic) XForms model. I tried to access
>>> the submitted instance on the input, but it does not look like it is
>>> available. Neither seem to be available regular POST and GET data
>>> there. Am I just not "looking" right? I would like to try to remove
>>> the regular "model" attribute from the "page" element and have just
>>> "view" and  "xforms" elements.
>>> For illustration, this is what I have now:
>>> <page id="asn" path-info="/asn" xforms="iedi-model.xpl"
>>> model="ship.xpl" view="view.xsl">
>>> This is what I would like to have (if I can access the user-submitted
>>> data on the "iedi-model.xpl"):
>>> <page id="asn" path-info="/asn" xforms="iedi-model.xpl" view="view.xsl">
>>
>>
>> With 2.8, the only way you can access sumbitted data in the XForms
>> model pipeline is using the Request generator. The "instance" input of
>> that pipeline is always empty.
>>
>> With 3.0 on the other hand, you can always access a submitted XML
>> document in your page model and page view (and you no longer have the
>> concept of a separate XForms model).
>>
>> -Erik
>>
>>
>> --
>> 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
>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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



--
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