%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib uri="/tags/struts-bean" prefix="bean" %> <%@ taglib uri="/tags/struts-html" prefix="html" %> <%@ taglib uri="/tags/struts-logic" prefix="logic" %> <%@ taglib uri="/tags/reading-template" prefix="template"%> <%@ page import="com.snr.lnr.activities.common.SessionKeys"%> <%@ page import="com.snr.lnr.activities.common.ActivityForm"%> <%@ page import="com.snr.lnr.common.ReadingKeys"%> <%@ page import="org.apache.struts.util.MessageResources"%> <%@ page import="org.apache.struts.util.PropertyMessageResources"%> <%@ page import="com.snr.lnr.bom.dto.DTOActivityUseWay"%> <%@ page import="com.snr.lnr.common.ReadingUtils"%> <% MessageResources msgRes = PropertyMessageResources.getMessageResources( SessionKeys.APPLICATION_RESOURCES ); String activityBeanName = request.getParameter( SessionKeys.BEAN_NAME_PARAM ); ActivityForm activityBean = (ActivityForm)request.getSession().getAttribute(activityBeanName); String savingText=msgRes.getMessage(ReadingUtils.getConfigurationLocale(),"global.saving"); String bookTitle= (String) request.getSession().getAttribute("bookTitle"); if (bookTitle == null) { bookTitle = ""; } if (bookTitle.length()>28){ bookTitle=bookTitle.substring(0,28); bookTitle+="..."; } String activityTitle=linkActivityForm.getTitle(); if (activityTitle.length()>28){ activityTitle=activityTitle.substring(0,28); activityTitle+="..."; } String anchor=""+bookTitle+""; if (!"".equals(activityTitle)){ anchor+=" > "+activityTitle+""; } boolean reinforcementActivity=Integer.parseInt(request.getSession().getAttribute(ReadingKeys.ACTIVITY_USEWAY).toString())==DTOActivityUseWay.ACTIVITY_REINFORCEMENT; %> "> "> "> "> " id="tableReceivedHidden"> " width="6" height="10"> " width="1" height="7"> " width="609" height="1"> " width="1" height="30"> "> : "> "> : "> "> : "> <% if (linkActivityForm.isValidExample()) { %> <% } else {%> <% } %> ">" width="9" height="4"> ">" width="1" height="1"> ">" width="9" height="4"> ">" width="1" height="1"> >> ">" width="1" height="1"> ">" width="9" height="4"> ">" width="1" height="1"> ">" width="9" height="4"> <% if (linkActivityForm.isValidSolution()) { %> <% } else {%> <% } %> ">" width="9" height="4"> ">" width="1" height="1"> ">" width="9" height="4"> ">" width="1" height="1"> >> ">" width="1" height="1"> ">" width="9" height="4"> ">" width="1" height="1"> ">" width="9" height="4"> <% // Pie habilitado boolean enabled=(!linkActivityForm.isEmptyLink() && request.getAttribute(SessionKeys._SAVED).equals(SessionKeys.TRUE_STRING)); %> > ">" width="9" height="4"> ">" width="1" height="1"> ">" width="9" height="4"> ">" width="1" height="1"> ">"> ">" width="1" height="1"> ">" width="9" height="4"> ">" width="1" height="1"> ">" width="9" height="4"> " width="9" height="4"> " width="1" height="1"> " width="9" height="4"> " width="1" height="1"> " width="1" height="1"> " width="9" height="4"> " width="1" height="1"> " width="9" height="4"> <% if (reinforcementActivity){ %> > <%} else{ %> > <%}%> ">" width="9" height="4"> ">" width="1" height="1"> ">" width="9" height="4"> ">" width="1" height="1"> ">"> ">" width="1" height="1"> ">" width="9" height="4"> ">" width="1" height="1"> ">" width="9" height="4">