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

Struts2: Disable textfield

Nick Sher
Ranch Hand

Joined: Nov 10, 2008
Posts: 78
Hi,

Struts2 version: 2.1.6
I need to disable a textfield but its not working. Here is what I have until now:


I pass the tiles attribute like this:


This is not disabling the textfield. What I am doing wrong? I tried %{#isDisabled} also and it does not work. Please help.


Nick
Nick Sher
Ranch Hand

Joined: Nov 10, 2008
Posts: 78
oops I forgot that readonly attribute does the trick. Resolved now.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2: Disable textfield