Make web publishing easier to configure.
[gpl/argeo-suite.git] / publishing / org.argeo.publishing.ui / src / org / argeo / publishing / ui / DocumentUiProvider.java
index 11707652c3ee3149d81cfec32d637b8968206d7d..2b82f5dddf83622adfa13517dcf5dc2683c9b9d6 100644 (file)
@@ -28,7 +28,7 @@ public class DocumentUiProvider implements CmsUiProvider {
                        // Title
                        parent.setLayout(CmsUiUtils.noSpaceGridLayout());
 
-                       CmsLink toHtml = new CmsLink("To HTML", "/html/dbk" + textNode.getPath());
+                       CmsLink toHtml = new CmsLink("To HTML", "/html/dbk" + context.getPath());
                        toHtml.createUiPart(parent, context);
 
                        ScrolledPage page = new ScrolledPage(parent, SWT.NONE);