You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Norman Franke <no...@myasd.com> on 2011/06/22 21:56:39 UTC
T5.2.x Property Expression Problem
Now that Tapestry (in 5.2) doesn't use javassist, I'd like to remove
the OGNL library from my project. I was using it to create lists
containing null. From reading the BNF grammar for T5.2 (http://tapestry.apache.org/property-expressions.html
), it appears that the keyword "null" should be permitted in lists. In
reality, it doesn't work. Is this intentional or a bug?
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
Re: T5.2.x Property Expression Problem
Posted by Norman Franke <no...@myasd.com>.
I think it's a bug, too as did Howard. I created a bug in JIRA.
TAP-1555. To recreate, just put the "null" keyword in a property
array, e.g. to a context parameter. OGNL works, of course.
This fails, for example:
<t:pagelink t:page="mypage" t:context="[ null, this, foo.bar]">link</
t:pagelink>
It complains about null. Remove that, it complains about this. Remove
that and it works.
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
On Jun 22, 2011, at 4:39 PM, Thiago H. de Paula Figueiredo wrote:
> On Wed, 22 Jun 2011 16:56:39 -0300, Norman Franke <no...@myasd.com>
> wrote:
>
>> Now that Tapestry (in 5.2) doesn't use javassist,
>
> 5.2 uses less Javassist but hasn't removed it completely.
>
>> I'd like to remove the OGNL library from my project. I was using it
>> to create lists containing null. From reading the BNF grammar for
>> T5.2 (http://tapestry.apache.org/property-expressions.html), it
>> appears that the keyword "null" should be permitted in lists. In
>> reality, it doesn't work. Is this intentional or a bug?
>
> Could you post an example? Sounds like a bug to me.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant,
> developer, and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
Re: T5.2.x Property Expression Problem
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Wed, 22 Jun 2011 16:56:39 -0300, Norman Franke <no...@myasd.com> wrote:
> Now that Tapestry (in 5.2) doesn't use javassist,
5.2 uses less Javassist but hasn't removed it completely.
> I'd like to remove the OGNL library from my project. I was using it to
> create lists containing null. From reading the BNF grammar for T5.2
> (http://tapestry.apache.org/property-expressions.html), it appears that
> the keyword "null" should be permitted in lists. In reality, it doesn't
> work. Is this intentional or a bug?
Could you post an example? Sounds like a bug to me.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.2.x Property Expression Problem
Posted by Howard Lewis Ship <hl...@gmail.com>.
Sounds like a bug.
On Wed, Jun 22, 2011 at 12:56 PM, Norman Franke <no...@myasd.com> wrote:
> Now that Tapestry (in 5.2) doesn't use javassist, I'd like to remove the
> OGNL library from my project. I was using it to create lists containing
> null. From reading the BNF grammar for T5.2
> (http://tapestry.apache.org/property-expressions.html), it appears that the
> keyword "null" should be permitted in lists. In reality, it doesn't work. Is
> this intentional or a bug?
>
> Norman Franke
> Answering Service for Directors, Inc.
> www.myasd.com
>
>
>
>
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org