• 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

How to use message bundles in hidden field?

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

I am trying to use <html:hidden property='urlValue' styleId='urlValue' value='<fmt:message key="save.urlvalue'/>' />
But i am facing some jsp exception, like unterminated < <html:hidden> tag.

Could some one help me out in this.

Actual requirement is, in a button onclick function i am calling a javascript function, where i am passing some url to open in new window, for now we have hard coded the url value in javascript, but it should not be done for some security reasons, so trying to use the url value from message bundles and getting it in jsp page and passing as hidden value and getting it in javascript as d.getelementbyid('urlValue').value.

But facing exception on this.
 
Maybe he went home and went to bed. And took this tiny ad with him:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic