(I haven't actually tried this, I think it should work) but that requires
every template to be modified/written to allow editing of the readonly
fields. I really want the ability to edit all of them for occasional data
fix operations.

At the moment we have to find the data file in our document repository and
edit it using vi or some such text editor.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orbeon+unsubscribe@googlegroups.com.
To post to this group, send email to orbeon@googlegroups.com.

Re: Writeable readonly fields in a form

Administrator

Hi Brian,

It looks like the code in your message has been swallowed somehow. If you
are posting from discuss.orbeon.com, you can check how the forum understands
what you typed by hitting the Preview button. You can also use the "Raw
text" tag to escape your code.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

Re: Writeable readonly fields in a form

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

Re: Writeable readonly fields in a form

Administrator

Got it Brian, but if the nodes are marked as read-only through an `xf:bind`,
there is no "global" workaround (not changing the form, e.g. through a
property) to make controls bound to those read-only node not read-only. Or
am I misunderstanding your question?

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

Re: Writeable readonly fields in a form

OK. Thanks Alex.

Do you recall if either fr:user-roles() or $fr-roles will work in version
3.9? If so is it configured the same using oxf.fr.authentication.method and
oxf.fr.authentication.container.roles in the properties file?

If not then this is just another reason for our customers on the old version
to upgrade.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

Re: Writeable readonly fields in a form

Administrator

Brian, I don't think we had `fr:user-roles()` in 3.9. However, I seems we had
`xxf:is-user-in-role('my-role')`; you could try that. Or you can use
`$fr-roles` (which was defined in `fr/components/components.xsl`). Or of
course, as you said, upgrade to a newer version ;).

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].