Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Complete Key value not visible on the button

 
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have two buttons on my jsp. Actually I had three but I got rid of one. The key value(value from applicationresources.properties) of one of the buttons dont show up. Last three characters are not there on the button.

Can anyone explain.
Here is the code for that portion

<tr align="center" valign="top">
<td colspan="4">
<input name="import" type="button" class="frm_button" id="import" value="<bean:message key="import.title"/>"
oncli="setAction('performImport', 'import.do', true)"/>
input name="importMBZResponder" type="submit" class="frm_button06_long" id="importMBZ" oncli="setAction('mbzResponderImport','import.do',false)"
value="<bean:message key="import.mbzresponder"/>" />
</td>

The value of import.mbzResponder is not complete there on the button. The value is "Import Mobilization Plus™ Responder"

where #153 is for trade mark symbol. I only see till Respond but not complete responder.
Thanks
Imad
 
Sheriff
Posts: 67620
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do a View Source to see what the resulting HTML looks like. That'll be your fisrst clue.
 
Muhammad Imad Qureshi
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply

I found the problem. The class for the button is frm_button06_long. Buttons in this class are still not long enough to hold the text I am trying to place. I can use frm_button08_long but that changes the style of the button. Its ok though its not a big deal.
Thanks
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic