<% }
String currBeanType = null;
String prevBeanType = "";
List userChoiceEntries = new ArrayList(userChoices.getUserChoiceEntries());
if (userChoiceEntries != null && !userChoiceEntries.isEmpty()) {
%>
<%
for (UserChoiceEntry userChoiceEntry : userChoiceEntries) {
currBeanType = userChoiceEntry.getBeanType();
logger.debug("Previous is a " + prevBeanType + " while current is a " + currBeanType);
if (!currBeanType.equals(prevBeanType)) {
if (!currBeanType.equals("")) {%>