aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
Similar Threads
show/hide formfields
How to set values in s:textfiled tag in struts2 to update
struts2 autocomplete
how to hide and show contents with struts2 div tag
Showing Hiding <s:div> tag in Struts2