cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohamed El-Refaey <m.ref...@imkenberg.de>
Subject Re: XMLForm and textbox: how to protect
Date Wed, 06 Nov 2002 02:41:38 GMT
Hallo Sylvain

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

Sylvain.Thevoz@swisscom.com 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:     <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>
>  
>




---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message