Loosing readonly bindings after toggle xforms:switch

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

Loosing readonly bindings after toggle xforms:switch

Karolin Heiss
Hello all

Uff, what's going on here....
My input fields loose their read-only binding after I switch xforms:cases.

Some fields should appear to be read-only:
<xf:bind nodeset="FirstName" readonly="true()" />

The corresponding field is read-only as long as a trigger event toggle the next case.

<xf:trigger>
  <xf:label>Toggle Next</xf:label>
  <xf:action ev:event="DOMActivate">
  <xf:toggle case="next" ev:event="DOMActivate" />
</xf:action>
</xf:trigger>


Thank you very much for a hint what to do,

Karolin
Reply | Threaded
Open this post in threaded view
|

Re: Loosing readonly bindings after toggle xforms:switch

Karolin Heiss
Here a small sample to reproduce the problem:
xforms sample

Hope somebody knows what to do?

Thank you very much,

Karolin
Reply | Threaded
Open this post in threaded view
|

Re: Re: Loosing readonly bindings after toggle xforms:switch

Alessandro  Vernet
Administrator
Karolin,

I have your example running, but what are the steps to reproduce, what
is the behavior you observe, and what is the behavior you expect? (For
my own reference, I have this under 20101028-switch-readonly.)

Alex

On Thu, Oct 28, 2010 at 6:17 AM, Karolin Krieg <[hidden email]> wrote:

>
> Here a small sample to reproduce the problem:
> http://orbeon-forms-ops-users.24843.n4.nabble.com/file/n3017086/toggleSwitchWithReadonlyFields.xhtml
> xforms sample
>
> Hope somebody knows what to do?
>
> Thank you very much,
>
> Karolin
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Loosing-readonly-bindings-after-toggle-xforms-switch-tp3016097p3017086.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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Loosing readonly bindings after toggle xforms:switch

Karolin Heiss
Hallo Alex,

I am very ashamed that I didn't tried the latest orbeon version. I updated and everything works perfect!
(The error could be reproduced at least until version 201010110300_CE)

Thank you,
Karolin