This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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.