dionel1969 Posted January 18, 2012 Posted January 18, 2012 Hello: I have some troubles with URLFrame. I'm using this component for printing tickets from url like: temp/ticket.html but the URLFrame does not load right. I'm using this METAs in the HTML: <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META HTTP-EQUIV="EXPIRES" CONTENT="0"> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> anyway Frame load the previous ticket. I right click the mouse and use "reload frame" the content will load right. So, I was looking a way to call a "reload" of the frame through repaint, refresh but they do not reload the frame. Quote
dionel1969 Posted January 18, 2012 Author Posted January 18, 2012 Hello: Where is the URLFrame defined in: http://docs.sencha.com/ext-js/3-4/ ??? Quote
Administrators Farshad Mohajeri Posted January 18, 2012 Administrators Posted January 18, 2012 Hello: Where is the URLFrame defined in: http://docs.sencha.com/ext-js/3-4/ ??? Nowhere. It is a uniGUI component. Quote
Administrators Farshad Mohajeri Posted January 18, 2012 Administrators Posted January 18, 2012 Hello: I have some troubles with URLFrame. I'm using this component for printing tickets from url like: temp/ticket.html but the URLFrame does not load right. I'm using this METAs in the HTML: <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META HTTP-EQUIV="EXPIRES" CONTENT="0"> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> anyway Frame load the previous ticket. I right click the mouse and use "reload frame" the content will load right. So, I was looking a way to call a "reload" of the frame through repaint, refresh but they do not reload the frame. If you use the same URL it will be cached by the browser. Use a different URL each time. Quote
Administrators Farshad Mohajeri Posted January 18, 2012 Administrators Posted January 18, 2012 <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> Where do you define this? Quote
dionel1969 Posted January 21, 2012 Author Posted January 21, 2012 If you use the same URL it will be cached by the browser. Use a different URL each time. Ok, I will add a variant part to the name schema. Quote
dionel1969 Posted January 21, 2012 Author Posted January 21, 2012 <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> Where do you define this? It is just to avoid cache. I use it for a long time. Is there something I'm missing with this??? Quote
Administrators Farshad Mohajeri Posted January 21, 2012 Administrators Posted January 21, 2012 It is just to avoid cache. I use it for a long time. Is there something I'm missing with this??? You define it in main app or inside the frame? A frame acts like a separate browser window and all such tags should be declared inside frame HTML code. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.