[xwiki-users] Calc Macro
Hi XWiki users, I'm trying to use the Calc Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Calc+Macro but it doesn't seem to work "out of the box". Is there someone who managed to fix it ? Or if you have an other way to compute dynamically the average of 3 numbers ? Thanks for your help. My wiki version is 3.5.1. Maxime
Hi Maxime I don't know about the Macro, but if you just want to average 3 numbers you could use the Velocity MathTool ( http://velocity.apache.org/tools/devel/generic/MathTool.html) which is available as $mathtool in XWiki. Hope this helps Edo On Tue, Apr 16, 2013 at 3:22 PM, Maxime Sinclair <maxime.sinclair@gmail.com>wrote:
Hi XWiki users,
I'm trying to use the Calc Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Calc+Macro but it doesn't seem to work "out of the box". Is there someone who managed to fix it ? Or if you have an other way to compute dynamically the average of 3 numbers ?
Thanks for your help. My wiki version is 3.5.1. Maxime _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Thanks for the idea, I'll give it a try. 2013/4/16 Edo Beutler <ebeutler@synventis.com>
Hi Maxime
I don't know about the Macro, but if you just want to average 3 numbers you could use the Velocity MathTool ( http://velocity.apache.org/tools/devel/generic/MathTool.html) which is available as $mathtool in XWiki.
Hope this helps Edo
On Tue, Apr 16, 2013 at 3:22 PM, Maxime Sinclair <maxime.sinclair@gmail.com>wrote:
Hi XWiki users,
I'm trying to use the Calc Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Calc+Macro but it doesn't seem to work "out of the box". Is there someone who managed to fix it ? Or if you have an other way to compute dynamically the average of 3 numbers ?
Thanks for your help. My wiki version is 3.5.1. Maxime _______________________________________________ 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
Hi, Indeed I just installed it in 4.5 and it breaks. There must have been some API changes in the XDOM since I wrote these macros. I'll look at it when I have time but I cannot promise. Ludovic 2013/4/16 Maxime Sinclair <maxime.sinclair@gmail.com>
Hi XWiki users,
I'm trying to use the Calc Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Calc+Macro but it doesn't seem to work "out of the box". Is there someone who managed to fix it ? Or if you have an other way to compute dynamically the average of 3 numbers ?
Thanks for your help. My wiki version is 3.5.1. Maxime _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
Hi Ludovic, In fact, in 3.5.1 it works but its very very slow. Is it normal ? Maxime 2013/4/16 Ludovic Dubost <ludovic@xwiki.com>
Hi,
Indeed I just installed it in 4.5 and it breaks. There must have been some API changes in the XDOM since I wrote these macros.
I'll look at it when I have time but I cannot promise.
Ludovic
2013/4/16 Maxime Sinclair <maxime.sinclair@gmail.com>
Hi XWiki users,
I'm trying to use the Calc Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Calc+Macro but it doesn't seem to work "out of the box". Is there someone who managed to fix it ? Or if you have an other way to compute dynamically the average of 3 numbers ?
Thanks for your help. My wiki version is 3.5.1. Maxime _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
No it's not. I look at it and I think I found the issue but I could not publish a new version yet. In CalcGroovy you should comment out all calls to "print" Apparently this ends up in System out and is slowing down everything Ludovic 2013/4/17 Maxime Sinclair <maxime.sinclair@gmail.com>
Hi Ludovic,
In fact, in 3.5.1 it works but its very very slow. Is it normal ?
Maxime
2013/4/16 Ludovic Dubost <ludovic@xwiki.com>
Hi,
Indeed I just installed it in 4.5 and it breaks. There must have been some API changes in the XDOM since I wrote these macros.
I'll look at it when I have time but I cannot promise.
Ludovic
2013/4/16 Maxime Sinclair <maxime.sinclair@gmail.com>
Hi XWiki users,
I'm trying to use the Calc Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Calc+Macro but it doesn't seem to work "out of the box". Is there someone who managed to fix it ? Or if you have an other way to compute dynamically the average of 3 numbers ?
Thanks for your help. My wiki version is 3.5.1. Maxime _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost _______________________________________________ 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
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
Thanks Ludovic, it works fine now. As you suggested, I just commented out all the "print" statements. 2013/4/17 Ludovic Dubost <ludovic@xwiki.com>
No it's not. I look at it and I think I found the issue but I could not publish a new version yet.
In CalcGroovy you should comment out all calls to "print" Apparently this ends up in System out and is slowing down everything
Ludovic
2013/4/17 Maxime Sinclair <maxime.sinclair@gmail.com>
Hi Ludovic,
In fact, in 3.5.1 it works but its very very slow. Is it normal ?
Maxime
2013/4/16 Ludovic Dubost <ludovic@xwiki.com>
Hi,
Indeed I just installed it in 4.5 and it breaks. There must have been some API changes in the XDOM since I wrote these macros.
I'll look at it when I have time but I cannot promise.
Ludovic
2013/4/16 Maxime Sinclair <maxime.sinclair@gmail.com>
Hi XWiki users,
I'm trying to use the Calc Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Calc+Macro but it doesn't seem to work "out of the box". Is there someone who managed to fix it ? Or if you have an other way to compute dynamically the average of 3 numbers ?
Thanks for your help. My wiki version is 3.5.1. Maxime _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost _______________________________________________ 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
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Edo Beutler -
Ludovic Dubost -
Maxime Sinclair