Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

alignment of number in textfield

 
ravi pamuru
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Iam using struts2 tags in my project. Iam using <s:textfield/> in my JSP then
how can align a number in the right of the textbox. If anyone knows the answer
Please reply me.

Thanks&Regards,
Ravi
 
Leah O'Connor
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://struts.apache.org/2.x/docs/textfield.html has the list of parameters for a textfield tag. requiredposition might be what you are looking for. The documentation says it will "Define required position of required form element (left|right)" but I have no idea if that means where the text elemnt is on the page or where the text is inside the text box.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic