From 57c06240e36e5b2cdb1c4c6d6c5bfba36e3024b3 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 14 Sep 2010 13:28:08 -0700 Subject: [PATCH] Convert DataForm to using headTags. --- lib/WebGUI/Form/DataTable.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/WebGUI/Form/DataTable.pm b/lib/WebGUI/Form/DataTable.pm index f1c12a1cb..ff5438e26 100644 --- a/lib/WebGUI/Form/DataTable.pm +++ b/lib/WebGUI/Form/DataTable.pm @@ -345,6 +345,19 @@ sub getTableHtml { #------------------------------------------------------------------- +=head2 headTags () + +Set head tags for this form plugin + +=cut + +sub headTags { + my $self = shift; + $self->prepare; +} + +#------------------------------------------------------------------- + =head2 prepare ( ) Load all the script and css files we need. Call this in prepareView() if needed.