Extend the base class to add a method that will set the head tags for a form plugin. The intent is that users of form plugins can build them during prepareView for content chunking, and push links and scripts out in the head block, rather than in the body to assist with validation.

This commit is contained in:
Colin Kuskie 2010-09-14 11:32:19 -07:00
parent 093f7d67e9
commit 397d0db245

View file

@ -464,6 +464,18 @@ sub getValueFromPost {
#-------------------------------------------------------------------
=head2 headTags ( )
Set any head tags that this form plugin needs for CSS or Javascript.
=cut
sub headTags {
return '';
}
#-------------------------------------------------------------------
=head2 isDynamicCompatible ( )
A class method that returns a boolean indicating whether this control is compatible with the DynamicField control. Returns 0.