Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In Struts2 how to hide textfield dinamically.

 
Arun varma
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You wrap it in an <s:if...> or <c:if...>?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic