net.sf.tacos.formatter
Interface JsFormatter

All Known Implementing Classes:
DateJsFormatter, MaskJsFormatter, NumberJsFormatter

public interface JsFormatter

Adds formatting and mask client-side capabilities to a component.

Author:
lquijano

Method Summary
 void renderContributions(org.apache.tapestry.IRequestCycle cycle, org.apache.tapestry.engine.IScriptSource scriptSource, org.apache.tapestry.IComponent comp, String uniqueId)
          Renders the formatter contributions (usually JavaScript functions).
 

Method Detail

renderContributions

void renderContributions(org.apache.tapestry.IRequestCycle cycle,
                         org.apache.tapestry.engine.IScriptSource scriptSource,
                         org.apache.tapestry.IComponent comp,
                         String uniqueId)
Renders the formatter contributions (usually JavaScript functions).

Parameters:
cycle - Tapestry request cycle.
scriptSource - Tapestry script source.
comp - the component.
uniqueId - optional unique Id to override the component's id.