org.makumba.forms.html
Interface CalendarEditorProvider
- All Known Implementing Classes:
- KruseCalendarEditor
public interface CalendarEditorProvider
This interface shall be implemented by classes providing a calendar-choser/popup using java script.
There are many different java-script solutions around, and different flavours can be provided through this interface.
- Version:
- $Id: CalendarEditorProvider.java 3032 2008-08-07 10:08:40Z rosso_nero $
- Author:
- Rudolf Mayer
formatEditorCode
StringBuffer formatEditorCode(String inputName,
Object formIdentifier,
String calendarLinkFormatting)
- Write the code to display the calendar, and to connect it to the input boxes of the Makumba-internal
dateEditor
. This method has to provide all needed java-script calls.
getNeededJavaScriptFileNames
String[] getNeededJavaScriptFileNames()
- Return an array of file names to libraries that shall be included. Makumba could check via page analysis
MakumbaJspAnalyzer
if the libraries are already included by the programmer, and add them if needed.