Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question related to FMT tag  RSS feed

 
saumil baxi
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!