File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Label/Text in Struts 2

 
Ville Desuza
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to render a textfield and a text/label whose value changes according to textfield value.
I am able to change the values using javascript.
But i am unable to find any Struts 2 UI Tag which can render text/label whose value can be changed.

In short, i need Struts 2 Textfield without border.

Is there any way to implement this in Struts 2?

Thanks in advance.
 
Sanal Samuel
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use the <s:property> tag
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic