#parse( "/template/xhtml/controlheader.vm" )
#set( $items = $parameters.list )
#if( $items )
#foreach( $item in $items )
  #if( $parameters.listKey )
      #set( $itemKey = $ognl.findValue($parameters.listKey, $item) )
  #else
      #set( $itemKey = $item.toString() )
  #end
  #if( $parameters.listValue )
      #set( $itemValue = $ognl.findValue($parameters.listValue, $item) )
  #else
      #set( $itemValue = $item.toString() )
  #end
<input type="radio" name="$parameters.name" value="$!{itemValue}" id="$parameters.name.$!{itemValue}" #if( $parameters.nameValue && $itemValue && $parameters.nameValue == $itemValue )checked="checked"#end/> <label for="$parameters.name.$!{itemValue}">$!{itemKey}</label><br/>
#end

#set ($textfieldName = $parameters.textfieldName)
#set ($textfieldLabel = $parameters.textfieldLabel)
#set ($textfieldSize = $parameters.textfieldSize)
#set ($textfieldValue = $stack.findValue($textfieldName))

#set ($textfieldName1 = $parameters.textfieldName1)
#set ($textfieldLabel1 = $parameters.textfieldLabel1)
#set ($textfieldSize1 = $parameters.textfieldSize1)
#set ($textfieldValue1 = $stack.findValue($textfieldName1))

#set ($textfieldName2 = $parameters.textfieldName2)
#set ($textfieldLabel2 = $parameters.textfieldLabel2)
#set ($textfieldSize2 = $parameters.textfieldSize2)
#set ($textfieldValue2 = $stack.findValue($textfieldName2))

#set ($passwordFieldName = $parameters.passwordFieldName)
#set ($passwordFieldLabel = $parameters.passwordFieldLabel)
#set ($passwordFieldSize = $parameters.passwordFieldSize)
#set ($passwordFieldValue = $stack.findValue($passwordFieldName))

<table border="0" width="90%">
#if ($textfieldName)
    #tag( "TextField" "label='$textfieldLabel'" "name='$textfieldName'" "size='$textfieldSize'" )
#end

#if ($textfieldName1)
    #tag( "TextField" "label='$textfieldLabel1'" "name='$textfieldName1'" "size='$textfieldSize1'" )
#end
#if ($textfieldName2)
    #tag( "TextField" "label='$textfieldLabel2'" "name='$textfieldName2'" "size='$textfieldSize2'" )
#end

#if ($passwordFieldName)
    #tag( "Password" "label='$passwordFieldLabel'" "name='$passwordFieldName'" "size='$passwordFieldSize'" )
#end
</table>

#else
  &nbsp;
#end
#parse( "/template/xhtml/controlfooter.vm" )
