You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Oliver Mahnke <ol...@apliki.de> on 2008/10/21 12:04:14 UTC

how to get bookmarkable-page-url in FeedResource

Hi,

i am trying to show links to bookmarkable pages in a news feed using 
FeedResource from wicketstuff-rome.

I can't get it to work because i don't know the urls. I tried to use 
BookmarkablePageLink, but this fails
in the FeedResource because the link is not attached to any page.

Thanks for any advice!

Oliver


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


Re: how to get bookmarkable-page-url in FeedResource

Posted by Jörn Zaefferer <jo...@googlemail.com>.
I'm using with in my Application subclass to mount the feed as
implemented by MyFeedResource:

getSharedResources().add("my-feed", new MyFeedResource());
mountSharedResource("/games/atom", new
ResourceReference("my-feed").getSharedResourceKey());

And on my base page:

add(FeedResource.autodiscoveryLink(new ResourceReference("games-feed")));

Jörn

On Tue, Oct 21, 2008 at 12:04 PM, Oliver Mahnke <ol...@apliki.de> wrote:
> Hi,
>
> i am trying to show links to bookmarkable pages in a news feed using
> FeedResource from wicketstuff-rome.
>
> I can't get it to work because i don't know the urls. I tried to use
> BookmarkablePageLink, but this fails
> in the FeedResource because the link is not attached to any page.
>
> Thanks for any advice!
>
> Oliver
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>