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

Reply via email to