Why is $xwiki.getURLContent("file:///etc/...") not supposed to work? (if you have programming rights).
paul Le 6 déc. 2012 à 08:44, Sergiu Dumitriu a écrit : > On 12/06/2012 11:39 AM, H.-Dirk Schmitt wrote: >> Hi! >> >> I'm looking for a receipt to display a local file inside an xwiki page. >> >> The use case is that this is an intranet documentation provided by xwiki. >> Every user in the audience has normally some configuration files in a >> standardized location. >> The content may differ between for each user (or concrete his >> workstation). This is also the reason not to expose the files on a >> webserver and use the RemoteCode marco. >> >> Current solution is to at a link [[ConfigFile>>file:///etc.....]] >> It would be nicer to display the content inside the xwiki page. >> > > For security reasons, that kind of thing is not supposed to be doable. > > Try using an iframe. > > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users