Actually, "is" is supported by OGNL for booleans. So you could use
isVisible() or isInitialized() (I assume that or something like it is
what hasValue() means) for the cases you mention.
Todd
On Apr 2, 2005, at 1:21 AM, David Leangen wrote:
Is it possible to change what Tapestry considers a valid getter/setter
name?
Specifically, I have boolean values such as:
- showComponent
- hideComponent
- hasValue
etc.
It appears that I have to use getters/setters such as:
- getShowComponent
- getHideComponent
- getHasValue
This is kinda ugly... can this be changed so I can use getters/setters
like:
- showComponent()
- hideComponent()
- hasValue()
For instance:
if(hasValue())
{
doSomething();
}
Thanks!
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]