Hi Alexander, Could you clarify what you mean by "Now i need to do something (toggle some switch, send some data somewhere, etc..) depends on received number."? You can compute the integer with a bind/calculate and store it in the instance. Then if you want to display or hide something in the view based on that he can use a bind/relevant. But I am not sure this is what you are looking for. Just let us know, so people on the list can elaborate further. Alex -- Orbeon The XML Service Company http://www.orbeon.com/ --- Alexander Anokhin <ava@vaz.ru> wrote: > > Hi, all... > Q: How can i achieve some kind of "choose/if" functionality in XForms? > The use case is: > 1. User input some data and press "Proceed"; > 2. XForms send it to server (with replace="instance"); > 3. The answer is a some integer number; > 4. Now i need to do something (toggle some switch, send some data > somewhere, etc..) depends on received number. > > Is it possible? > > > -- > Alexander Anokhin > AVTOVAZ JSC > mail:ava@vaz.ru > icq:123275798 > >Received on Thursday, 31 March 2005 02:12:08 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:00 GMT