On Sat, May 23, 2009 at 4:34 PM, Igor Vaynberg <[email protected]>wrote:

> final Link<?> link=....
>
> -igor
>

@James
The seems to work just fine:

final Link<Void> link = new BookmarkablePageLink<Void>("a-contact", ...);


@Igor
Just wanted to clarify ... it is hard to tell exactly what you're
suggesting:

final Link<?> link = new BookmarkablePageLink<Void>("a-contact",
final Link<?> link = new BookmarkablePageLink("a-contact",

I'm also fine doing it the old way (no type parameter). Just wasn't sure
what the suggested best practice was going to be.

-Luther




>
> On Sat, May 23, 2009 at 12:55 PM, James Carman
> <[email protected]> wrote:
> > BookmarkablePageLink<Void> perhaps?
> >
> > On Sat, May 23, 2009 at 2:05 PM, Luther Baker <[email protected]>
> wrote:
> >> I'm afraid I'm late to the party and that this may have been discussed
> >> 'before' I moved to 1.4 - but is there an established best practice to
> >> handle something like BookmarkablePageLink ... when I'm not going to use
> a
> >> model?
> >>
> >> Can I confidently just leave the Type off? Is that best practice? or
> should
> >> we pick some well-known type? ahh .. that sounds wrong.
> >>
> >>        final Link<String> link = new
> >> BookmarkablePageLink<String>("app-title", Home.class);
> >> vs
> >>        final Link link = new BookmarkablePageLink("app-title",
> Home.class);
> >>
> >> I'm one of those 'hate yellow squigglies' kinda folks so it feels
> 'funny'
> >> ... had to ask.
> >>
> >> Thanks,
> >>
> >> -Luther
> >>
> >
> > ---------------------------------------------------------------------
> > 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