Declaring parameters

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

Declaring parameters

damien.peymirat
Hi all,


   I would like to know if it is possible to declare some parameters with OPS ??
For example, I have an instance and a form like that :

<instance>
   <object/>
</instance>

...


<input ref="object">
...
</input>


I know that I can acces to the value with XPath (/object) but how to use this value as a parameter ??


Thank you

Damien.



--
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: Declaring parameters

Erik Bruchez
Administrator
Damien,

What do you mean by "parameter"? A parameter to what?

-Erik

[hidden email] wrote:

> Hi all,
>
>
>    I would like to know if it is possible to declare some parameters with OPS ??
> For example, I have an instance and a form like that :
>
> <instance>
>    <object/>
> </instance>
>
> ...
>
>
> <input ref="object">
> ...
> </input>
>
>
> I know that I can acces to the value with XPath (/object) but how to use this value as a parameter ??
>
>
> Thank you
>
> Damien.
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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 : Declaring parameters

Peymirat Damien
In reply to this post by damien.peymirat
Hi Erik,

In fact, I try to do something like that :

<instance>
  <form>
    <object/>
    <xi:include href="{form/object}"/>
  </form>
</instance>


<input ref="form/object"></input>  Here I enter test.xml for example


I would like the <xi:include> to change everytime the <object> is changed, but I don't see how to do.


Thank you for your help


Damien.




-----Message d'origine-----
De : Erik Bruchez [mailto:[hidden email]] De la part de Erik Bruchez
Envoyé : mercredi 26 juillet 2006 20:19
À : [hidden email]
Objet : Re: [ops-users] Declaring parameters


Damien,

What do you mean by "parameter"? A parameter to what?

-Erik

[hidden email] wrote:

> Hi all,
>
>
>    I would like to know if it is possible to declare some parameters
> with OPS ??
> For example, I have an instance and a form like that :
>
> <instance>
>    <object/>
> </instance>
>
> ...
>
>
> <input ref="object">
> ...
> </input>
>
>
> I know that I can acces to the value with XPath (/object) but how to
> use this value as a parameter ??
>
>
> Thank you
>
> Damien.
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/




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