Re: problem with a bind to a readonly instance ?

Posted by Ryan Puddephatt on
URL: https://discuss.orbeon.com/problem-with-a-bind-to-a-readonly-instance-tp33042p33046.html

Erik,
    Seeing as the instance is marked as readonly using the xxforms:readonly rather than using a xforms:bind shouldn't the xxforms:readonly-appearance="static" act the same?

Ryan

Erik Bruchez wrote:
Doug,

Well, hard to say if it's really a feature, but the answer is that at the moment you can't use model item properties with a read-only instance:

  http://www.orbeon.com/ops/doc/reference-xforms-ng#xxforms-readonly

-Erik

Doug Young wrote:
Hi,

 

We have a problem when we set a xxforms:readonly instance to be bind readonly  I know it seems an odd thing to do but it happens in our application when we want to make a printable version of the page we set all the instances to readonly,

 

Is this a bug or a feature ?

 

Also it would be really helpful if the “Cannot modify read-only instance” message told you which instance it was.

 

  The attached file shows the problem.

 

regards

Doug

 

Doug Young

Software Engineer

 

Teleflex IT

1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

+44 (0) 1506 407107

 




-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--

Ryan Puddephatt
Software Engineer
 
Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws