1
# See bottom of file for license and copyright details
2
package Foswiki::Form::Textarea;
3
use base 'Foswiki::Form::FieldDefinition';
9
my $this = $class->SUPER::new(@_);
10
if ( $this->{size} =~ /^\s*(\d+)x(\d+)\s*$/ ) {
23
---++ ObjectMethod finish()
24
Break circular references.
28
# Note to developers; please undef *all* fields in the object explicitly,
29
# whether they are references or not. That way this method is "golden
30
# documentation" of the live fields in the object.
33
$this->SUPER::finish();
39
my ( $this, $web, $topic, $value ) = @_;
44
-class => $this->cssClasses(
47
-cols => $this->{cols},
48
-rows => $this->{rows},
49
-name => $this->{name},
50
-default => "\n" . $value
58
Module of Foswiki - The Free and Open Source Wiki, http://foswiki.org/, http://Foswiki.org/
60
# Copyright (C) 2008-2009 Foswiki Contributors. All Rights Reserved.
61
# Foswiki Contributors are listed in the AUTHORS file in the root
62
# of this distribution. NOTE: Please extend that file, not this notice.
64
# Additional copyrights apply to some or all of the code in this
67
# Copyright (C) 2001-2007 TWiki Contributors. All Rights Reserved.
68
# TWiki Contributors are listed in the AUTHORS file in the root
69
# of this distribution. NOTE: Please extend that file, not this notice.
71
This program is free software; you can redistribute it and/or
72
modify it under the terms of the GNU General Public License
73
as published by the Free Software Foundation; either version 2
74
of the License, or (at your option) any later version. For
75
more details read LICENSE in the root of this distribution.
77
This program is distributed in the hope that it will be useful,
78
but WITHOUT ANY WARRANTY; without even the implied warranty of
79
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
81
As per the GPL, removal of this notice is prohibited.