Two Laptop Bag*
The moose likes Struts and the fly likes Writing Custom PropertyAccessor for struts 2 OGNL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Writing Custom PropertyAccessor for struts 2 OGNL" Watch "Writing Custom PropertyAccessor for struts 2 OGNL" New topic
Author

Writing Custom PropertyAccessor for struts 2 OGNL

avaya sahu
Greenhorn

Joined: Oct 16, 2001
Posts: 14
Hi,
I am trying to register my custom PropertyAccessor. I am able to register it and is working fine when expression is directly evaluated against it using Ognl. but the same is not working from value stack. Asper my understanding the property is searched in the stack till it find a match or reach end of the stack. Am I right? please help. below is the code
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Writing Custom PropertyAccessor for struts 2 OGNL