Oops - yes, I missed that.

It works just great - thanks!

Kind Regards
Claus Nielsen

> -----Oprindelig meddelelse-----
> Fra: Robert Zeigler [mailto:[EMAIL PROTECTED]
> Sendt: 18. oktober 2005 16:47
> Til: Tapestry users
> Emne: Re: Output-only form fields
> 
> How about using textfield with the "disabled" parameter set to true?
> 
> Robert
> 
> Claus Nielsen (BM Data) wrote:
> > Hi.
> >
> > I am just getting started with Tapestry, and currently I am
> struggling
> > with a Form for updating a database record.
> >
> > I would like to have the form display the database records key, but
> not
> > allow it to be changed.
> >
> > Currently I am storing the key as hidden field in the Form (using
> the
> > "Hidden" component. I am displaying the key value using the Insert
> > component and I have entered the field-label as a constant in the
> html
> > template.
> >
> > Is there an easier way to do this?
> >
> > It seems very awkward, when what I really want is something much
> more
> > like the TextField / FieldLabel combination I am using for all the
> input
> > fields in the Form. Except it should be output only, of course.
> >
> > Kind Regards
> > Claus Nielsen
> >
> >
> > --------------------------------------------------------------------
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: tapestry-user-
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to