Apache::Wyrd::Defaults

Apache::Wyrd::Defaults contains default data for a Form Wyrd.
Download

Apache::Wyrd::Defaults Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Barry King
  • Publisher web site:
  • http://search.cpan.org/~wyrd/Apache-Wyrd-0.98/Wyrd/Services/CodeRing.pm

Apache::Wyrd::Defaults Tags


Apache::Wyrd::Defaults Description

Apache::Wyrd::Defaults contains default data for a Form Wyrd. Apache::Wyrd::Defaults contains default data for a Form Wyrd.SYNOPSIS < BASENAME::SQLForm index="user_id" table="users" > < BASENAME::Form::Template name="password" > < BASENAME::Form::Preload > < BASENAME::Defaults > select 'root' as user_id; < /BASENAME::Defaults > < BASENAME::Query > select user_id from users where name='Groucho' < /BASENAME::Query > < /BASENAME::Form::Preload > < b >Enter Password:< /b >< br > < BASENAME::Input name="password" type="password" / > < BASENAME::Input name="user_id" type="hidden" / > < /BASENAME::Form::Template > < BASENAME::Form::Template name="result" > < H1 >Status: $:_status< /H1 > < HR > < P >$:_message< /P > < /BASENAME::Form::Template > < /BASENAME::SQLForm >Provide default values to a parent object. The parent must have a register_defaults method to which Defaults passes itself. The defaults are given in the form of a query, and the sh method accesses the statement handle of that query. This Wyrd was designed to be used with an Apache::Wyrd::Form::Preload object.HTML ATTRIBUTESSee Apache::Wyrd::Query.PERL METHODSSee Apache::Wyrd::Query. Requirements: · Perl


Apache::Wyrd::Defaults Related Software