#: Johan Compagner changed the world a bit at a time by saying on  10/27/2005 
10:06 AM :#
yes i currently don't have support for { or [ or things like that.
Just plain text with dots. This makes it very easy and fast to parse.
but if people really want this:

person.children[0].name

does ognl has a special map expression? something like
person.childeren{child1}.name ?
i know that it also works for just strings like Ognl.getValue("child1" ,
myHashMap);

so it all depends on what we really would like to see for array/list:

person.children.0.name <http://person.children.0.name>
person.children.[0].name
person.children[0].name

and maps?

if we want [] in it then i just have to use a bit more logic like a
tokenizer instead of just doing a plain indexOf loop

I like the simple approache i have now. .


If you start this to keep it simple, than we should keep it that way. IMO person.children.0.name is same good as person.children[0].name and as person.children.[0].name, once it is clearly described somewhere ;-).

./alex
--
.w( the_mindstorm )p.

On 10/27/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:

I'm also +1 on moving OGNL into extension

> I guess this is: person.children.[0].name and Johan already mentioned
it.

I think Johan mentioned, it'll be 
person.children.0.name<http://person.children.0.name>

Juergen

On 10/27/05, Alexandru Popescu <[EMAIL PROTECTED]>
wrote:
> #: Martijn Dashorst changed the world a bit at a time by saying on
10/27/2005 7:28 AM :#
> > +1 on moving OGNL into extensions.
> >
> > I think the OGNL thing is good, it provides a nice base
> > implementation. I'd like to see the current implementation still being
> > available for those 1% that need the full OGNL expression evaluator
> > (though I think I share the same sentiment Phil voiced).
> >
>
> This is exactly the way I would put my +1 :-).
>
> > Do we also support things like
> >
> > person.getChildren().get(0).getName()?
> >
> > Martijn
> >
> >
>
> I guess this is: person.children.[0].name and Johan already mentioned
it.
>
> ./alex
> --
> .w( the_mindstorm )p.
>
> > On 10/27/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> >> I'm very +1 on this. OGNL has turned into it's own scripting language
> >> over the years. If you want to use any of those features, then you're
> >> missing the point of Wicket.
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.Net email is sponsored by the JBoss Inc.
> >> Get Certified Today * Register for a JBoss Training Course
> >> Free Certification Exam for All Training Attendees Through End of
2005
> >> Visit http://www.jboss.com/services/certification for more
information
> >> _______________________________________________
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.
> > Get Certified Today * Register for a JBoss Training Course
> > Free Certification Exam for All Training Attendees Through End of 2005
> > Visit http://www.jboss.com/services/certification for more information
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to