On 10 Mar 2010, at 21:09, Carl Franks wrote:
>
> I think my preferred method would be to create a custom subclasss of
> Textarea which provides its own string_field()
Oh yes - that does look neater.
Nigel.
--
[ Nigel Metheringham nigel.methering...@intechnology.com ]
[ - Comm
I think my preferred method would be to create a custom subclasss of
Textarea which provides its own string_field() looking something like
this:
sub _string_field {
my ( $self, $render ) = @_;
my $html = q{};
$html .= $self->next::method($render);
$html .= q{};
return $html;
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-
I am currently having an issue where I would like to try wrapping textarea
elements into another element (either a div or a span), leaving their
associated label elements outside (and I guess I should check this is legal
HTML).
I am attempting to use TinyMCE to provide a GUI editor for some tex