Hi,
This is in response to Marty's query (part query that is), i think we can
disable input in the struts text tag by specifying it in the style attribute
in the following manner
<html:text property="name" size="20" maxlength="80" style="disabled:none"/>
i hope this solves your problem.
Regards,
Kartik Sudarsan
IT Cube India Pvt. Ltd,
Unit 1, 8th Floor,
Innovator Building
ITPL, Whitefield Road
A BOOK IS A MIRROR :IF AN ASS PEERS INTO IT ,YOU CAN'T EXPECT AN APOSTLE TO
LOOK OUT
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Maya Muchnik
Sent: Friday, March 09, 2001 7:48 PM
To: [EMAIL PROTECTED]
Subject: Re: Tag Examples
Hi,
I would like to ask a question additional to Marty Q. Is it possible with
"html:form" tag (I am not sure that it is correct tag) to disable change
(input) in
some fields when data are restored and displayed in the form. The 2nd Q: is
it
possible to display default values for some fields when no data were read -
a new
form. Maybe it will in struts 1.1?
Thanks in advance.
Maya
Marty Fisher wrote:
> Hello,
>
> We would like to add a attribute to a form tag. In the case of the text
tag, we
> need to disable the form input from being editted yet display its value.
We also
> need a max length attribute on the text area tag.
>
> Can someone direct me to some jsp/servlet examples to extending the strut
tags ?
> Thanks
> --
> Marty Fisher
> Cranbury
> 609-409-0909
> HNC Software, Inc. (formerly Systems/Link Corporation)