• 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

labelBean -> bean:message

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
Is it possible to write the value part of a LabelValueBean such that when it is used in struts collection, for example a radio button set, the value part will interpreted as a bean:message... and substituted dynamically with the proper value for the current local and applicationresources.properties file, just as it would if it was statically written? I realize this would require two "passes" of the compiler, which is unlikely, however conceptually is there an alternative or indeed a solution with struts1 or struts2? tia.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
AFAIK you'd have to create the label bean w/ the resource manually. I've never seen anybody use a LVB w/ S2.
reply
    Bookmark Topic Watch Topic
  • New Topic