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

<bean:define> tag clarification required

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have property getLibrary() in my form bean. What I want to achieve is, alert this property value during page load. I have coded


The first alert message gives the value of the property. But the second alert message is not showing the property value.As per the documentation for
<bean:define> it creates a scripting variable and an attribute. If it is really creating the scripting variable why doesn't it work in the above sceanrio?
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"scripting variable" doesn't mean JavaScript variable, for that look at the first JS alert statement for the right usage.
 
reply
    Bookmark Topic Watch Topic
  • New Topic