Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

render url problem in chrome

 
sreenu valireddi
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Code as below


<portlet:actionURL var="setPolicyURL">
<portlet:param name="struts.portlet.action" value="/claims/setPolicy" />
<portlet:param name="currentTab" value="policyDetailsPage" />
</portlet:actionURL>


function setPolicyDTO(subline,policyCode,policyId,dbLookup){
document.getElementById("subline").value=subline;
document.getElementById("policyCode").value=policyCode;
document.getElementById("policyId").value=policyId;
document.getElementById("workflowStatus").value=dbLookup;
alert( "<%=setPolicyURL%>");
document.ClaimManagementForm.action = "<%=setPolicyURL%>";
document.ClaimManagementForm.submit();
}


above script working fine in IE browser . but in chrome browser action is not being called. Any solution please help me.

Thanks in advance.
 
subbarao boddu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I also face the same situation what you are facing now. Chrome doesn't allow url's because of the security issues. However you have one solution. Place the required doc's or images in your webapplication only , call them using its relative path not absolute.

Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic