cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject CForms - different views of the same widget
Date Thu, 03 Nov 2005 14:09:36 GMT
Is it possible to set up the binding and display for a widget so that
it is styled differently depending on whether or not a value was set 
for it *prior* to displaying the form?

I would like to use this approach for a field containing a database 
field index value - if its blank when the form is displayed, the user 
must be able to fill it in (and *must* in fact fill it in); but if a value 
already exists, then the field should be displayed in "read only" 
only mode; preferably just as a text string, [in worse case, it
would also be OK if the field was not displayed at all, but perhaps 
still present in the form as a hidden field).
 
Any guidance or advice appreciated.

Thanks
Derek


-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
HelpDesk@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message