01: package org.ztemplates.tutorial.yui.overlay;
02:
03: import org.ztemplates.actions.ZMatch;
04: import org.ztemplates.web.ZTemplates;
05:
06: @ZMatch("/overlay/content")
07: public class OverlayTutorialContentAction {
08: public static String createUrl() throws Exception {
09: OverlayTutorialContentAction act = new OverlayTutorialContentAction();
10: return ZTemplates.getServletService().createUrl(act);
11: }
12:
13: public void after() throws Exception {
14: ZTemplates.getServletService().render(
15: new OverlayTutorialContent());
16: }
17: }
|