Changeset 55 in text-formbuilder for trunk/lib/Text


Ignore:
Timestamp:
01/13/05 14:32:57 (19 years ago)
Author:
peichman
Message:

updated version number
added Class::Base to dependancies
laid groundwork for using !groups directly in a form line

Location:
trunk/lib/Text
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Text/FormBuilder.pm

    r53 r55  
    77use vars qw($VERSION @EXPORT); 
    88 
    9 $VERSION = '0.08'; 
     9$VERSION = '0.09_01'; 
    1010@EXPORT = qw(create_form); 
    1111 
  • trunk/lib/Text/FormBuilder/grammar

    r50 r55  
    191191hint: '[' /[^\]]+/ ']'    { $item[2] } 
    192192 
    193 type: ':' /textarea|text|password|file|checkbox|radio|select|hidden|static/ 
     193# TODO: differentiate between builtins and custom field groups 
     194type: ':' ( builtin_field | var_name { warn "[Text::FormBuilder] Using field group names directly is not (yet) supported (input line $thisline)\n"; 'text' } ) 
     195 
     196builtin_field: /textarea|text|password|file|checkbox|radio|select|hidden|static/ 
     197 
    194198 
    195199default: '=' (simple_multiword | quoted_string) { $item[2] } 
Note: See TracChangeset for help on using the changeset viewer.