I meant for all three expression languages :)

On Sat, 28 Dec 2002, Patrick Lightbody wrote:

> Sure:
>
> assuming the ValueStack has a single object in there called "action":
>
> "name" -> action.getName()
> "person.name" -> action.getPerson().getName()
> "map["blah"]" -> action.getMap().get("blah")
>
> -Pat
>
> ----- Original Message -----
> From: "Joseph Ottinger" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, December 28, 2002 11:28 AM
> Subject: Re: [OS-webwork] Ognl as replacement for WW EL
>
>
> > I guess I'd like to see the actual expression used:
> >
> > <ww:property value="foo.bar" /> (calls "foo.getBar()," or...)
> >
> > On Sat, 28 Dec 2002, [ISO-8859-1] Rickard Öberg wrote:
> >
> > > Patrick Lightbody wrote:
> > > > You can find more about the syntax at www.ognl.org, but here are some
> > > > examples compared to WebWork:
> > > >
> > > > Ognl -- WebWork
> > > > --------------------
> > > > "name" -- "name" :)
> > > > "person.name" -- "person/name"
> > > > "map["blah"]" -- "map['blah']"
> > >
> > > How does this work in JSP's? <foo bar="map["blah"}"/> isn't going to
> > > work for obvious reasons.
> > >
> > > /Rickard
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > Opensymphony-webwork mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > >
> >
> > ---------------------------------------------------------
> > Joseph B. Ottinger                 [EMAIL PROTECTED]
> > http://enigmastation.com                    IT Consultant
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>

---------------------------------------------------------
Joseph B. Ottinger                 [EMAIL PROTECTED]
http://enigmastation.com                    IT Consultant



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to