Re: OGNL Notation for accessing List Element

2006-11-14 Thread Micha Roon
Thank you for the tip. the second version (page.getName('titi') works. I find it odd though that "official" OGNL notation does not work. Cheers, Micha Bill Holloway wrote: > > Use parentheses rather than square brackets: > > ognl:getName('titi') > > OR (if that doesn't do it), > > ognl:pag

Re: OGNL Notation for accessing List Element

2006-11-10 Thread Bill Holloway
Use parentheses rather than square brackets: ognl:getName('titi') OR (if that doesn't do it), ognl:page.getName('titi') Cheers, Bill On 11/8/06, Micha Roon <[EMAIL PROTECTED]> wrote: I have one page (Home.html) with its Class (Home.java) and in the class I have the two methods public Stri

Re: OGNL Notation for accessing List Element

2006-11-08 Thread Micha Roon
I have one page (Home.html) with its Class (Home.java) and in the class I have the two methods public String getName(String which){ return which;} public void setName(String which){return;} In the html I have just one tag for the test: jwcid="@Insert" value="ognl:name['titi']" I have atta

Re: OGNL Notation for accessing List Element

2006-11-07 Thread Martin Strand
How does the code for that method look? it's supposed to look like this: public PropertyType getPropertyName(IndexType index) public void setPropertyName(IndexType index, PropertyType value) On Tue, 07 Nov 2006 13:41:10 +0100, Micha Roon <[EMAIL PROTECTED]> wrote: I am trying to get at a spec