Hi Pierre,
When a property is constrained with editable to false, it is not
shown. But there are cases where it is needed to see such data
even if it must not be changed.
May I suggest a new constrain "visible" that will be false by
default if editable is false.
That constraint might be handy, but I wonder if another name wouldn't
be better since properties are visible by default. However, I don't
agree with your implementation for EditTemplateTransformer in RIFE/
Crud, the editable and visible semantics aren't the same. If a
property is editable, the form field should be shown, if it's not
editable but visible, the current value of the field should be shown
and not the form field.
This need to replace the editable test in Edit/Add/
DeleteTemplateTransformer.java of Rife-crud.
A step further: when a value is non editable, to be able to give a
first value, automatically or manually.
I can't find a trace of this.
Could you also explain why you made changes related to the error
reporting in FormBuilderXhtml?
Also, please, respect the syntax formatting of the framework. I find
several locations in your patch where nothing has been changed
besides the source code formatting.
Best regards,
Geert
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users