Login  Register

Re: problem with a bind to a readonly instance ?

Posted by Adrian Baker on Mar 20, 2007; 12:59am
URL: https://discuss.orbeon.com/problem-with-a-bind-to-a-readonly-instance-tp33042p33044.html

Hi Erik,

If model item properties could still be applied to xxforms-readonly instances this would expand the number of scenarios it could be used in. For example, we use forms containing only xf:outputs to present data, but we still need the datatype & relevance properties to present the data correctly.

However I suppose in implementing full MIP support you might lose the performance gain of xxforms-readonly, which is the whole point.. ?

Adrian

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


--
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