• 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

S2: OGNL, calling a function on the action with parameters

 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm working on something a little bit like a data grid. However, while the current display is tabular, the data backing it isn't. As a result I can't use straight map notation to access the values to display.

The relevant portion of the jsp looks like


The action looks like:

EscursionBase implements ActionSupport; the jsp shown before is hooked up to the INPUT result of the action.

The line preceding the <!-- 1 --> works properly, so I thought I knew how to call functions with parameters in OGNL. The line around <!-- 2--> does not work. The breakpoint just inside the function is not hit. However there are no errors in the log. What am I missing?
 
Eric Nielsen
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, I've tried reformulating it to use straight maps and not a functional lookup. I've tried both OGNL and regular EL notations. None of them seem to work -- in all cases the function backing the map property is not invoked. I changed the logging from INFO to DEBUG, but nothing jumps out at me.

What should I be looking for in the log to see why the function isn't getting invoked? What else should I try?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic