This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes alignment of  number in textfield Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "alignment of  number in textfield" Watch "alignment of  number in textfield" New topic

alignment of number in textfield

ravi pamuru

Joined: Dec 29, 2007
Posts: 8

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.

Leah O'Connor

Joined: Dec 10, 2007
Posts: 5 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.
I agree. Here's the link:
subject: alignment of number in textfield
It's not a secret anymore!