In magnolia 4.5 you could use tab.addControl in the @TabFactory where the
control extends DialogInclude and overrides drawHtml. The config was set as a
jsp.
public class SomeControl extends DialogInclude {
public final static String JCR_CONTROL_NAME = "someControl";
@Override
public void drawHtml(Writer out) throws IOException {
this.setConfig("file", "/WEB-INF/jsp/controls/some.jsp");
super.drawHtml(out);
}
}
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=629c9789-2ca7-406a-995b-77932c5f34e1
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------