On Tue, Apr 29, 2008 at 8:05 AM, James Hardy
<[EMAIL PROTECTED]> wrote:
> It might be an idea to include that in the docs for people like me who are
> still a little clueless about the many ways of doing the same thing in Perl.
You can also annotate the POD on CPAN. I've found a lot of useful
info
2008/4/29 Roger Burton West <[EMAIL PROTECTED]>:
> On Tue, Apr 29, 2008 at 02:39:17PM +0100, James Hardy wrote:
> >the example
> >code for section 5 is the same as the example for section 4 after "# And
> >with some TMPL_LOOPs:", and as such doesn't seem to use a hashref at all.
>
> It's not, you
On Tue, Apr 29, 2008 at 02:39:17PM +0100, James Hardy wrote:
>the example
>code for section 5 is the same as the example for section 4 after "# And
>with some TMPL_LOOPs:", and as such doesn't seem to use a hashref at all.
It's not, you know.
$self->param(PARAM => 'value',
Hi there,
Looking at the documentation at
http://search.cpan.org/~samtregar/HTML-Template-2.9/Template.pm#param()
and at http://html-template.sourceforge.net/html_template.html#param() it is
not clear how to use a hashref to set a number of parameters as the example
code for section 5 is the same
Thanks. That's what I'm doing. I was looking for a programmatic way of
accomplishing it:
my @inputs = $template->cgi ( 'input' );
foreach my $input ( @{ $template->cgi ( 'input' ) } ) {
$input->set_attribute ( 'readonly', 'readonly' );
}
---
Mark Mertel
TEK systems
Desk: 425.288.7214
Mobi
Mertel, Mark schrieb:
> After loading the template, can I fetch all of the input fields and set
> them to readonly?
Wether or not a input field is disabled is controlled by the disabled
Attribute of the HTML element.
For HTML 4.01:
For XHTML:
So, if you want to control the disabled status fr