Hi,
I'm using wicketstuff-rome to create and add RSS feeds to certain pages of
my webapplication. The problem I'm now facing is that the feeds do not have
nice URLs as they're in the format e.g.
http://www.foo.bar/resources/org.apache.wicket.Application/myFeed. It would
be much better to just have them like http://www.foo.bar/feeds/myFeed. I add
the feed to the page like that:
add(FeedResource.autodiscoveryLink(new
ResourceReference("myFeed") {
private static final long serialVersionUID = 1L;
@Override
protected Resource newResource() {
return new
UserFeedResource(currentUser);
}
}));
As myFeed needs a session-dependent parameter (currentUser), I can't just
mount the resource by using mountsharedresource in the application class.
I had a look at a recent post in the mailinglist
(http://www.nabble.com/Mounting-shared-resources-to15230311.html), but I
wondered if they're might be an easier way, as I'd like to use the
autodiscoveryLink method to add the resources.
thanks in advance
Michael
-----
Michael Sparer
http://talk-on-tech.blogspot.com
--
View this message in context:
http://www.nabble.com/wicketstuff-rome-and-mounting-resources-tp15266406p15266406.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]