I'm in the process of converting the OGNL binding expressions for my
component properties to the tap-prop method, but for some reason I can't
bind to a simple value without declaring a getter/setter.

So this won't work:

<binding name="value" value="prop:true" />

But it will if I define a method in the class file:

public Boolean getTrue() {

  return true;

}

Integers don't work, either:

<binding name="value" value="prop:108" />

Is there a simple fix for this?  Or am I relegated to using OGNL for simple
expressions?  I think it goes without saying that it would be extremely
annoying if that's the case.


-- 
View this message in context: 
http://www.nabble.com/tapestry-prop-and-integers---booleans---tf3482874.html#a9722301
Sent from the Tapestry - User mailing list archive at Nabble.com.

Reply via email to