You need to use html:hidden to create an invisible control that will be submitted along with the form and then use html:text to display that value to the user.

Leandro Melo wrote:
Actually, i just would like to use a label inside one
form, instead of a readonly field.
But if i don't use the html:text tag, i get stuck with
validation, it doesn't recognize the fields.
This situation occurrs because i have a situation
where the user A uses a formX, which is also used by
user B.
So, the formX has the same validation for both users,
however, user A doesn't have permission to alter some
of the fields, so i just would like to display these
fields in labels (instead of readonly). It's a
visibility matter only.
What are the choices then?



--- Craig McClanahan <[EMAIL PROTECTED]> escreveu:

'Cause nobody ever thought about it and proposed it?
:-)

Actually, I'm not sure how much value add there
would really be, since
you can already do things like:

 <label for="..."><bean:message .../></label>

to create a localized field label.

Craig

On Sat, 16 Oct 2004 16:44:41 -0300 (ART), Leandro
Melo
<[EMAIL PROTECTED]> wrote:

Hi,
what is the reason for not having a html:label

tag?

Leandro.




_______________________________________________________

Yahoo! Acesso Grátis - Internet rápida e grátis.

Instale o discador agora! http://br.acesso.yahoo.com/


---------------------------------------------------------------------

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]








_______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/


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



Reply via email to