tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Longman" <glong...@intelligentworks.com>
Subject Re: OGNL validation question
Date Sun, 02 Feb 2003 19:40:51 GMT
Perfect. Thank you very much

Geoff
----- Original Message -----
From: <insurgent@insurgent.us>
To: "Tapestry development" <tapestry-dev@jakarta.apache.org>
Sent: Sunday, February 02, 2003 2:36 PM
Subject: Re: OGNL validation question


> Hi Geoff,
> The ongl class has a parseExpression class that takes the string
> expression and either returns an "abstract syntax tree" or throws
> "ExpressionSyntaxException". It also has a bunch of static methods you can
> use after you get the tree like "isSimpleProperty",
> "isSimpleNavagationchain" etc.
>
> Take care,
>
> John
>
> On Sun, 2 Feb 2003, Geoff Longman wrote:
>
> > Is there a way to check if a String is valid OGNL?
> >
> > Continuing work on my custom parser. right now it performs the Perl
> > expression checks for
> > things like property names. Also, it can try to resolve fully qualified
> > classnames for  class attributes in tags like component-specification
and
> > service.
> >
> > Wouldn't be hard to add OGNL checks if the its framework has an API for
> > that.
> >
> > Geoffrey Longman
> > Intelligent Works Inc.
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>


Mime
View raw message