Skip to content

Instantly share code, notes, and snippets.

@tgsoverly
Last active August 29, 2015 14:04
Show Gist options
  • Save tgsoverly/0d5074ab5521a80d4d2d to your computer and use it in GitHub Desktop.
Save tgsoverly/0d5074ab5521a80d4d2d to your computer and use it in GitHub Desktop.
Never before have some many languages done so little
<tbody>
<tr>
<td style="text-align:right" colspan="2">
<g:javascript>
var types = new Array();
<g:each var="code" status="i" in="${ProjectCodeType.values()}">
types[${i}] = "${code.toString()}";
</g:each>
var adder${projectInstance.id} = new ProjectCodeAdder("project${projectInstance.id}",types);
adder${projectInstance.id}.id = ${newProjectCodeCounter};
</g:javascript>
<span class="bottom_button">
<input type="button" class="create" value="Add Code"
onClick="adder${projectInstance.id}.addCode()"/>
</span>
</td>
</tr>
</tbody>
@tgsoverly
Copy link
Author

I have totally done some this dumb before...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment