aspose file tools*
The moose likes Struts and the fly likes html-el:checkbox readonly? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html-el:checkbox readonly?" Watch "html-el:checkbox readonly?" New topic
Author

html-el:checkbox readonly?

Alex Pol
Ranch Hand

Joined: Sep 29, 2006
Posts: 33
Hi,

How can i make a html-el:checkbox readonly? I cannot make it "disabled" because like this it's not read from the form.

Thanks.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

What is this html-el:checkbox tag?? Are you using any special tag library?? Anyways, there are a lot of ways of doing this. You can actually disable the checkbox and just before the form is submitted, you can enable it again. Something like this


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html-el:checkbox readonly?
 
Similar Threads
Setting a Component readonly Dynamically
DynaActionForm properties not correctly set with checkboxes
non-editable in textarea
textfield readonly ?
how to make a link readonly?