cobi-jones-form.vm

来自「jetspeed源代码」· VM 代码 · 共 48 行

VM
48
字号
<form method="post" action="$jslink.setAction("portlets.CobiJonesPortletAction")">
  <div align="left">
    <table bgcolor="#ffffff" cellpadding="5">

      #if ($cobierror)
      <tr>
        <td colspan="2">
          <table bgcolor="red">
            <tr>
              <td>
                $cobierror
              </td>
            </tr>
          </table>
        </td>
      </tr>
      #end

      <tr>
        #formCell ("First Name" "firstname" $player.FirstName)
      </tr>
      <tr>
        #formCell ("Last Name" "lastname" $player.LastName)
      </tr>
      <tr>
        #formCell ("Position" "position" $player.Position)
      </tr>
      <tr>
        #formCell ("Caps" "caps" $player.Caps)
      </tr>
      <tr>
        #formCheckBox2 ("Active" "active" $player.Active)
      </tr>
  </table>

  <table bgcolor="#ffffff" cellpadding="5" width="100%">
      <tr>
        <td align="$ui.buttonAlignment" bgcolor="$!{skin.TitleBackgroundColor}">
         <input type="submit" name="eventSubmit_doUpdate" value="Save Cobi"/>
      </td>
      <td>
         $!msg         
      </td>
    </tr>
  </table>
    
</div>
</form>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?