Prefill the values without including the instance.

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

Prefill the values without including the instance.

satya
Hi all,
    Iam using the delegation processor in the xpl for getting the webservice response. Due to the constraints, i need to construct the model only in the view page. Please suggest, How to retrieve the values from the xpl into the view page, without including instance in the view.


Thanks for any help, in advance.
Regards
Satya K

Reply | Threaded
Open this post in threaded view
|

Re: Prefill the values without including the instance.

Erik Bruchez
Administrator
Satya,

Does only the initial *data* come from the service, or the model itself?

If the data, I would do the following:

- implement and expose the service with XPL
- call that service by sending an XForms submission upon
xforms-model-construct-done

See some information on the wiki about this:

http://wiki.orbeon.com/forms/doc/developer-guide/integration-web-services#TOC-Exposing-web-services
http://wiki.orbeon.com/forms/how-to/logic/load-initial-form-data#TOC-The-pull-solution

-Erik

On Fri, Apr 20, 2012 at 2:36 AM, satya <[hidden email]> wrote:

> Hi all,
>    Iam using the delegation processor in the xpl for getting the webservice
> response. Due to the constraints, i need to construct the model only in the
> view page. Please suggest, How to retrieve the values from the xpl into the
> view page, without including instance in the view.
>
>
> Thanks for any help, in advance.
>
> -----
> Regards
> Satya K
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Prefill-the-values-without-including-the-instance-tp4573348p4573348.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Prefill the values without including the instance.

satya
Thanks for the info, But my requirement is as follows.
-Im getting some values from the webservice responce which i tried to store in some variables in .xpl page.
-These values should be prefilled into some fields of an instance that is defined in the xhtml page.
-Iam constructing the model only in the xhtml page.
Please suggest any method to do this.
Regards
Satya K