jscalendar requires prototype and scriptaculo libs? If is not requires,
why they appear in a web-page?

public class MyPage {

    @Inject
    @Path("${tapestry.jscalendar}/skins/aqua/theme.css")
    private Asset themeStylesheet;

    @Inject
    @Path("${tapestry.jscalendar}/calendar_stripped.js")
    private Asset mainScript;

    @Inject
    @Path("${tapestry.jscalendar}/lang/calendar-ru.js")
    private Asset localizationScript;

    @Inject
    @Path("${tapestry.jscalendar}/calendar-setup_stripped.js")
    private Asset setupScript;
    
    @Inject
    @Path("context:js/history.js")
    private Asset historyScript;

    ...
    
    void beginRender(MarkupWriter writer) {
        support.addStylesheetLink(themeStylesheet, null);
        support.addScriptLink(mainScript, localizationScript, setupScript);
    }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to