--- Mansour <[EMAIL PROTECTED]> wrote: > For a moment I thought I am the only one struggling > with this.
I'm pretty sure you're not! It gave me nothing but grief for a few weeks, and I still get a little confused sometimes. One of the issues is that the tag library docs don't specify which tag attributes are expecting OGNL expressions and which aren't. Digging in the source is actually the quickest way to figure some stuff out for now, and has other benefits as well :) > Thank you for the clarification. Do you know any > tutorial with examples ? Honestly, *everything* I know about OGNL came from the following three links: http://struts.apache.org/2.x/docs/ognl.html http://struts.apache.org/2.x/docs/ognl-basics.html http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/index.html I also spent a few hours just playing around with OGNL EL expressions, trying out the stuff from the OGNL language guide, etc. That proved to be the most beneficial, and there are a lot of neat little OGNL tricks that are very handy sometimes from that guide, in particular: http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/specialCollectionsProperties.html and http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/projection.html which, if followed to its logical conclusion, gives you a fair amount of power in selecting items from an existing list without having to write any Java code. d. ____________________________________________________________________________________Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]