[xwiki-users] How to deploy Java Component and save files?
Hi users, My project in XWiki consists in a java component which offers some APIs through a script service called by a Velocity script in a wiki page. I put my .jar in the directory C:\XWiki Enterprise 7.3\*webapps\xwiki\WEB-INF\lib *and this is the Velocity and HTML code that I've put in my XWiki page: {{velocity}} #if("$!request.evolver" == 1) ## Request for creating a new instance $services.pars.parse() $services.evo.removeInstance("Take bike") $response.sendRedirect($xwiki.getURL('Main.WebHome')) ## Stop processing, since we already sent a redirect. #stop #end {{html}} {{/html}} {{/velocity}} Let first say that nothing is happening when I click on the "Evolve" button and I don't know why...it looks like it should work, also because creating a Main_test class in Eclipse, I can run my software calling exactly the same methods and it works! Moreover my component must create some files to store some information, thus I am wondering where to save those files in order to make them accessible by the component. Any suggestions? Thanks in advance, Giordano. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] No 'Edit' in on-line sandbox?
Yes sorry about that, we need to fix the daily reset which currently badly resets permissions. I’ve temporarily fixed it for the day (I’m on holidays ATM) but we need to fix it in the SQL dump that we reset every night. Would be great if some devs could do it (otherwise I’ll try to do it in the coming 2 days). Thanks -Vincent Hello, Before installing XWiki, I wanted to play around in the Sandbox some to see if it meets our requirements. http://playground.xwiki.org/xwiki/bin/view/Sandbox/TestPage1 states: Click on "Edit" and modify the contents of this page, then click on "Save & View" to see how they look like on your page! But there is no 'Edit' menu or button to be found. And yes, I registered and logged in. Even tried different browsers to make sure it isn't some pluggin I installed. Is this supposed to work? Kind regards, Herta -- "Life on Earth may be expensive, but it comes with a free ride around the Sun." ___ 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
[xwiki-users] No 'Edit' in on-line sandbox?
Hello, Before installing XWiki, I wanted to play around in the Sandbox some to see if it meets our requirements. http://playground.xwiki.org/xwiki/bin/view/Sandbox/TestPage1 states: Click on "Edit" and modify the contents of this page, then click on "Save & View" to see how they look like on your page! But there is no 'Edit' menu or button to be found. And yes, I registered and logged in. Even tried different browsers to make sure it isn't some pluggin I installed. Is this supposed to work? Kind regards, Herta -- "Life on Earth may be expensive, but it comes with a free ride around the Sun." ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users