• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

setDynamicAttribute not being invoked

Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there, I can't seem to get the setDynamicAttribute method to work properly. I can get the application to print out the options but not the attributes. Below is my code (note I've been playing with it by commenting and uncommenting parts) :

the jsp:

the tld:

As I said, I can get it all to work except printing out the size attribute, to do that I have to put "out.print(String.format(ATTR_TEMPLATE, "size", this.size));" into my code.

Can anyone see why the setDynamicAttribute method is not being called by the container?

Posts: 14691
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

There's a typo here, it should be "dynamic-attributes".
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have the same problem even after checking all typos.

I'm getting jasperexception at the line of tag invocation.

It says root cause as :

Can someone help ... What might went wrong..?
That feels good. Thanks. Here's a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic