You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jm...@apache.org on 2001/04/20 00:48:41 UTC

cvs commit: jakarta-turbine/conf/torque/templates/om MapBuilder.vm

jmcnally    01/04/19 15:48:40

  Modified:    conf/torque/templates/om MapBuilder.vm
  Log:
  List does not define firstElement()
  
  Revision  Changes    Path
  1.18      +1 -1      jakarta-turbine/conf/torque/templates/om/MapBuilder.vm
  
  Index: MapBuilder.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/conf/torque/templates/om/MapBuilder.vm,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- MapBuilder.vm	2001/02/13 02:49:03	1.17
  +++ MapBuilder.vm	2001/04/19 22:48:40	1.18
  @@ -80,7 +80,7 @@
   #if ($table.IdMethodParameters)
           // this might need upgrading based on what all the databases
           // need, but for now assume one parameter.
  -    #set ($imp = $table.IdMethodParameters.firstElement() )
  +    #set ($imp = $table.IdMethodParameters.get(0) )
           tMap.setPrimaryKeyMethodInfo("$imp.Value");
   #elseif ($table.IdMethod == "idbroker")
           tMap.setPrimaryKeyMethodInfo(tMap.getName());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org