I think I'm on to something. I have modified the macro to produce an svg
instead of a png. I then wrap the output in {{html}}{{/html}} aND now the
links are clickable. I'm working on running the uml input through
services.rendering.parse () to convert the wiki links to absolute url
automatically.
Not exactly new. plantuml is on Maven central which mean you can just
declare it as dependency of your extension and Extension Manager will
install it when you install your extension.
For imported Maven extension you just need to add it as dependency in
the pom, for 100% extension.xwiki.org
I think there is a problem with how xwiki renders pages. Because the SVG
macro can't show embedded links either. I have been trying it out, you can
include links in the svg devinition, but they just don't render as links.
XWiki seems to just convert everything to dumb images.
Dan
--
View this
Hi Dan,
Embedding links in a diagram is not available in the current PlantUML
Macro but it could be possible using the Image Map service (as described
on this page http://plantuml.com/server.html ). The drawback would be to
define links as absolute URLs and not in the xwiki simpler syntax.
Hi Thomas,
What do you mean by "to depend on net.sf.plantuml:plantuml" ? Is it a
new feature ? Can you give me a few pointer on this subject ?
Thanks.
Maxime
On 12/04/2016 15:53, Thomas Mortagne wrote:
Note that a cleaner solution would be to refactor PlantUML Macro
extension to depend on
ok, so it turns out the problem was not just jar files, but any large files. I
had to mess around with the max_allowed_packet variable in mysql, plus increase
the size of uploads in xwiki, which at first I didn’t realize is given in
BYTES. so now I can upload large files.
I wanted a local
Note that a cleaner solution would be to refactor PlantUML Macro
extension to depend on net.sourceforge.plantuml:plantuml extension
instead of embedding it. Extension will simply put the plantuml jar in
the classloader and it would be automatically available to the
PlantUML Macro (no need to load
Hi,
> On 11 Apr 2016, at 23:47, dullfig wrote:
>
> Hello:
>
> I want to upload the latest PlantUML.jar server as an attachment to the
> PlantUMLMacroGClass page. The current PlantUML.jar is outdated, and is
> already an attachment to this page.
>
> I press the "chose