wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android 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...>?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: In Struts2 how to hide textfield dinamically.
 
Similar Threads
struts2 autocomplete
Showing Hiding <s:div> tag in Struts2
how to hide and show contents with struts2 div tag
show/hide formfields
How to set values in s:textfiled tag in struts2 to update