Changing it to 'get' rather than 'is' did not fix the bug. But changing it 
to... 

@Parameter(defaultValue="true")
public abstract boolean isShowDesc();
public abstract void setShowDesc(boolean showDesc);
 
..did work. Wierd!?! Perhaps showDescription is some sort of reserved word 
that is clashing with the enhancement workers?

-Scott


On Sat 17 December 2005 13:57, Paul Cantrell wrote:
> It sounds like it should work.....
>
> Have you tried it with "getShowDescription" instead of
> "isShowDescription"? If that fixes the problem, it *definitely*
> belongs in JIRA. And if it doesn't ... well, I'm not sure, but it
> very well still may.
>
> Cheers,
>
> Paul
>
> On Dec 16, 2005, at 7:47 PM, Scott Russell wrote:
> > I am reposting this question because I didn't get an answer
> > previously.
> >
> > I have this below in my component class. As I understand it, this
> > should set
> > the 'showDescription' parameter I am describing to default to true.
> > However,
> > at runtime, the parameter is defaulting to false.
> >
> > @Parameter(defaultValue="true")
> > public abstract boolean isShowDescription();
> > public abstract void setShowDescription(boolean showDescription);
> >
> > Does anyone have any ideas why this doesn't work as expected? Is my
> > configuration incorrect or is it a bug in Tapestry4-rc1 that I should
> > register on JIRA?
> >
> > regards,
> > Scott
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> _________________________________________________________________
> Piano music podcast: http://inthehands.com
> Other interesting stuff: http://innig.net
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to