Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.87 KB | None | 0 0
  1. <g:select name="options"
  2.                         from=""
  3.                         value="id"
  4.                         optionKey="id"
  5.                         optionValue="name"
  6.                         id="options"
  7.                         size='10' style='width: 250px; height: 150px;'
  8.                 />
  9.                
  10.                 <input type="button" name="selection" value="<<" onclick="AdicionarInformacao(document.getElementById('selectOptionsOriginal'), document.getElementById('options'));">
  11.                 <input type="button" name="selection" value=">>" onclick="RemoverInformacao(document.getElementById('options'), document.getElementById('selectOptionsOriginal'))">
  12.                
  13.                 <g:select name="optionsOriginal"
  14.                         from="${Options.list()}"
  15.                         value="${options?.id}"
  16.                         optionKey="id"
  17.                         optionValue="name"
  18.                         id="selectOptionsOriginal"
  19.                         size='10' style='width: 250px; height: 150px;'
  20.                 />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement