I think the property of textbox to be uneditable by the user is not supported in the XMLForm ...
But u can ---> only make a getter method for this field without a setter method in the model bean ... so if the user tried to change the text box value actually it will not changed .
But ofcourse it is aw orkaround solution not optimal one
OR u can use that value as <xf:output> label not a text box .
Hope it will help
Mohamed
[EMAIL PROTECTED] wrote:
Hello,
In XMLForm, is it possible to protect the default value in a textbox against the user changes.
I want to display the field in the form (with the default value) but it shouldn't be possible to change the value of it.
Any idea?
Thank you
Sylvain
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>