Are the values of _adf.ctrl-state and window.name assigned uniquely?

Hi
I found that javaScript window.name always returns the same value with the value of URL parameter _adf.ctrl-state subtracted by 3.
For example, if the adf.ctrl-state is xxxxxxxxx4, window.name returns xxxxxxxxx_1.
I want to utilize these values to handle windows with javaScript programming.
But I wonder if these values are assigned uniquely or not.
By chance they can be equal to those of previously opened window?
Regards,
Kenji
Edited by: Kenji Imamura on 2011/09/27 23:18

Thanks for your responses.
My use case is as follows.
There is an ADF application having two pages, say page A and B.
A user can open page A on multiple windows simultaneously, while page B is allowed to be opened on only one window per session.
When a certain event is kicked in page A and there is no window showing page B, page B is opened on a new modeless window.
However, if there is already a window showing page B when the event is kicked in page A, a new page B window should not be opened but the event should be propagated to the existing page B window and refresh it.
As far as I know, ADF does not provide this kind of inter-window communication functionality.
Thus I thought of using JavaScript.
When page B is opened, the name of the window showing it is added to the session attribute (with a key of "page B", for example).
Depending on whether session.getAttribute("page B") returns null or not null, the event in page A is resulted in opening a new page B window or refreshing the existing page B window, respectively.
I admit that this is not cool.
I do appreciate if someone show me a better solution.
Regards,
Kenji

Similar Messages

  • Disable random generation of  .adf-ctrl-state and the view state

    Hi,
    I'm trying to test a few transaction on an ADF application that would need to be run using a simulator.
    The problem is it is pretty hard to do this using a programmed simulator since everytime the adf-ctrl-state and the viewstate in the browser change, which requires capturing them. To complicate matters further there exists the PPR navigation (at least that's what I think it is) which present a unique _afrLoop id, that also seems to behave differently with different user-agents. 
    My question is, can I do anything with those fiedls that would allow me to have one id to run my transactions ? I understand that some of those ids, like the viewstate act like a session nonce....but are there do I have any options ?
    Thanks,

    You will need to configure your test suite to capture and replay those values. There is also the javax.faces.ViewState variable.
    Here are some good pointers on how to do this in JMeter
    http://one-size-doesnt-fit-all.blogspot.com.au/2010/04/configuring-apache-jmeter-specifically.html
    A more generalized article
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfloadstresstesting-354067.pdf

  • Removing the _adf.ctrl-state

    I am using an unbounded task flow. I dont want the session information to pass to the forwarding screen. _adf.ctrl-state should not appear in the url after forward. Is there any way to do that ?
    Thanks
    Suneesh

    I do have two pages . Page1 displayes a tree structure and there is an edit pane. Page2 is the create node page. I created one tree node from create page and set the action parameter of the command button to page1. After forwarding to the page1 the tree is not getting updated. If i am directly accessing the page1 url its showing the data expected. I am not an expert in ADF , so i was thougt if we can some how build the direct url my use case will work properly

  • What are the values and meaning of PaymentStatusID and statusTypeId from the API

    What are the values of PaymentStatusID and statusTypeId from the API?
    The WSDL just list the fact tht these exists but not the values and meaning.

    Found more info on the BC site, figured I'd include it all.
    PaymentMethodType
    CreditCard = 1
    Cheque = 2
    Cash = 3
    EFT = 4
    PayPal = 5
    HostedCreditCard = 7 - like google checkout etc.
    DirectDebit = 8
    GiftVoucher = 9
    Free = 10
    PaymentStatusID
    Unknown = -1
    Succeeded = 0
    Failed = 1
    Pending = 2
    Denied = 3
    AddressTypeId  - AddressType
    Home Address = 1
    Work Addres = 2
    PO Box = 3
    Not Used = 4
    Shipping Address = 5
    Pickup Address = 6
    Storage Address = 7
    Billing Address = 8
    OrderType
    Quote = 1
    Invoiced = 2

  • URL - _adf.ctrl-state

    hi
    Is there a way to hide this particular part of url (_adf.ctrl-state=o3n0hu5zr_4)
    http://127.0.0.1:7101/XXXX/faces/XXX/home.jspx?_adf.ctrl-state=o3n0hu5zr_4
    I remved the disply of session id by <url-rewriting-enabled>false</url-rewriting-enabled>
    Edited by: Queenbee on Sep 17, 2009 11:24 AM

    Hi,
    not, there isn't. The state token is added by the controller and without this the context of your page navigation would be unknown (especially using bounded task flows, removing it will cause issues)
    Frank

  • How to concat the data located in ctrl:eventResult and fixed data ?

    I want to concat the data located in ctrl:eventResult and the content of <fixed> ,like the following(it is incorrect):
    <messageTextInput name="name">
    <boundAttribute name="prompt">
    <concat>
    <dataObject select="listName"
    source="ctrl:eventResult"/>
    <fixed text="Hello"/>
    </concat>
    </boundAttribute>
    Thanks.

    I don't see anything wrong with your code - I was able to set up a small test case using it and didn't see any problems with concatenation. Are you certain that you are setting up the EventResult property correctly? Does the following code work?
    <styledText data:text="listName@ctrl:eventResult"/>Can you post your code which creates the EventResult object?
    Andy

  • _adf.ctrl-state

    Hi All,
    I am curious to know how _adf.ctrl-state* is removed from the url at the  [Adf Rich Client Demo|http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx]
    Regards,
    JavaDeVeLoper

    Hi,
    the _adf.ctrl-state token is an ADFc token that a pure ADF Faces page doesn't need
    Frank

  • What is the inbuilt function for ctrl+f11 and f11?

    what is the inbuilt function for ctrl+f11 and f11?

    Forms version?
    If 11g then see the fmrpcweb.res file in %ORACLE_INSTANCE%config\FormsComponent\forms folder.
    If you ask questions with inadequate inputs like this one, you are bound to end up with
    >
    Handle:      shravan
    Status Level:      Newbie
    Registered:      Sep 20, 2011
    Total Posts:      16
    <b>Total Questions:      10 (10 unresolved) </b>
    >
    Cheers,

  • Am trying to redeem an itunes gift card but its telling me that the ipod is from another state and that i can't redeem the card????

    am trying to redeem an itunes gift card but its telling me that the ipod is from another state and that i can't redeem the card????

    The iPod is from another state? Can you give us anymore details?
    Be sure you are using the correct code >  iTunes Store: Invalid, inactive, or illegible codes

  • What are the major differences between 4.7 and ecc5.0

    hi all
    What are the major differences between 4.7 and ecc5.0
    regards
    JK Rao

    Hi,
    Good morning and greetings,
    Please use the following link
    http://solutionbrowser.erp.sap.fmpmedia.com
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • What are the advantages of varying write speeds and burn speeds?

    What are the advantages of varying write speeds and burn speeds?

    The slower the speed, the fewer burn errors (or, in other words, you'll burn fewer "coasters"). I've always tried to burn at a slower speed, i.e. 2x - 4x. I'd rather wait a few minutes more and I've never had any burn errors.

  • What are the versions required for JBOSS,JDK and ORACLE to setup the ATG 10.2.

    Hi Folks,
    Could you please share, What are the versions required for JBOSS, JDK and ORACLE to setup the ATG 10.2.
    Thank you.

    In case you don't have access to MOS :
    JBOSS : 5.1.2 EAP
    JDK : 1.6.0_38
    ORACLE :
    Oracle Exadata5
    Oracle 10gR2 (10.2.0.3)
    Oracle 10gR2 RAC (10.2.0.3)
    Oracle 11gR2 (11.2.0.2.0)
    Oracle 11gR2 RAC (11.2.0.2.0)

  • What are the different Sony Xperia Z1 sol23 and Z1 C6906

    What are the different Sony Xperia Z1 sol23 and Z1 C69061) sol23 model is working 4G for Asia 4G network2) What are the different sol23 and c6309 

    See wiki:
    https://en.wikipedia.org/wiki/Sony_Xperia_Z1

  • What are the best apps to monitor tests and emails on childs phone

    what are the best apps to monitor tests and emails on childs phone?

    You could simply log into your child's email with the password that the two of you agree upon, and monitor the emails manually.  As for the texts, you could purchase a separate device, and use the child's Apple ID to monitor the iMessages.  For SMS/MMS, no way to monitor it.  You'll have to use the app called 'Random Parental Inspections'.

  • My Aperture 3 library menu shows me that some photos, which are high resolution professional pictures, are less than One Mb file size. Are the full size masters held elsewhere, and if so how do I get to them ? You've guessed I,m a newbie - please help.

    In Aperture 3 and using File>Get Info, I'm told that many photos, which are 7+ Mb's are only One Mb or less. Are the full-sized masters held elsewhere, and if so how can I get to them. You've guessed I'm a newbie - just 2 months with Apple and I'm very confused - any advice would be gratefully received.

    You should probably have this thread moved to the Aperture Discussion group and you’ll find lots of useful tips in the threads there:
    https://discussions.apple.com/community/professional_applications/aperture
    Are you looking at these sizes within Aperture using the metadata view or inspecting them outside using the Finder and Show Package Contents?
    I am wondering how you are importing the pictures from your camera?  When you import from your camera, the right side of your display window will have a lot of options that you can select to grab your images from the camera. 
    Does your camera shoot RAW+JPEG?  If so, you may not be importing them correctly and only picking up the JPEGS.  You can import them so they stay together or separate them.  The master images are all at the Project Level whereas the views you see in Albums for example are aliases that point back to your Project.
    Here’s a good Aperture web site (I have no financial or other interest in this site) to help you using Aperture:
    http://aperture.maccreate.com/
    This article talks about RAW and JPEG images:
    http://aperture.maccreate.com/2011/05/24/matching-raw-files-to-jpeg-pairs-in-ape rture-3/

Maybe you are looking for

  • HT4847 How do I get my pics off iCloud & on to my new phone?

    How do I get my pics off iCloud & on to my new phone?

  • Find/change delete before something

    I need a find/change command for this: SWEDEN_DKK FIND _ And delete: SWEDEN_ so it ends with only SEK Thanks!

  • Skype changes my sent files names

    hello, since i got the skype 7.0 update, whenever i send an image to someone, skype changes the file name to something like "i01^cimgpsh_orig". its really annoying! is there a way to fix this? thank you! Solved! Go to Solution.

  • IMessage Caller ID for iPhone 4S

    I just bought a 4S for my wife and when she sends me a text in iMessage it comes up with her email in the caller id. On my iPhone 4 I can go to settings/messages/receive at/caller id and select number or email. On the 4S under settings/messages there

  • How to get two top salaries from each department

    select st.staff_name,st.dept_code, st.staff_sal from staff_master st where staff_code in ((select  staff_code from staff_master s where staff_sal=(select max(staff_sal) from staff_master where dept_code=st.dept_code)) union select staff_code from sta