• 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
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Question related to FMT tag

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

I am using fmt:message tag. if the given key is not found, then it returns
???<key>???. But I would like to return the key itself instead of prefixing
and suffixng with ???. Can the message tag be modified to take default
attribue? Als0, I looked into
org.apache.taglibs.standard.tag.common.fmt.MessageSupport.java but it defines
UNDEFINED_KEY has public static final!. Is there any solution to this problem
(I don't want to provide my own tag!)?

Thanks,
Saumil
 
reply
    Bookmark Topic Watch Topic
  • New Topic