Class JQueryTemplateBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- com.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior
-
- com.googlecode.wicket.jquery.ui.template.JQueryTemplateBehavior
-
- All Implemented Interfaces:
Serializable,org.apache.wicket.IComponentAwareEventSink,org.apache.wicket.markup.html.IComponentAwareHeaderContributor,org.apache.wicket.util.io.IClusterable
public class JQueryTemplateBehavior extends com.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehaviorProvides the default implementation ofJQueryAbstractTemplateBehaviorthat works with aIJQueryTemplate.
The content of the <script /> block (the resource stream) is given by theIJQueryTemplate.getText()- Author:
- Sebastien Briquet - sebfz1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.wicket.request.resource.PackageResourceReferenceTMPL_JS
-
Constructor Summary
Constructors Constructor Description JQueryTemplateBehavior(com.googlecode.wicket.jquery.core.template.IJQueryTemplate template)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(org.apache.wicket.Component component)StringgetToken()protected com.googlecode.wicket.jquery.core.template.JQueryTemplateResourceStreamnewResourceStream()voidrenderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
-
-
-
Method Detail
-
renderHead
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)- Specified by:
renderHeadin interfaceorg.apache.wicket.markup.html.IComponentAwareHeaderContributor- Overrides:
renderHeadin classcom.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior
-
bind
public void bind(org.apache.wicket.Component component)
- Overrides:
bindin classorg.apache.wicket.behavior.Behavior
-
getToken
public String getToken()
- Specified by:
getTokenin classcom.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior
-
newResourceStream
protected com.googlecode.wicket.jquery.core.template.JQueryTemplateResourceStream newResourceStream()
- Specified by:
newResourceStreamin classcom.googlecode.wicket.jquery.core.template.JQueryAbstractTemplateBehavior
-
-