Pat Lightbody wrote:

I don't think is yet supported by Ognl. The Ognl mailing list has been VERY
quiet lately... it's starting to worry me a bit...

Drew? You still around? Need any help? :)


I'm alive :-)

I had to take a job a while back. Contracts were getting few and far between. I guess OGNL has suffered a little from that.

I'll be back in the groove soon and ready with more OGNL enhancements.

BTW, the indexed getters and setters are supported by OGNL. Just use index notation:

public class SomeObject {
   public Kardon getKardon(int index);
   public void setKardon(int index, Kardon kardon);
}


SomeObject o; Kardon k;

Ognl.getValue("kardon[2]", o);
Ognl.setValue("kardon[0]", o, k);

This will call getKardon(2) an setKardon(0, k), respectively.

- Drew

--
+---------------------------------+
< Drew Davidson | OGNL Technology >
+---------------------------------+
|  Email: [EMAIL PROTECTED]          /
|    Web: http://www.ognl.org   /
|    Vox: (520) 531-1966       <
|    Fax: (520) 531-1965        \
| Mobile: (520) 405-2967         \
+---------------------------------+





-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to