Hmm...I think I've missed the fact that the application doesn't have mount. I guess I should cast the Application to WebApplication and just be done with it...
Sorry for the noise... /Mats On 2/28/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > make a jira issue for this. > > > > On 2/28/07, Mats Norén <[EMAIL PROTECTED]> wrote: > > On 2/28/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > i think that should work > > > Doesn't it? error? or the mount is just not there? > > > > not there! :) > > > > wicket 1.2.4 btw > > > > /Mats > > > > > > > > > > > > johan > > > > > > > > > > > > On 2/28/07, Mats Norén < [EMAIL PROTECTED]> wrote: > > > > > > > > Hi, > > > > is it possible to mount my shared resource within my localizer? > > > > > > > > public class ForumFeedResource extends ContentFeedResource > > > > > > > > public static class Initializer implements IInitializer { > > > > > > > > public void init(Application application) { > > > > application.getSharedResources ().add("newsFeed", new > > > > ForumFeedResource()); > > > > --> can't be done? > > > > -->application.mountSharedResource("/rss/forum", new > > > > > ResourceReference("newsFeed").getSharedResourceKey()); > > > > } > > > > } > > > > > > > > > > > > protected SyndFeed getFeed() { > > > > ValueMap params = getParameters(); > > > > build my feed... > > > > } > > > > } > > > > > > > > Or am I using it the wrong way? > > > > > > > > /Mats > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > > your > > > > opinions on IT & business topics through brief surveys-and earn cash > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > > > Wicket-user mailing list > > > > Wicket-user@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > > opinions on IT & business topics through brief surveys-and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user