Hello Deborah, Unrelated to your support queries, but I have noticed that you are using a government email address and have a confidentiality clause in your signature.
Please keep in mind that this mailing list is publicly archived and indexed by search engines and other automated web crawlers. In addition, everyone who is subscribed to the mailing list will receive anything sent to this mailing list. This means that any confidentiality clause in communications sent to this mailing list is inherently moot and unenforceable. You may want to consult with internal counsel whether department rules allow you to use government resources to send mails with such a clause to a public mailing list. Based on my limited research, that may not be the case, and your counsel may advise you to remove that clause from your signature in future communication to this list. But again, I suggest you contact your internal legal counsel regarding this matter. Regards, Nate -----Original Message----- From: Deborah White <deborah.wh...@doj.ca.gov.INVALID> Sent: Wednesday, 21 May 2025 18:49 To: Struts Users Mailing List <user@struts.apache.org> Subject: RE: Help with jsp/iframe Struts 7 Actually, never mind. It is working, just extremely slow. We do have another case that we have an issue with though. My colleague will post. -----Original Message----- From: Deborah White <deborah.wh...@doj.ca.gov.INVALID> Sent: Wednesday, May 21, 2025 9:40 AM To: Struts Users Mailing List <user@struts.apache.org> Subject: Help with jsp/iframe Struts 7 Hello, migrated from 2.3 to 7. I am now having an issue with what appears to be iframe. My jsp code is below and I don't receive any errors but the preview doesn't display. Wondering if anyone has any ideas. <%@taglib uri="/struts-tags" prefix="s" %> <script type="text/javascript"> $(document).ready(function(){ var docIdList = []; <s:iterator value="registrationDisplayData.documentList" status="documentData"> docIdList.push('<s:property value="documentId"/>'); </s:iterator> if (Array.isArray(docIdList) && docIdList.length) { $("#DocDiv").show(); }else { $("#DocDiv").hide(); } var url = "<s:url value="PreviewEmailLetter.action" encode="true"/>"; var PreviewEmailForm= document.getElementById("PreviewEmailForm"); PreviewEmailForm.style.display = "none"; document.PreviewEmailForm.method ="POST"; document.PreviewEmailForm.action = url; document.PreviewEmailForm.target="previewframe"; document.PreviewEmailForm.submit(); }); function previewSelectedLetter() { respDueDate = ''; document.getElementById("responseDueDate").value = respDueDate; document.getElementById("updatedRespDueDate").value = respDueDate; var url = "<s:url value="PreviewEmailLetter.action" encode="true"/>"; document.PreviewEmailForm.method ="POST"; document.PreviewEmailForm.action = url; document.PreviewEmailForm.target="previewframe"; document.PreviewEmailForm.submit(); } //end previewSelectedLetter function emailSelectedLetter() { var letterTypeName ='<s:property value="letterName"/>'; if (confirm("Are you sure you want to email "+ letterTypeName + "?")){ var fromPage = 'registrationLetters'; var registrationId = '<s:property value="registrationDisplayData.registrationId"/>'; var primaryEmail = '<s:property value="registrationDisplayData.primaryContactEmail"/>'; var tooMany = '<s:property value="registrationDisplayData.tooMany"/>'; respDueDate = ''; var letterTypeId= '<s:property value="letterId"/>'; var letterUrl = "<s:url value="registrationEmailLetter.action" encode="true"/>"; if (letterTypeId == '140' && tooMany == 'yes'){ if (confirm("Are you sure you want to "+letterType+ " " + letterTypeName + "? Expiration date is more than 15 months")) { var postData = "letterId="+letterTypeId+ "&fromPage="+encodeURIComponent(fromPage)+ "&letterName="+encodeURIComponent(letterTypeName)+ "&email="+encodeURIComponent(primaryEmail)+ "&responseDueDate="+respDueDate+ "®istrationId="+registrationId; destroyPrivEmailRegistrationObjects(); processRegistrationDetails(letterUrl,postData); } } else { var postData = "letterId="+letterTypeId+ "&fromPage="+encodeURIComponent(fromPage)+ "&letterName="+encodeURIComponent(letterTypeName)+ "&email="+encodeURIComponent(primaryEmail)+ "&responseDueDate="+respDueDate+ "®istrationId="+registrationId; destroyPrivEmailRegistrationObjects(); processRegistrationDetails(letterUrl,postData); } } }//end emailSelectedLetter function viewDocumentParams() { // respDueDate = ''; // document.getElementById("responseDueDate").value = respDueDate; // document.getElementById("updatedRespDueDate").value = respDueDate; letterId = '<s:property value="letterId"/>'; letterName = '<s:property value="letterName"/>'; email = '<s:property value="registrationDisplayData.primaryContactEmail"/>'; var url = "<s:url value="registrationDocumentParam.action" encode="true"/>"; var docIdList = []; <s:iterator value="registrationDisplayData.documentList" status="documentData"> docIdList.push('<s:property value="documentId"/>'); </s:iterator> var postData = "documentId="+encodeURIComponent(docIdList); $.ajax({ type: "POST", url: url, data: postData, cache: false, async: false, success: function(html){ $('#documentParam').html(html); $('#documentParam').dialog('open'); }, error: function(html, status, error) { alert("In viewDocumentParams, Error:"+error); }, complete: function(html, status) { if (status == 'success'){ initRegDocumentParam(); } } }); return false; } function emailRegistrationLetter1(documentIds) { if (confirm("Are you sure you want to email " + letterName + "?")){ var registrationId = '<s:property value="registrationDisplayData.registrationId"/>'; var fromPage = 'registrationLetters'; var email = '<s:property value="registrationDisplayData.primaryContactEmail"/>'; var tooMany = '<s:property value="registrationDisplayData.tooMany"/>'; if (letterTypeId == '140' && tooMany == 'yes'){ if (confirm("Are you sure you want to "+letterType+ " " + letterTypeName + "? Expiration date is more than 15 months")) { var postData = "letterId="+letterId+ "&letterName="+encodeURIComponent(letterName)+ "&email="+encodeURIComponent(email)+ "&fromPage="+encodeURIComponent(fromPage)+ "®istrationId="+registrationId+ "&responseDueDate="+respDueDate+ // "&lookForRespDueDate="+lookForRespDueDate1+ "&documentIds="+encodeURIComponent(documentIds); destroyRegistrationObjects(); destroyPrivEmailRegistrationObjects(); processRegistrationDetails('<s:url value="registrationEmailLetter.action" encode="true"/>',postData); } } else { var postData = "letterId="+letterTypeId+ "&fromPage="+encodeURIComponent(fromPage)+ "&letterName="+encodeURIComponent(letterTypeName)+ "&email="+encodeURIComponent(email)+ "&responseDueDate="+respDueDate+ "®istrationId="+registrationId+ "&documentIds="+encodeURIComponent(documentIds); destroyRegistrationObjects(); destroyPrivEmailRegistrationObjects(); processRegistrationDetails('<s:url value="registrationEmailLetter.action" encode="true"/>',postData); } } $('#documentParam').dialog('close'); return false; } </script> <div id="PageContainer"> <div id="container" style="margin: 0 0 0 76px;"> <br> <form name="PreviewEmailForm" id="PreviewEmailForm" ENCTYPE="multipart/form-data" action="" method="post" target=""> <br> <table border="0" cellpadding="0" cellspacing="0" width="340"> <tr> <td align="center"> <input id="button_view" class="button" type="button" value="Submit" name="button_view" onclick="return previewSelectedLetter();"/>    <span id="StatusMessage" class="statusMessage"></span> </td> </tr> </table> <input type="hidden" name="registrationId" id="registrationId" value="<s:property value="registrationDisplayData.registrationId"/>"> <input type="hidden" name="letterId" id="letterId" value="<s:property value="letterId"/>"> <input type="hidden" name="letterName" id="letterName" value="<s:property value="letterName"/>"> <input type="hidden" name="email" id="email" value="<s:property value="email"/>"> <input type="hidden" name="responseDueDate" id="responseDueDate" value="<s:property value="responseDueDate"/>"> <input type="hidden" name="updatedRespDueDate" id="updatedRespDueDate" value=""> </form> <form name="EmailForm" id="EmailForm" ENCTYPE="multipart/form-data" action="" method="post" target=""> <div id="EmailDiv" style="display:block;"> <input id="button_email" class="button" type="button" value="Email" name="button_email" onclick="return emailSelectedLetter();"/> </div> <input type="hidden" name="registrationId" id="registrationId" value="<s:property value="registrationDisplayData.registrationId"/>"> <input type="hidden" name="letterId" id="letterId" value="<s:property value="letterId"/>"> <input type="hidden" name="letterName" id="letterName" value="<s:property value="letterName"/>"> <input type="hidden" name="email" id="email" value="<s:property value="email"/>"> <input type="hidden" name="responseDueDate" id="responseDueDate" value="<s:property value="responseDueDate"/>"> <input type="hidden" name="updatedRespDueDate" id="updatedRespDueDate" value=""> </form> <form name="DocForm" id="DocForm" ENCTYPE="multipart/form-data" action="" method="post" target=""> <div id="DocDiv" style="display:block;"> <input id="button_doc" class="button" type="button" value="Attach Docs" name="button_doc" onclick="return viewDocumentParams();"/> </div> <input type="hidden" name="registrationId" id="registrationId" value="<s:property value="cregistrationDisplayData.registrationId"/>"> <input type="hidden" name="letterId" id="letterId" value="<s:property value="letterId"/>"> <input type="hidden" name="letterName" id="letterName" value="<s:property value="letterName"/>"> <input type="hidden" name="email" id="email" value="<s:property value="email"/>"> <input type="hidden" name="responseDueDate" id="responseDueDate" value="<s:property value="responseDueDate"/>"> <input type="hidden" name="updatedRespDueDate" id="updatedRespDueDate" value=""> <br><br> </form> <iframe name="previewframe" id="previewframe" height="750" width="1100"> <p>Your browser does not support iframes.</p> </iframe> </div> </div> CONFIDENTIALITY NOTICE: This communication with its contents may contain confidential and/or legally privileged information. It is solely for the use of the intended recipient(s). Unauthorized interception, review, use or disclosure is prohibited and may violate applicable laws including the Electronic Communications Privacy Act. If you are not the intended recipient, please contact the sender and destroy all copies of the communication. CONFIDENTIALITY NOTICE: This communication with its contents may contain confidential and/or legally privileged information. It is solely for the use of the intended recipient(s). Unauthorized interception, review, use or disclosure is prohibited and may violate applicable laws including the Electronic Communications Privacy Act. If you are not the intended recipient, please contact the sender and destroy all copies of the communication. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org