File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Cannot set readonly property - when modifing attributes
Joined: Feb 02, 2007
Jun 26, 2009 10:52:42
I am attempting to modify an attribute based on a criteria. When I attempt the following, I get
Exception in thread "main" groovy.lang.ReadOnlyPropertyException: Cannot set readonly property: value for class:
it.'@State'.value = 'IL'
Does anyone know how to surpass this exception? Thank.s
It is sorta covered in the
JavaRanch Style Guide
subject: Cannot set readonly property - when modifing attributes
Toggling between writable and readonly for a text box
set & get methods
How to access the Struts HTML elements in JS
JSP read only fields !
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013