refresh

meta refresh redirect to top frame

会有一股神秘感。 提交于 2019-12-04 03:24:43
问题 I have the following code: <html> <head> <title>title of this stuff</title> <script language="JavaScript"> if (top != self) top.document.title = document.title; </script> <meta http-equiv="refresh" content="2; URL=javascript:window.open('certainpage.html','_top');"> </head> <body> Body of this page </body> </html> and this doesn't work. I've googled for this and come to the same conclusion everywhere: this should work. But it doesn't. Can anyone help me out why this page isn't: 1. refreshing

How do you force refresh of a wx.Panel?

我只是一个虾纸丫 提交于 2019-12-04 03:11:26
问题 I am trying to modify the controls of a Panel, have it update, then continue on with code execution. The problem seems to be that the Panel is waiting for Idle before it will refresh itself. I've tried refresh of course as well as GetSizer().Layout() and even sent a resize event to the frame using the SendSizeEvent() method, but to no avail. I'm at a loss here, I find it difficult to believe there is no way to force a redrawing of this panel. Here is the code that changes the controls: def

How to refresh curses window correctly?

自闭症网瘾萝莉.ら 提交于 2019-12-04 03:03:20
while 1: ... window.addstr(0, 0, 'abcd') window.refresh() ... window size is full terminal size, big enough to hold abcd . If 'abcd' is modified to shorter string like 'xyz' , then on terminal I will see 'xyzd' . What exactly I am doing wrong? addstr() only prints the string you specify, it does not clear the following characters. You will have to do that yourself: To clear characters until the end of the line, use clrtoeol() , To clear characters until the end of the window, use clrtobot() . Let's suppose you have this code, and you just want to know how to implement draw() : def draw(window,

Asp.NET MVC Html.TextBox refresh problem

三世轮回 提交于 2019-12-04 03:01:39
问题 i have a problem with asp.net mvc 2 and the html.textboxfor helper. i use the follow code in a form: <%= Html.TextBoxFor(model => model.Zip, new { @class = "txt", id = "zip", tabindex = 1 })%> when the user send the form, i validate the zipcode, when the zip is invalid we set the corrected zip. my model has the corrected zip, the generated html code from asp contains the old zip value. sample: user write zip: 12345 my validation class, corrected teh zip to: 12346 my model contains the new zip

Refresh destination schema metadata in Integration Services

跟風遠走 提交于 2019-12-04 02:42:52
I have been working on a huge ETL project with 150+ tables and during the design I had to make a major change on destination column names and data types for a couple of tables. My problem is that I can't get SSIS to see the new schema for the tables I changed. So I would like to know how can I get SSIS to refresh this schema? I find it kind of ridiculous that there no way to tell SSIS to update the metadata from database schema, especially for database migration. Recreating the project from scratch is out of question because I already spent some hours on it. Also changing manually the 400+

Refreshing an AngularJS and keeping scope variables

百般思念 提交于 2019-12-04 02:39:18
Is it possible to keep variables on scope after refreshing my AngularJS page? How do I get this configured? Thanks! There are several options to do this, For smaller data you could use the $cookieStore , for data that is under 4k Another option, especially with large data sets, would be to use Local Storage and then retrieve the data on page load/reload. if it is only a very small amount of data, or data that is used through out multiple page you could use $rootscope, but this is not the best option as it just like polluting the global name space. The last option, depending on how the data is

Is there a way to force Yii to reload module assets on every request?

廉价感情. 提交于 2019-12-04 00:33:39
My website is divided into separate modules. Every module has it's own specific css or js files in /protected/modules/my_module/assets/css or js for js files. Yiis assets manager creates folder when I first use page that uses my assets. Unfortunately if I change sth in my files - Yii does not reload my css or js file. I have to manually delete /projects/assets folder. It is really annoying when you are developing the app. Is there a way to force Yii to reload assets every request? In components/Controller.php add the following (or adjust an existing beforeAction ): protected function

Ajax load page without refresh

岁酱吖の 提交于 2019-12-03 21:57:30
I am looking for information what is the simplest way to update page content using jquery + ajax. I would like to update only #container content, but not a full page. I am begginer in ajax. Thanks. MY Jquery code <script> $(document).ready(function(){ //page $('.row').load('services.html'); $('.nav_link').click(function(){ var page = $(this).attr('href'); $('.row').load(page); return false; }); }); </script> HTML: <div class="row"> <nav role="navigation" class="nav"> <a class="nav_link" href="services"><div class="nav_line"></div>PASLAUGOS</a> <a class="nav_link" href="contacts.html"><div

jquery mobile selected option not updating on 'refresh'

橙三吉。 提交于 2019-12-03 21:42:26
Using jQueryMobile, when I change the contents of a select widget and then call 'refresh' on it, the text of the selected option is not changed. Here's the scenario... The 'select' widget exists in the page div already. When the user goes to that screen, the options are dynamically created based on the button they selected to go to that page. This option list is built and added as per $('#searchReasonList').append(optionList) The first time into the new page all works well. When they navigate away and come back in, I do $('#searchReasonList').empty() Then I build the correct option list and do

Is there a way to reload/refresh a java applet from within the applet itself?

南楼画角 提交于 2019-12-03 20:56:11
I have a button on my applet (contained in a browser) that I would like to make reload or refresh the entire applet one of two ways: Refresh the applet itself without having to refresh the browser Refresh the entire browser Is this possible from within the applet? Use the AppletContext.showDocument(...) method: applet.getAppletContext().showDocument(applet.getDocumentBase(), "_self") That will load the document containing the applet in the same window/frame the applet is already loaded in. For the first part of your question, there are a few approaches. You could make a call to JavaScript and