History Management
Right now, our application is a main app that loads modules in as I need them, but I need to figure out how to register each module with the same HistoryManager.
The problem is that the URL is being appended whenever I call HistoryManager.save() rather than replacing the information.
For Instance:
Main App - creationComplete calls mx.managers.HistoryManager.register(this);
Each Module - creationComplete calls mx.managers.HistoryManager.register(this);
Each Module - creationComplete calls mx.managers.HistoryManager.save()
For each module, saveState():Object looks something like this:
var o:Object = new Object();
o.module = thisModulesName;
o.state = currentStateOfModule;
The URL will do something like this though:
#app=ca1a&21f8-module=Gallery&21f8-state=start&55b6-module=EmailGreeting&55b6-state=editor
I am under the impression that the saveState should actually register with the browser and replace the key,value pairs, if I am trying to overwrite them.
Any help would be great.
Could this be because it is a Singleton Enforced class and I need to do something else in the main app?
Thanks!
Any help, along with any information of the right way to implement this and the expected flow would be great!
Similar Messages
-
Problem with history manager on internet explorer
Hello,
I'm using the flex's history manager to save a state of my
application. When I use firefox everything works almost fine, but
when I use internet explorer nothing works. I tried both 6.0 and
7.0.
Do anyone know why does this happen and how can I workaround
it?Hi Konstantin,
Searching through our bugbase, I found this bug which sounds
like the issue you're having:
history management doesn't work when previewing a local file
in IE:
http://bugs.adobe.com/jira/browse/FB-443
This should work fine when using an http url. If not, can you
please log a bug?
thanks,
Sharon -
HI MASTERS,
WHY WE UUSE HISTORY MANAGE CHECK BOX IN ASSET MASTER, AND IN ASSET CLASS,
I THINKING IT IS USED FOR UPLOADING THE ASSETS TO ASSET HISTORY SHEET IS IT. PLEASE GIVE REPLY THIS , POINTS WILL B ADDED.Hi Gov
What do you mean by?
"I have to upload asset history from the date of its acquisition."
As far as I know there is no upload to be done. If you do not set this
indicator you will not have detail information for assets of that asset class (created when the indicator was set) in report RAHIST01 / 02.
You can test it in one of your systems.
Regards
Javier -
after reinstaling the firefox browser i have the following information when attempt to install facebook chat history manager addon:
This addon has been disabled by the administrator (something like that).If you lock a pref then it is impossible to change such a pref on the <b>about:config</b> page.
*http://kb.mozillazine.org/network.proxy.type
*http://kb.mozillazine.org/network.proxy.%28protocol%29
*http://kb.mozillazine.org/network.proxy.%28protocol%29_port
You can compare a copy of prefs.js before and after having changed a setting to see which pref(s) to lock. -
I am trying to do some history management in a flex app but I am getting strange behaviour on my test server. I have a history enabled tab control and if I press back it returns to the previous tab but it does it like I clicked to navigate to it so the forward button does not work. This also means that the back button will effectively just switch between the current tab and the previous one no matter how many times you press it or what other tabs you clicked on before that.
The strange thing is it works fine in firefox (though for some reason history never works in chrome) and it works in IE when being run locally on the asp.net development server. The test server is running IIS.
When in chrome the history button doesn't actually do anything until you get to the point where the app was loaded, you then get send to the page before the app as expected.Newbbie question: How do you know if you have the latest?
If not, can you update only those two files & how?
I'm working with Flex3 & experiencing same behaviour - FF fine for Browser Back/Next, Chrome Fails -
Revision: 4910
Author: [email protected]
Date: 2009-02-10 11:51:58 -0800 (Tue, 10 Feb 2009)
Log Message:
Implementing workaround for history manager rendering issue (Firefox/Mac) caused by a long standing player bug.
Bugs: SDK-17020.
QE Notes: None
Doc Notes: None
Reviewer: Alex
Tests: DeepLinking
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-17020
Modified Paths:
flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as
flex/sdk/branches/3.x/templates/html-templates/client-side-detection-with-history/history /history.js
flex/sdk/branches/3.x/templates/html-templates/express-installation-with-history/history/ history.js
flex/sdk/branches/3.x/templates/html-templates/no-player-detection-with-history/history/h istory.js -
History Manager - FFox - Debug Player
Hi,
I'm getting a weird security exception. My setup is:
1 main application
2 load external module through the moduleloader
3 use a view state component in the main module to enable the
history
management.
I am getting:
Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047:
Security
sandbox violation: LocalConnection.send: mydomain.com cannot
access
http://local.mydomain.com/home.swf.
Where home.swf is the main module.
This only happens in Firefox.
Does somebody ran accross that and got it to work?
Thanks,
JGI will just reply to myself :-) I figured it out, Flex does
some weird
things. I suspected that some class was not included or
instanced at the
beginning of the application to handle the history manager.
The setup I had
was:
main app:
<mx:ModuleLoader url="home.swf" ready="progressBox.visible
= false"
id="home" left="0" right="0" bottom="0" top="0"/>
home module:
<mx:ViewStack id="views" horizontalCenter="0"
verticalCenter="0"
width="100%" height="100%"
historyManagementEnabled="true">
</mx:ViewStack>
That's when I was getting the bug. So, my quick fix is:
main app:
<mx:ViewStack height="100%" y="0" width="100%" x="0"
historyManagementEnabled="true">
<mx:ModuleLoader url="home.swf"
ready="progressBox.visible = false"
id="home" left="0" right="0" bottom="0" top="0"/>
</mx:ViewStack>
home module:
same as before
and voila :-)
JG
"Jose Guevara" <[email protected]>
wrote in message
news:eubtog$5l5$[email protected]..
> Hi,
>
> I'm getting a weird security exception. My setup is:
>
> 1 main application
> 2 load external module through the moduleloader
> 3 use a view state component in the main module to
enable the history
> management.
>
> I am getting:
> Error #2044: Unhandled SecurityErrorEvent:. text=Error
#2047: Security
> sandbox violation: LocalConnection.send: mydomain.com
cannot access
>
http://local.mydomain.com/home.swf.
>
> Where home.swf is the main module.
>
> This only happens in Firefox.
>
> Does somebody ran accross that and got it to work?
>
> Thanks,
> JG
>
> -
Revision: 14751
Revision: 14751
Author: [email protected]
Date: 2010-03-14 12:20:05 -0700 (Sun, 14 Mar 2010)
Log Message:
Bugfix for history management with navigation interceptors
Modified Paths:
cairngorm3/trunk/libraries/Integration/pom.xml
cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/core/NavigationM essageProcessor.as
cairngorm3/trunk/libraries/NavigationTest/src/NavigatorSample1.mxml
cairngorm3/trunk/libraries/NavigationTest/src/sample1/Sample1Context.mxml
cairngorm3/trunk/libraries/NavigationTest/src/sample1/presentation/NavigationBar.mxmlAlex,
On the mac, I've been attempting to check out the Navigation project but I keep getting prompted for credentials. This is using Subclipse within Flex Builder3 on the Mac.
Jeff -
Use-network and history management
Hi everyone
I'm currently working on an application with Flex Builder 2
and as i was trying
to run it locally i noticed a strange behavior.
When i use the option -use-network=false my application works
nicely on my
computer except for my control bar : whenever i click on a
link in the linkbar the
history.htm page opens for no reason, and the back and
forward buttons of my
browser don't work anymore either.
It's not a atrocious dilemna but it tickles me though, so if
you have any idea
where that could come from please tell me.
Best regards.
Vianney BaronI think we tried contacting that company from the UK but the pricing and monthly payments were really out on our budget. We've tried the Leopards Parental Controls server based where you need to setup OD and control the computer/accounts using WGM but it does not meet our needs for example we want a specific site be access on a specific time.
Is there like an software emulator of any hardware/network management device on (OS X) leopard? -
State cache and History management
I am working on states management in Flex. Currently if I log
in to the application and do some search, this is basic
functionality of my application, results are shown in Datagrids.
Now if I click logout from the application (which is just a button
to close the main application window) and re-login into the
application it still shows the previous results. On re-logging into
the application I do not want to show previous data i.e., I want to
show a clear new state. I am not using any wrapper.
How can I solve this problem?Hi there,
Maybe this can help you.
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=585&threadid =1338322&highlight_key=y&keyword1=history
Greetz, J. -
Hi,
How could I enable back and next navigation from my own
button (for continers implementing IHistoryManagerClient)?
I saw there is a loadState method that gets the state, does
that meas i should manage the states?
Thanksthanks,
The following code do what i want, but i thought that the
HistoryManager, or the container itself save the states (here i
used the states stack to push and pop the selecting order):
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
verticalGap="10">
<mx:Accordion id="ac" width="100%" height="50%"
change="ac.states.push(event.oldIndex)">
<mx:VBox label="View 1">
<mx:TextInput text="View 1"/>
</mx:VBox>
<mx:VBox label="View 2">
<mx:TextInput text="View 2"/>
</mx:VBox>
<mx:VBox label="View 3">
<mx:TextInput text="View 3"/>
</mx:VBox>
</mx:Accordion>
<mx:Button id="backButton" label="Back"
click="ac.selectedIndex = ac.states.pop()"/>
</mx:Application> -
I have
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical" horizontalAlign="center"
creationComplete="initApp();"
implements="mx.managers.IHistoryManagerClient">
<mx:states>
<mx:State name="partners"/>
</mx:states>
I also have an accordion on currentState="" as follows:
<mx:Accordion width="100%" height="90%"
id="toppage_accordeon" historyManagementEnabled="true">
I also have loadState ans SaveState as follows:
public function initApp() :void
HistoryManager.register(this);
HistoryManager.register(toppage_accordeon);
addEventListener(StateChangeEvent.CURRENT_STATE_CHANGE,
handleStateChange);
initCollections();
* Implementation of saveState() method required by
* the IHistoryManagerClient interface.
public function saveState() :Object
var historyState:Object = new Object();
historyState.currentState = currentState;
return historyState;
* Implementation of loadState() method required by the
* IHistoryManagerClient interface.
public function loadState(historyState:Object) :void
// Temporarily ignore currentStateChange events.
removeEventListener(StateChangeEvent.CURRENT_STATE_CHANGE,
handleStateChange);
if (historyState == null)
{ // TRICKY: Null value indicates that initial state is
required.
currentState = "";
else
currentState = historyState.currentState;
// Listen for currentStateChange events again.
addEventListener(StateChangeEvent.CURRENT_STATE_CHANGE,
handleStateChange);
public function handleStateChange(event:StateChangeEvent)
:void
HistoryManager.save();
When I launch and change the accordion state I get an error
as follows:
TypeError: Error #1009: Il est impossible d'accéder
à la propriété ou à la méthode d'une
référence d'objet nul.
at
mx.managers::HistoryManagerImpl/save()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framew ork\src\mx\managers\HistoryManagerImpl.as:555]
at
mx.managers::HistoryManager$/save()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework \src\mx\managers\HistoryManager.as:140]
at
mx.containers::Accordion/commitSelectedIndex()[E:\dev\flex_3_beta2\sdk\frameworks\project s\framework\src\mx\containers\Accordion.as:1775]
at
mx.containers::Accordion/commitProperties()[E:\dev\flex_3_beta2\sdk\frameworks\projects\f ramework\src\mx\containers\Accordion.as:1056]
at
mx.core::UIComponent/validateProperties()[E:\dev\flex_3_beta2\sdk\frameworks\projects\fra mework\src\mx\core\UIComponent.as:5552]
at
mx.managers::LayoutManager/validateProperties()[E:\dev\flex_3_beta2\sdk\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:517]
at
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\flex_3_beta2\sdk\frameworks\pro jects\framework\src\mx\managers\LayoutManager.as:667]
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\flex_3_beta2\sdk\frameworks\projects\f ramework\src\mx\core\UIComponent.as:8338]
at
mx.core::UIComponent/callLaterDispatcher()[E:\dev\flex_3_beta2\sdk\frameworks\projects\fr amework\src\mx\core\UIComponent.as:8281]
Is this my mistake or an issueon FB 3?
Thx for help.By the way I aso tried with
<mx:Accordion width="100%" height="90%"
id="toppage_accordeon" historyManagementEnabled="false"> since
implicitly it is enabled. Same result. -
Manage History Indicator in Asset Master
Hi,
Could any one please tell
what s the use of manage historically indicator
what would happen is i have not ticked on it.
Thanks
Moderator: Press F1 on the fieldHi,
Asset is managed historically
Set this indicator if you want the system to manage the asset with a history. Active history management has the following effects:
The asset is displayed in an asset chart.
The asset and the values/transactions belonging to it cannot be reorganized until the asset is deactivated.
Regards
udayakumar -
Management access and history for the Web Survey
Hi to all,
I've two questions on the Web Survey.
1- Is possible the access on the Web Survey compiled from someone? If yes, what?
2- The History is managed?
Regards,
MarcoHi Marco,
1. there is no system supported history management. You need to find a process.
I implemented using direct update in the application. The link is part of the portal
knowledge management. To have a survey history the purchaser or supplier copys
the file and store it in the folder.
2. All these screens are BSP driven. The registration page creates the business
partner in SRM, why changes are extremly tricky, but I also do not see the need
to change the first page. In Prescreen vendors it is the same, propably possible.
The questionaires can be adjusted within SRM trx and somehow easily configured.
3. There are several tables, which in combination contain the questionnaire.
Have a look for tables starting with tuws, like TUWS_SURVEY.
4. HTML
5. No; a questionnaire does no have any attachment functio. You can attach
document to a prospect in the trx Prescreen Suppliers. The docs are linked to
the Business Partner, like the questionnaire as well.
6. Once the supplier submits the registration page, the questionaire is sent out
automatically. For getting the process running the web survey settings as well
sapconnect needs to be configured. The process is described e.g. in Guide for
Strategic Sourcing as well into sap.help for the process.
Cheers,
Claudia -
Sometime before Firefox 3.x, in the History window -- it would show you columns of "First Visited" and "Last Visited".
Now you only get "Visit Date" which is equivalent to "Last Visited".
* Question -- anyone know how to bring back the "First Visited" column to the History window?
* I looked in about:config and couldn't find anything.
* I searched for a Addon and didn't find a current one. (There used to be an Addon called Extended History Manager that would show that column but an administrator disabled the download page for it.)
* Anyone know how to bring back the "First Visited" column?
Having that column by default in the Mozilla suite browser. (pre Firefox) was awesome! And at least in Firefox 1 and 2 you could use Extended History Manager Addon. I miss "First Visited"! :(Hi Fractalogic, this support forums doesn't work very well as a suggestion box because of the volume of posts and the audience reading it. You can try the following to get more visibility on the proposal:
* Help > Submit Feedback
* Filing a request for enhancement on https://bugzilla.mozilla.org/
You might also try recruiting any developer that created a useful history-related add-on to incorporate this feature.
Maybe you are looking for
-
Can I have more than one Apple TV in my home on one account?
I want to buy an Apple TV for my daughter and allow it to access my iTunes account. I already have an Apple TV in use in my home. Can I have more than one Apple TV in my home on one account?
-
Is it possible to upgrade the GPU in this laptop HP DV7-2043cl
I've been searching all over the net, and I am getting mixed answers. I just got an extra laptop through a craigslist deal, and was wondering what, if any upgrades I could do for it. I have done a little bit of research, and if i could upgrade it se
-
Button in movieclip to main timeline
I have a button(A) that opens a movie clip which contains a button (B). I want button B to go to and play a frame on the main timeline, NOT a frame in the movieclip. Is this possible? If not, what I am aiming for is a menu of buttons, that are rollov
-
Is it possible to run the sneak preview SAP Web As to run in the debug mode. I am using NWDS to develop web dynpro applications. I am trying to debug.I went to Windows-> Show View->J2EE Engine. after selecting Server0, i right clicked to get the opti
-
Soceket failure loading index.html
I just installed Weblogic 5.1 on NT 4.0 spk5. (This is an evaluation download that I got on 7/7/00 ). Everything installed okay, but to test the server, I entered the following URL http://localhost:7001 The page comes up but the console shows an exce