Re: T5.1 Property Expressions
Congratulations, you have The JIRA Issue Of The Beast: https://issues.apache.org/jira/browse/TAP5-666 On Thu, Apr 23, 2009 at 10:37 AM, Andy Blower andy.blo...@proquest.co.uk wrote: I just tried out the new T5.1 property expressions for the first time and got an error. I’m trying to replace this: ${linkTitle} public String getLinkTitle() { return getTitle(false); } With this: ${getTitle(false)} Which I should be able to do according to the Grammar as far as I can see, since but I get this error when I try it: Caused by: org.apache.tapestry5.internal.services.PropertyExpressionException: Node false (within expression 'getTitle(false)') was type FALSE, but was expected to be (one of) DECIMAL, DEREF, IDENTIFIER, INTEGER, INVOKE, LIST, SAFEDEREF, STRING. at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.unexpectedNodeType(PropertyConduitSourceImpl.java:925) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.subexpression(PropertyConduitSourceImpl.java:637) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createMethodInvocation(PropertyConduitSourceImpl.java:756) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createMethodInvocation(PropertyConduitSourceImpl.java:730) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetter(PropertyConduitSourceImpl.java:711) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetterAndSetter(PropertyConduitSourceImpl.java:436) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createAccessors(PropertyConduitSourceImpl.java:419) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createInstance(PropertyConduitSourceImpl.java:272) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1206) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1081) at $PropertyConduitSource_120d3f0182d.create($PropertyConduitSource_120d3f0182d.java) at org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(PropBindingFactory.java:49) at $BindingFactory_120d3f0182e.newBinding($BindingFactory_120d3f0182e.java) at $BindingFactory_120d3f01826.newBinding($BindingFactory_120d3f01826.java) at org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(BindingSourceImpl.java:81) ... 107 more -- View this message in context: http://www.nabble.com/T5.1-Property-Expressions-tp23197478p23197478.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5.1 Property Expressions
Reminds me of some washroom graffiti I saw, reading: 668 - the neighbour of the beast On Mon, Apr 27, 2009 at 12:28 PM, Howard Lewis Ship hls...@gmail.comwrote: Congratulations, you have The JIRA Issue Of The Beast: https://issues.apache.org/jira/browse/TAP5-666 On Thu, Apr 23, 2009 at 10:37 AM, Andy Blower andy.blo...@proquest.co.uk wrote: I just tried out the new T5.1 property expressions for the first time and got an error. I’m trying to replace this: ${linkTitle} public String getLinkTitle() { return getTitle(false); } With this: ${getTitle(false)} Which I should be able to do according to the Grammar as far as I can see, since but I get this error when I try it: Caused by: org.apache.tapestry5.internal.services.PropertyExpressionException: Node false (within expression 'getTitle(false)') was type FALSE, but was expected to be (one of) DECIMAL, DEREF, IDENTIFIER, INTEGER, INVOKE, LIST, SAFEDEREF, STRING. at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.unexpectedNodeType(PropertyConduitSourceImpl.java:925) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.subexpression(PropertyConduitSourceImpl.java:637) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createMethodInvocation(PropertyConduitSourceImpl.java:756) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createMethodInvocation(PropertyConduitSourceImpl.java:730) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetter(PropertyConduitSourceImpl.java:711) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetterAndSetter(PropertyConduitSourceImpl.java:436) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createAccessors(PropertyConduitSourceImpl.java:419) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createInstance(PropertyConduitSourceImpl.java:272) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1206) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1081) at $PropertyConduitSource_120d3f0182d.create($PropertyConduitSource_120d3f0182d.java) at org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(PropBindingFactory.java:49) at $BindingFactory_120d3f0182e.newBinding($BindingFactory_120d3f0182e.java) at $BindingFactory_120d3f01826.newBinding($BindingFactory_120d3f01826.java) at org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(BindingSourceImpl.java:81) ... 107 more -- View this message in context: http://www.nabble.com/T5.1-Property-Expressions-tp23197478p23197478.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
RE: T5.1 Property Expressions
Congratulations, you have raised the JIRA Issue of the Beast as a duplicate of Tap5-663 which I entered last week. ;-) Well that's an easy way round the 666 superstition, just mark as a dup and close... -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 27 April 2009 17:29 To: Tapestry users Subject: Re: T5.1 Property Expressions Congratulations, you have The JIRA Issue Of The Beast: https://issues.apache.org/jira/browse/TAP5-666 On Thu, Apr 23, 2009 at 10:37 AM, Andy Blower andy.blo...@proquest.co.uk wrote: I just tried out the new T5.1 property expressions for the first time and got an error. I'm trying to replace this: ${linkTitle} public String getLinkTitle() { return getTitle(false); } With this: ${getTitle(false)} Which I should be able to do according to the Grammar as far as I can see, since but I get this error when I try it: Caused by: org.apache.tapestry5.internal.services.PropertyExpressionException: Node false (within expression 'getTitle(false)') was type FALSE, but was expected to be (one of) DECIMAL, DEREF, IDENTIFIER, INTEGER, INVOKE, LIST, SAFEDEREF, STRING. at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$Proper tyConduitBuilder.unexpectedNodeType(PropertyConduitSourceImpl.java:925) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$Proper tyConduitBuilder.subexpression(PropertyConduitSourceImpl.java:637) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$Proper tyConduitBuilder.createMethodInvocation(PropertyConduitSourceImpl.java: 756) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$Proper tyConduitBuilder.createMethodInvocation(PropertyConduitSourceImpl.java: 730) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$Proper tyConduitBuilder.createGetter(PropertyConduitSourceImpl.java:711) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$Proper tyConduitBuilder.createGetterAndSetter(PropertyConduitSourceImpl.java:4 36) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$Proper tyConduitBuilder.createAccessors(PropertyConduitSourceImpl.java:419) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$Proper tyConduitBuilder.createInstance(PropertyConduitSourceImpl.java:272) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build( PropertyConduitSourceImpl.java:1206) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create (PropertyConduitSourceImpl.java:1081) at $PropertyConduitSource_120d3f0182d.create($PropertyConduitSource_120d3f 0182d.java) at org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(Pr opBindingFactory.java:49) at $BindingFactory_120d3f0182e.newBinding($BindingFactory_120d3f0182e.java ) at $BindingFactory_120d3f01826.newBinding($BindingFactory_120d3f01826.java ) at org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(Bin dingSourceImpl.java:81) ... 107 more -- View this message in context: http://www.nabble.com/T5.1-Property- Expressions-tp23197478p23197478.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org