jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes In Struts2 how to hide textfield dinamically. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "In Struts2 how to hide textfield dinamically." Watch "In Struts2 how to hide textfield dinamically." New topic
Author

In Struts2 how to hide textfield dinamically.

Arun varma
Greenhorn

Joined: Mar 21, 2004
Posts: 9
In Struts2

I want to know how can i hide and show <s:textfield> dynamically. Just say i have boolean flag in action class, based on the flag value,if flag is true i want to show textfield or if false i want to hide textfield.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You wrap it in an <s:if...> or <c:if...>?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: In Struts2 how to hide textfield dinamically.