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 <nor...@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-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


Reply via email to