Cool.  It reminds me of a question I've been meaning to ask.

What's the best way to define the default value for component parameters?
Is it:

    @Parameter(defaultPrefix = BindingConstants.LITERAL)
    private String clientEvent = "change";

or:

    @Parameter(value = "change", defaultPrefix = BindingConstants.LITERAL)
    private String clientEvent;

or some method with a name starting with "default"?  I think I've seen all
three usages.




On Fri, May 21, 2010 at 6:32 AM, Inge Solvoll <inge.tapes...@gmail.com>wrote:

> You're right, it was the blog tool that stripped it off :) Fixed now.
>
> On Fri, May 21, 2010 at 12:07 PM, paha <ch_pa...@yahoo.com> wrote:
>
> >
> > there is a small compilation issue - ProcessSubmission should inherit
> from
> > ComponentAction<AnySubmit>, not from ComponentAction, shouldn't it?
> >
> >
> > --
> > View this message in context:
> >
> http://old.nabble.com/T5%3A-LinkSubmit-should-be-generic-tp28630552p28631907.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>

Reply via email to