@Meta and @InjectMeta with a boolean type

2007-04-22 Thread Paul Stanton
I saw a neat solution to meta data using annotations in the Vlib example that comes bundled with Tapestry 4.1.1. *Code:* @Meta({anonymous-access=false, admin-page=false}) public abstract class VlibPage extends BasePage implements IErrorProperty, IMessageProperty, PageValidateListener,

Re: @Meta and @InjectMeta with a boolean type

2007-04-22 Thread Paul Stanton
If I change the accessor method boolean isMetaSecure to String getMetaSecure it works fine. So the problem can be defined as: @InjectMeta only works with String types. This is obvious after reading the documentation, but the Vlib example (written by howard?) is misleading as it suggests usage

Re: @Meta and @InjectMeta with a boolean type

2007-04-22 Thread Jesse Kuhnert
Ah...I knew this sounded familiar. I think it's fixed in 4.1.2-snapshot https://issues.apache.org/jira/browse/TAPESTRY-1204 On 4/22/07, Paul Stanton [EMAIL PROTECTED] wrote: If I change the accessor method boolean isMetaSecure to String getMetaSecure it works fine. So the problem can be

Re: @Meta and @InjectMeta with a boolean type

2007-04-22 Thread Paul Stanton
Thanks Jesse! I'll upgrade as soon as 4.1.2 is released. http://www.tapestryforums.com/ Jesse Kuhnert wrote: Ah...I knew this sounded familiar. I think it's fixed in 4.1.2-snapshot https://issues.apache.org/jira/browse/TAPESTRY-1204 On 4/22/07, Paul Stanton [EMAIL PROTECTED] wrote: If I