wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Vaynberg" <igor.vaynb...@gmail.com>
Subject Re: generics
Date Tue, 01 Jul 2008 20:11:03 GMT
if your link is anonymous, yes. if you have reusable links in their
own class, then no.

-igor

On Tue, Jul 1, 2008 at 12:24 PM, Joni Freeman <joni.freeman@ri.fi> wrote:
> Isn't this a same thing:
>
> onPopulateItem(final Item<User> item) {
>  add(new Link("delete") {
>    protected void onClick() { service.delete(item.getModelObject()); }
>  });
> }
>
> Joni
>
> On Tue, 2008-07-01 at 11:56 -0700, Igor Vaynberg wrote:
>> onPopulateItem(Item<User> item) {
>>   add(new Link<User>("delete", item.getModel()) {
>>        protected void onClick() { service.delete(getModelObject()); }
>>   });
>> }
>>
>> -igor
>>
>> On Tue, Jul 1, 2008 at 11:51 AM, Rodolfo Hansen <rhansen@kindleit.net> wrote:
>> > I too like this compromise alot
>> >
>> > Although I don't see a good use case for generifying Link ?
>> > Am I missing something?
>> >
>> >
>> > On Fri, Jun 27, 2008 at 2:49 PM, Timo Rantalaiho <Timo.Rantalaiho@ri.fi>
>> > wrote:
>> >
>> >> On Fri, 27 Jun 2008, Igor Vaynberg wrote:
>> >> > since no one complained, should we apply this change over the weekend?
>> >> > and soon thereafter release m3?
>> >>
>> >> I prefer this over M2. Even though:
>> >>
>> >> > > user). so far these are link,form,formcomponent
>> >>
>> >> Link might be better without the type parameter. It's no big
>> >> deal though.
>> >>
>> >> And yes, it would be good if for example Johan and Gerolf
>> >> who have invested a lot of effort on the generification
>> >> could have a closer look and tell what they think before
>> >> proceeding.
>> >>
>> >> Best wishes,
>> >> Timo
>> >>
>> >> --
>> >> Timo Rantalaiho
>> >> Reaktor Innovations Oy    <URL: http://www.ri.fi/ >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> For additional commands, e-mail: users-help@wicket.apache.org
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message