back

Flash : How to read data from shape/graphics object.

Hallo, I am wondering if it is possible to get the data that is stored in a shape/graphics object in flash using actionscript 3? In my project I would like to be able to draw a shape and then read all the points in that shape into my script. The reason for that is that I need go generate lines from those points that I later can use to ...

Struts2 back button and linking

Hello! I am using Struts 2.1.6 with Dojo plugin, whole app has ajax links (sx:a). Did anybody succeed to implement back button functionality and linking to certain content? Does anybody have any experience how to implement? I am planning to implement (if there is no good solution already) something like so: changing address bar li...

iPhone: Save with validation on back navigation

In my iPhone application I have navigation controller, main screen and some edit screens. On edit screen user does some input that has to be validated before I can save it. Ideally I would like to update data automatically on back navigation without additional "Done" button. Can I do some validation and save on back navigation (i.e. when...

Android: Override back button to act like home button

On pressing the back button, I'd like my application to go into the stopped state, rather than the destroyed state. In the Android docs it states: ...not all activities have the behavior that they are destroyed when BACK is pressed. When the user starts playing music in the Music application and then presses BACK, the application ov...

ASP.Net + MVC + VS 2008

I am using asp.net MVC with Jquery. I use RenderPartial method to load control and open as modal dialog. After submit small form on modal dialogue i want to get focus on same dialogue in case of error. Javascript $(function() { $("#dialog").dialog({ bgiframe: true, height: 180, ...

Generic Back Functionality

I need to implement back functionality in my project, for this what i am doing that i am maintain last url in ViewData["RetUrl"] and on next page i am getting previous url from that ViewData["RetUrl"].on this way i had implemented this functionality.This idea is failed when level of pages increased i mean page1>page2>page3, no way to bac...

How to distinguish browser back / forward button?

Is it possible? even better, is it possible with jQuery? I need to know whether use click back button or forward button so I can use page transition effect correctly, eg. slide from left - right if they hit forward and vice versa. ...

jquery call back function

i have a form and it validates and submit successfully. all i want is to call back function as "success" when the form has successfully submitted. here is what i have so far but no luck: $(document).ready(function() { $("#form1").validate({ rules: { email1: {// compound rule required: tru...

Back button re-submit form data ($_POST)

My problem is that the back button causes the browser to say something like "Page expired" when the previous page was created by a form. Example: page1: form submitted with search criterias ($_POST request, form points to page2) page2: Receives $_POST request and show result (list of user with links, points to page3) page3: Show user ...

Browser Back Button Handling in Ajax Based Application

Hi All, Similar questions have been asked on SO, but I am still looking for a solution and not a workaround. I am working on an Ajax based application and when the user clicks on the Browser Back Button it takes the user to the login page(every page after the login page is ajax loaded). Apparently, this is not what the user expected. ...

Responding to "Back" and "Forward" buttons in WPF

I was planning to add support for the Back and Forward buttons, found on many keyboards, to my WPF app, but I'm struggling to get them to work. I've tried using a standard KeyBinding to BrowserBack and BrowserForward, no joy. I tested the code with the ESC key to make sure it was working in principal, and that key was fine. Nextup I ha...

How to redirect user to the page they were just at without them noticing?

The website viewer would be at page A, click a link that sends then to page B, but I want them to return to page A without them noticing. When they click the link it changes the layout the viewer is browsing the site with, so the redirection code shouldn't erase or undo the cookies or whatever are stored with the link click. Thanks! E...

UIWebView hide back button just on index page

Hi all. I've have a viewcontroller with multiple controls inside it, being one of them a UIWebView. When the application first loads, the UIWebView shows a remote site index.html place. ( Fixed url ). From there, the user should be able to navigate to wherever he wants inside the website ( no address bar ). My problem is that, i need...

UINavigationController back button issue.

Hi My Application have navigation controller and table views. When the back button is clicked and the view is popped out from controller stack, i noticed that the table events are not executed (eg: cellForRowIndexPath). Is there anyway that these events are execueted when view is popped out. This is the code i use for pushing the view...

Back to a Previous URL post-publishing a Note in Facebook

Hi, Anybody know how to back to previous link Post-Publishing something in Facebook, for our convenience there's back buttons no browser back buttons, Facebook doesn't redirect to the previous URL programmatically. The only way for me is to wait for expiring the time out. Please throw me some light on this... Thanx!!! ...

Why does the name or value of the backButton HTML button not appear in $_POST?

Trying to detect when a user clicks "Cancel" but the $_POST on using var_export($_POST) outputs:- array ( 'descr' => '', 'formSubmitted' => '1', 'backButton_x' => '36', 'backButton_y' => '15', ) Notice: Undefined index: backButton in /home/mholt/development/BusinessPortico/class/requestHandler.class.php on line 81 Here is the...

Go to very beginning of UINavigationController after going some pages deep

I want to go to the very beginning of the UINavigationController after going deep several pages. If I try the following code, it will only go back one view. [self.navigationController popViewControllerAnimated:YES]; I want to do this action on a "cancel" button placed on the top right. ...

Stop displaying Popup On every page refresh

Hi,I need to stop displaying the Modal Popup Extender on page refresh and when browser back button is clicked.Please suggest me to find out the solution. ...

Ajax back button jquery - Need full example step by step.

Hi. I need help supporting back button with jquery ajax.load method. I have tried a couple of plugins but i cant get any of them to work. I am loading my content like this: $('.pagination a').click(function(){ var url = $(this).attr('href'); ajaxLoad(url,null,'.container'); return false;...

Getting IOException Push back buffer is full while trying to unzip a String value using ZipInputStream

I am trying to unzip a String value. But I am getting a java.io.IOException: Push back buffer is full public byte[] unzipArray(String stringToUnzip) { byte[] inputByteArray = Base64.decode(stringToUnzip); ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream( inputByteArray)...