Hi all,

I've been searching the documentation/examples/list all morning, but
can't find an answer to this so far.  Can T5.1 do a conditional
against a method instead of a variable (property)?  I have something
like:

<div t:type="If" test="showFoo">...</div>

For the Java, I have tried numerous varieties of:

protected boolean showFoo() { ... }

(isShowFoo, getShowFoo, etc, etc)

I keep getting an exception that it can't convert showFoo to a
component parameter binding, then it shows me all the variables (not
methods) in my class.  Of course, you can't put an @Property on a
method, either.  Is it not possible in T5 to bind your conditional to
a method?  (T4 could do this.)

Thanks,

mrg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to