cvsuser     02/04/19 07:35:17

  Modified:    P5EEx/Blue/P5EEx/Blue/Widget/HTML RepositoryEditor.pm
  Log:
  fixed so that the DataTable is not a contained object (bubbled events conflicted)
  
  Revision  Changes    Path
  1.5       +5 -5      p5ee/P5EEx/Blue/P5EEx/Blue/Widget/HTML/RepositoryEditor.pm
  
  Index: RepositoryEditor.pm
  ===================================================================
  RCS file: /cvs/public/p5ee/P5EEx/Blue/P5EEx/Blue/Widget/HTML/RepositoryEditor.pm,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -w -r1.4 -r1.5
  --- RepositoryEditor.pm       18 Apr 2002 16:44:35 -0000      1.4
  +++ RepositoryEditor.pm       19 Apr 2002 14:35:16 -0000      1.5
  @@ -1,6 +1,6 @@
   
   ######################################################################
  -## $Id: RepositoryEditor.pm,v 1.4 2002/04/18 16:44:35 spadkins Exp $
  +## $Id: RepositoryEditor.pm,v 1.5 2002/04/19 14:35:16 spadkins Exp $
   ######################################################################
   ## x TODO: add "summary" feature
   ## x TODO: add cross-tabulation
  @@ -32,7 +32,7 @@
   ## x TODO: add default {summary} formula as sum(COL)            (for numbers)
   
   package P5EEx::Blue::Widget::HTML::RepositoryEditor;
  -$VERSION = do { my @r=(q$Revision: 1.4 $=~/\d+/g); sprintf "%d."."%02d"x$#r,@r};
  +$VERSION = do { my @r=(q$Revision: 1.5 $=~/\d+/g); sprintf "%d."."%02d"x$#r,@r};
   
   use P5EEx::Blue::P5EE;
   use P5EEx::Blue::Widget::HTML;
  @@ -98,7 +98,7 @@
       }
       $self->{columns} = [] if (!defined $self->{columns});
   
  -    $context->widget("$name.datatable",
  +    $context->widget("${name}_datatable",
           widgetClass => "P5EEx::Blue::Widget::HTML::DataTable",
           scrollable  => 1,
           sortable    => 1,
  @@ -160,7 +160,7 @@
       $self->set("mode", $mode);
       $context = $self->{context};
       $name = $self->{name};
  -    $w = $context->widget("$name.datatable");
  +    $w = $context->widget("${name}_datatable");
       $w->set("table",       $self->get("table"));
       $w->set("columns",     $self->get("columns"));
       $w->set("ordercols",   $self->get("ordercols"));
  @@ -228,7 +228,7 @@
       $mode    = $self->get("mode","");
   
       if ($mode eq "edit" || $mode eq "view") {
  -        return $context->widget("$name.datatable")->display();
  +        return $context->widget("${name}_datatable")->display();
       }
       else {
           return $self->mk_criteria_html();
  
  
  


Reply via email to