the problem with this stuff is that there is no single pattern that will
work

sometimes you want a chain where if a link fails the chain shortcircuits
other times you dont want the shortcircuit

sometimes you care about the order, other times you do not

there are many variations of this and they are almost impossible to
configure, so this isnt an easy problem.

-igor


On 9/6/07, Scott Swank <[EMAIL PROTECTED]> wrote:
>
> Would it make sense to have a behavior that was implemented as a Chain
> of Responsibility
>
> http://en.wikipedia.org/wiki/Chain-of-responsibility_pattern
>
> Then it would just be a matter of adding that behavior to your component.
>
>
> On 9/6/07, Alex Objelean <[EMAIL PROTECTED]> wrote:
> >
> > I am curious, what is your use case for chaining behaviors?
> > I think that if you have two things that you want to chain, then chain
> them
> > in the same handler, or use decorator to add the client-side code.
> >
> > Alex
> >
> >
> > paolo di tommaso wrote:
> > >
> > > Carlos,
> > >
> > > Can you provide an example of your custom implementation of chained
> > > behaviour?
> > >
> > >
> > > Thanks, Paolo
> > >
> > >
> > > On 9/6/07, Carlos Pita <[EMAIL PROTECTED]> wrote:
> > >>
> > >> > Currently people will have to build it in themselves like you did.
> We
> > >> > can investigate whether this can be improved for future versions,
> but
> > >>
> > >> From my own experience I wouldn't say that wicket should support
> this.
> > >> It's too easy to write it yourself just to fit your specific needs,
> > >> and otoh seems difficult to predict and support a significant number
> > >> of possible use cases in a general way that keeps everyone happy, as
> > >> you remarked.
> > >>
> > >> Regards,
> > >> Carlos
> > >>
> > >> >
> > >> > Eelco
> > >> >
> > >> >
> ---------------------------------------------------------------------
> > >> > 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]
> > >>
> > >>
> > >
> > >
> >
> > --
> > View this message in context:
> http://www.nabble.com/Twice-Behavior-on-the-same-event-handler-%28wicket-1.2.x%29-tf4386351.html#a12518265
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Scott Swank
> reformed mathematician
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to