Opened 9 years ago

Closed 9 years ago

#12404 closed defect (invalid)

Getting the annoying message "This page contains both secure and nonsecure item" after using dojoType="struts:Bind" in my page

Reported by: bipinofmumbai Owned by: anonymous
Priority: high Milestone: tbd
Component: General Version: 1.6.0rc1
Keywords: This page contains both secure and nonsecure item Cc: bipinkumar.jha@…
Blocked By: Blocking:

Description (last modified by bill)

Hi,

I am getting the annoying warning message "This page contains both secure and nonsecure item" on my page. mentioning the culprit line below.

<input type="image" dojoType="struts:Bind" event="onclick"
    src="<%=request.getContextPath()%>/Common/images/btnSearch.gif"
    class="firstButton"  targets="result1" />

As soon as I remove dojoType="struts:Bind" the problem goes away, which indicates the problem comes after using the dojo only.

Any help will be appreciated

Thanks in advance Bipin Jha

Change History (3)

comment:1 Changed 9 years ago by bill

Description: modified (diff)

You'd need to attach an HTML test case for us to debug it. Not that "struts:Bind" is not part of dojo or dijit. My guess is that your <%=request.getContextPath()%> is an HTTP request rather than HTTPS. You could also use your browser's developer console to see the network requests being made.

comment:2 Changed 9 years ago by bill

Description: modified (diff)

comment:3 Changed 9 years ago by bill

Resolution: invalid
Status: newclosed

Closing for lack of test case.

Note: See TracTickets for help on using tickets.