• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

naming buttons with 2 or more labels- internalization

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using internationalization in all my jsp pages. I put all the text in resources.xml file. jsp reads the content from it and displays it.

It's working well with text strings.
When i use a name on button, it works fine. example: SAVE comes up as it is. But if i have SAVE AND TEST on button the spaces don't work. So my label on button on jsp has only SAVE and AND TEST is cut off.
Anybody knows how to fix this problem?
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you setting a specific size on your button? Like with a css tag?

What type of button are you using? An input-submit button?

I've luckily never had a problem with spaces using just the regular <input type=submit> buttons.

Regards,

Nate
 
reply
    Bookmark Topic Watch Topic
  • New Topic