anchor.diff: -<%-- 
  -include file for delivering multiple choice questions
  +<%--
  +include file for delivering multiple choice single correct survey questions
   should be included in file importing DeliveryMessages
   --%>
   <!--
  
positive.code:   <h:panelGroup styleClass="answerBlock" rendered="#{printSettings.showKeys}">
      <h:outputLabel value="#{msg.answerKey}: "/>
      <h:outputText escape="false" value="#{question.key}" />
    </h:panelGroup>
negative.code: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
  * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
  * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
   DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *
  **********************************************************************************/
  --%>
  -->
  
    <%-- questionBlock --%>
    <h:outputText styleClass="questionBlock" escape="false" value="#{question.itemData.text}" />
    
    <h:dataTable value="#{question.itemData.itemTextArraySorted}" var="itemText">
      <h:column>
       <h:dataTable value="#{itemText.answerArraySorted}" var="answer">
          <h:column>
            <%-- inputBlock --%>
            <h:panelGroup styleClass="inputBlock" rendered="#{answer.text !=null && answer.text!=''}">
           	  
              <%-- if answer key is being shown --%>
              <h:graphicImage id="image1" rendered="#{answer.isCorrect && printSettings.showKeys}"
                    alt="#{msg.correct}" url="/images/radiochecked.gif"/>
              <h:graphicImage id="image2" rendered="#{!answer.isCorrect && printSettings.showKeys}"
                    alt="#{msg.not_correct}" url="/images/radiounchecked.gif"/>
  	          
              <%-- if answer key isn't being shown --%>
             <h:graphicImage id="image3" rendered="#{!printSettings.showKeys}" url="/images/radiounchecked.gif"/>
              <h:outputText escape="false" value="#{answer.label}. #{answer.text}" />
            </h:panelGroup>
          </h:column>
        </h:dataTable>
      </h:column>
  