Re: Generic BookmarkablePage

2009-05-25 Thread James Carman
On Sun, May 24, 2009 at 11:16 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: final Link? link = new BookmarkablePageLinkVoid(a-contact, if you are not intending on using the model use ? which will help enforce that Care to elaborate on that? How does ? assure that folks aren't going to

Re: Generic BookmarkablePage

2009-05-25 Thread Igor Vaynberg
no, you cannot instantiate ?, but you can instantiate Void and assign it to ? as per my example below -igor On Mon, May 25, 2009 at 6:05 AM, James Carman jcar...@carmanconsulting.com wrote: On Sun, May 24, 2009 at 11:16 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: final Link? link = new

Re: Generic BookmarkablePage

2009-05-25 Thread James Carman
Yes, of course. My bad. I didn't understand what you meant. Sorry. On Mon, May 25, 2009 at 11:38 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: no, you cannot instantiate ?, but you can instantiate Void and assign it to ? as per my example below -igor On Mon, May 25, 2009 at 6:05 AM,

Re: Generic BookmarkablePage

2009-05-24 Thread Luther Baker
On Sat, May 23, 2009 at 4:34 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: final Link? link= -igor @James The seems to work just fine: final LinkVoid link = new BookmarkablePageLinkVoid(a-contact, ...); @Igor Just wanted to clarify ... it is hard to tell exactly what you're

Re: Generic BookmarkablePage

2009-05-24 Thread Igor Vaynberg
final Link? link = new BookmarkablePageLinkVoid(a-contact, if you are not intending on using the model use ? which will help enforce that -igor On Sun, May 24, 2009 at 1:07 PM, Luther Baker lutherba...@gmail.com wrote: On Sat, May 23, 2009 at 4:34 PM, Igor Vaynberg

Generic BookmarkablePage

2009-05-23 Thread Luther Baker
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

Re: Generic BookmarkablePage

2009-05-23 Thread James Carman
BookmarkablePageLinkVoid perhaps? On Sat, May 23, 2009 at 2:05 PM, Luther Baker lutherba...@gmail.com 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

Re: Generic BookmarkablePage

2009-05-23 Thread Igor Vaynberg
final Link? link= -igor On Sat, May 23, 2009 at 12:55 PM, James Carman jcar...@carmanconsulting.com wrote: BookmarkablePageLinkVoid perhaps? On Sat, May 23, 2009 at 2:05 PM, Luther Baker lutherba...@gmail.com wrote: I'm afraid I'm late to the party and that this may have been discussed