dionel1969 Posted January 18, 2012 Share 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. Link to comment Share on other sites More sharing options...
dionel1969 Posted January 18, 2012 Author Share Posted January 18, 2012 Hello: Where is the URLFrame defined in: http://docs.sencha.com/ext-js/3-4/ ??? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 18, 2012 Administrators Share 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. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 18, 2012 Administrators Share 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. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 18, 2012 Administrators Share Posted January 18, 2012 <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> Where do you define this? Link to comment Share on other sites More sharing options...
dionel1969 Posted January 21, 2012 Author Share 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. Link to comment Share on other sites More sharing options...
dionel1969 Posted January 21, 2012 Author Share 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??? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 21, 2012 Administrators Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now