Hi.
I have a problem with repeat. I want to trigger a action when index of repeat change. How can I do it ? 你 邮 箱 里 居 然 有 积 分 , 这 你 知 道 吗 ? 邮 箱 积 分 居 然 能 换 2 0 元 钱 , 这 你 也 知 道 吗 ? 点 此 兑 换 2 0 元 >> -- 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 |
Administrator
|
Good question. You could add an instance, set the value of a node in
that instance to the value of the index with an <xforms:bind calculate="...">, add a control that you bind to that node and hide with CSS, and listen to xforms-value-changed on that control. This seems a little convoluted. Anyone has a better suggestion? Alex On 11/26/06, hechengrong <[hidden email]> wrote: > Hi. > I have a problem with repeat. I want to trigger a action when index of > repeat change. How can I do it ? > > > > > > > 你 邮 箱 里 居 然 有 积 分 , 这 你 知 道 吗 ? > 邮 箱 积 分 居 然 能 换 2 0 元 钱 , 这 你 也 知 道 吗 ? 点 此 兑 换 2 0 元 >> > > -- > 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 > > > -- Blog (XML, Web apps, Open Source): 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Thank you very much! I will try it.
Good question. You could add an instance, set the value of a node in that instance to the value of the index with an <xforms:bind calculate="...">, add a control that you bind to that node and hide with CSS, and listen to xforms-value-changed on that control. This seems a little convoluted. Anyone has a better suggestion? Alex On 11/26/06, hechengrong <[hidden email]> wrote: > Hi. > I have a problem with repeat. I want to trigger a action when index of > repeat change. How can I do it ? > > > > > > > 你 邮 箱 里 居 然 有 积 分 , 这 你 知 道 吗 ? > 邮 箱 积 分 居 然 能 换 2 0 元 钱 , 这 你 也 知 道 吗 ? 点 此 兑 换 2 0 元 >> > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: [hidden email] > For general help: [hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ 女 友 9 9 元 b u y 的 新 款 O N L Y 秋 冬 女 人 精 品 女 装 全 场 火 热 促 销 2 9 元 - 1 9 9 元 , 抢 呀 ( 图 ) -- 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 |
Free forum by Nabble | Edit this page |