You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Derek Hohls <DH...@csir.co.za> on 2004/07/19 14:16:19 UTC
CForms - styling "read only" fields
Hi
I am looking for any *simple to implement*
suggestions that will allow me add to styling
to those fields that are essentially "read only"
(i.e. are specified as direction="load" in the
binding file).
I was thinking of following something along the
lines of the Cocoon samples, where:
* = required field
! = error in the submitted data
and having:
# = read-only
(Of course, it would be nice to add color coding
as well...)
Derek
--
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
Re: CForms - styling "read only" fields
Posted by Marc Portier <mp...@outerthought.org>.
why don't you just make them fd:output?
and if that is not an option add a <fi:styling /> with specific
attributes you'll act upon
note that none of the information specific to the binding will be
available to your xslt
regards,
-marc=
Derek Hohls wrote:
> Hi
>
> I am looking for any *simple to implement*
> suggestions that will allow me add to styling
> to those fields that are essentially "read only"
> (i.e. are specified as direction="load" in the
> binding file).
>
> I was thinking of following something along the
> lines of the Cocoon samples, where:
> * = required field
> ! = error in the submitted data
> and having:
> # = read-only
>
> (Of course, it would be nice to add color coding
> as well...)
>
> Derek
>
--
Marc Portier http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at http://blogs.cocoondev.org/mpo/
mpo@outerthought.org mpo@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org