From: Eric C. <ecr...@us...> - 2006-09-25 19:14:18
|
User: ecrutchfield Date: 06/09/25 12:14:16 Added: andromda-aspdotnet/src/main/resources/templates/aspdotnet/web2005 tables.vm andromda-aspdotnet/src/main/resources/templates/aspdotnet/web2003 tables.vm Log: refactor commandLink rendering Revision Changes Path 1.1 cartridges/andromda-aspdotnet/src/main/resources/templates/aspdotnet/web2005/tables.vm Index: tables.vm =================================================================== ## ## This macro renders the CommandArgument parameter for a command link ## #macro ( render2005TableCommandArgumentParameters ) #foreach( $parameter in $action.parameters )#if($velocityCount>1) + #end Eval("${parameter.name}","#if($velocityCount>1),#end${parameter.name}={0}")#end #end 1.1 cartridges/andromda-aspdotnet/src/main/resources/templates/aspdotnet/web2003/tables.vm Index: tables.vm =================================================================== ## ## This macro renders the CommandArgument parameter for a command link ## #macro ( render2003TableCommandArgumentParameters ) #foreach( $parameter in $action.parameters )#if($velocityCount>1) + #end DataBinder.Eval(Container,"DataItem.${parameter.name}","#if($velocityCount>1),#end${parameter.name}={0}")#end #end |