Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
How to disable a text box in struts tag library
Abhilash
Greenhorn
Posts: 12
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hai every one
I am working in
struts
frame work and i have to disable a text in
jsp
page. How to do it? My codig is as follows...
User Type <html:text property="userTypeEdit" size="15"/>
How can i disable this text box so that i can prevent users from editing the content of that text box.
Please help
Thankyou
san geetha
Ranch Hand
Posts: 44
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If u want to disable the textbox through out then try this,
User Type <html:text property="userTypeEdit" size="15" disabled="true"/>
U can also conditionally disable/enable the textbox by coding for the same in JavaScript
Abhilash
Greenhorn
Posts: 12
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hai Sangeetha
Thanks for ur valuable help. Its working
san geetha
Ranch Hand
Posts: 44
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I suppose u wud have struts-documentation.war with you, if not then download the same... Contains extensive documentation to various struts tags.
Diego Meneses
Greenhorn
Posts: 1
posted 7 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
it is better with:
readonly="true"
inside the code of the texfield
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 7 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
readonly
is
not
the same as
disabled
!
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
If you want to look young and thin, hang around old, fat people. Or this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
<nested:text > autocomplete="off"
Greying a Textbox
Disabling html:text in Struts dynamically
html:text not supporting non engilsh characters
how to disable space bar key in java script
More...