| Author |
S2: OGNL, calling a function on the action with parameters
|
Eric Nielsen
Ranch Hand
Joined: Dec 14, 2004
Posts: 194
|
|
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
Joined: Dec 14, 2004
Posts: 194
|
|
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?
|
 |
 |
|
|
subject: S2: OGNL, calling a function on the action with parameters
|
|
|