|
Struts example source code file (updateVocabCharacters.ftl)
The Struts updateVocabCharacters.ftl source code<#if hangman.gameEnded()> <@s.iterator id="currentCharacter" value="%{hangman.vocab.inCharacters()}" stat="stat"> <@s.url id="url" value="%{'/hangman/images/Chalkboard_'+#currentCharacter.toString()+'.png'}" /> <img height="36" alt="<@s.property value="%{#currentCharacter}" />" src="<@s.property value="%{#url}" />" width="36" border="0" /> </@s.iterator> <#else> <@s.iterator id="currentCharacter" value="%{hangman.vocab.inCharacters()}" stat="stat"> <#if hangman.characterGuessedBefore(currentCharacter)> <@s.set name="chalkboardImageName" value="%{'Chalkboard_'+#currentCharacter.toString()+'.png'}" /> <@s.url id="url" value="%{'/hangman/images/'+#chalkboardImageName}" /> <img height="36" alt="<@s.property value="%{#currentCharacter}" />" src="<@s.property value="%{#url}" />" width="36" border="0"/> <#else> <@s.url id="url" value="/hangman/images/Chalkboard_underscroll.png" /> <img height="36" alt="_" src="<@s.property value="%{#url}" />" width="36" border="0"/> </#if> </@s.iterator> </#if> Other Struts examples (source code examples)Here is a short list of links related to this Struts updateVocabCharacters.ftl source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.