My solution for this was to add these in my catalyst root controller
(purely because it seemed like a reasonable place to put oddments):-

# hack some of the FormFu stuff a bit...
sub HTML::FormFu::Element::Textarea::_string_field_start {
    my ( $self, $render ) = @_;

    return (
        $self->next::method($render) . '<div class="textarea_container">' );
}

sub HTML::FormFu::Element::Textarea::_string_field_end {
    my ( $self, $render ) = @_;

    return ( '</div>' . $self->next::method($render) );
}

Seemed like the cleanest way I could see... still a bit messy but thats
down to TinyMCE as much as anything.

        Nigel.

--
[ Nigel Metheringham             [email protected] ]
[ - Comments in this message are my own and not ITO opinion/policy - ]


_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to