Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > problem

Reply
Thread Tools

problem

 
 
aditya
Guest
Posts: n/a
 
      11-28-2003
Hi,
I am new to perl and I belive the following code has a problem. Can
someone tell me what? The stuff I want to add in the html page (inside
the 'if' condition below), it doesnt come at all!

Please help!

Aditya


################################################## ############################
package App:ialog::Field::Scheduling::ReoccuringAppts;
################################################## ############################

use strict;
use base qw{CGI:ialog::ContentItem};
use CGI:ialog;
use CGI::Validator::Field;
use base qw{CGI:ialog::MultiField};

sub new
{
my ($type, %params) = @_;

#added

my $temp=$params{val};

if ($temp eq '1')
{
return CGI:ialog::MultiField::new($type, %params,
fields => [
new CGI:ialog::Field(caption => "Appointments Interval",
name => "appt_Interval",
choiceDelim =>',',
selOptions => q{Day:0, Week:1, 2 Weeks:2, Month:3, 2 Months:4, 6
Months:5, Year:6},
type => 'select',
),

new App:ialog::Field::Scheduling:ate(caption => "Termination
Date",
name => "Term_date",
options => FLDFLAG_REQUIRED,
),
],
);
}
}
 
Reply With Quote
 
 
 
 
William Herrera
Guest
Posts: n/a
 
      11-29-2003
On 27 Nov 2003 20:48:32 -0800, (aditya) wrote:

>Hi,
>I am new to perl and I belive the following code has a problem. Can
>someone tell me what? The stuff I want to add in the html page (inside
>the 'if' condition below), it doesnt come at all!
>
>Please help!
>
>Aditya
>
>
>################################################# #############################
>package App:ialog::Field::Scheduling::ReoccuringAppts;
>################################################# #############################
>
>use strict;
>use base qw{CGI:ialog::ContentItem};
>use CGI:ialog;
>use CGI::Validator::Field;
>use base qw{CGI:ialog::MultiField};
>


We'd help you, but...where is the source to these modules available? I do not
see them on CPAN.


---
Use the domain skylightview (dot) com for the reply address instead.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem problem problem :( Need Help Mike ASP General 2 05-11-2004 08:36 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57