[Rt-commit] r14503 - in rt/branches/3.999-DANGEROUS: share/html/Widgets share/html/Widgets/Form

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Jul 25 04:24:04 EDT 2008


Author: sunnavy
Date: Fri Jul 25 04:24:04 2008
New Revision: 14503

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/share/html/Widgets/BulkEdit
   rt/branches/3.999-DANGEROUS/share/html/Widgets/BulkProcess
   rt/branches/3.999-DANGEROUS/share/html/Widgets/Form/String

Log:
 r14963 at sunnavys-mb:  sunnavy | 2008-07-25 15:43:43 +0800
 Name => name for widgets


Modified: rt/branches/3.999-DANGEROUS/share/html/Widgets/BulkEdit
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Widgets/BulkEdit	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Widgets/BulkEdit	Fri Jul 25 04:24:04 2008
@@ -50,7 +50,7 @@
     Default      => $Default,
     %{ $m->comp('/Widgets/FinalizeWidgetArguments', WidgetArguments =>
             $Meta->{$type}{'WidgetArguments'} ) },
-    Name         => $type,
+    name         => $type,
     exists $CurrentValue->{$type} ? ( CurrentValue => $CurrentValue->{$type} )
         : (),
     exists $DefaultValue->{$type} ? ( DefaultValue => $DefaultValue->{$type} )

Modified: rt/branches/3.999-DANGEROUS/share/html/Widgets/BulkProcess
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Widgets/BulkProcess	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Widgets/BulkProcess	Fri Jul 25 04:24:04 2008
@@ -48,7 +48,7 @@
 <%init>
 for my $type ( @$Types ) {
     my $value =
-        $m->comp( $Meta->{$type}{Widget} . ':Process', Name => $type, 
+        $m->comp( $Meta->{$type}{Widget} . ':Process', name => $type, 
                 Arguments => $Arguments, Default => $Default,
                 DefaultValue => $DefaultValue->{$type},
                 %{ $Meta->{$type}{WidgetArguments} },

Modified: rt/branches/3.999-DANGEROUS/share/html/Widgets/Form/String
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Widgets/Form/String	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Widgets/Form/String	Fri Jul 25 04:24:04 2008
@@ -48,7 +48,7 @@
 <%DOC>
 see docs/using_forms_widgets.pod
 </%DOC>
-<div id="form-box-<% lc $Name %>" class="widget">
+<div id="form-box-<% lc $name %>" class="widget">
 <span class="description label"><% $description %></span>
 <span class="value"><& SELF:InputOnly, %ARGS &></span>
 % if ( $Default ) {
@@ -57,7 +57,7 @@
 <span class="hints"><% $Hints %></span>
 </div>
 <%ARGS>
-$Name
+$name
 
 $description  => undef,
 $Hints        => ''
@@ -70,9 +70,9 @@
 </%ARGS>
 
 <%METHOD InputOnly>
-<input type="<% $Type %>" name="<% $Name %>" value="<% $CurrentValue || '' %>" />\
+<input type="<% $Type %>" name="<% $name %>" value="<% $CurrentValue || '' %>" />\
 <%ARGS>
-$Name
+$name
 $CurrentValue => '',
 $Type => 'text'
 </%ARGS>
@@ -80,7 +80,7 @@
 
 <%METHOD Process>
 <%ARGS>
-$Name
+$name
 
 $Arguments    => {},
 
@@ -88,7 +88,7 @@
 $DefaultValue => '',
 </%ARGS>
 <%INIT>
-my $value = $Arguments->{ $Name };
+my $value = $Arguments->{ $name };
 $value = '' unless defined $value;
 
 # canonicalize: delete leading and trailing spaces, replaces newlines


More information about the Rt-commit mailing list