JAVASCRIPT:  Accessing the sessionbean - how ??? can it be done?

Hi,
I need to access the sessionBean from javawscript. I have trawled throughj all posts and have got no satisfactory code.
Can this be done?
I have tried for eg alert(#{sessionBean.firstName}) and get a syntax error, i assume due to # symbol. do i need to CDATA this request?
Any help, much appreciated.
Regards,
LOTI

Your problem is trying to access server side information from the client side, so that alert is never gonna work in that simple form. If you want javascript access to a sessionbean variable, that variable will have to be present in the final rendered page....meaning bring it into your page as either a visible or inviisble field and then using javascript to read that. Thats one solution?

Similar Messages

  • I did a software update on my ipad and now cannot access the internet. how can i fix this?

    I did a software update on my ipad to 8.1 and now cannot access the internet.  How do I fix this?  My mail updates, but to get internet access I had to move from wifi to cellular data, and now even cellular data does not allow me access.

    Hi Go to settings Reset Network Settings After Reset you need to enter your Router wireless key Before you do this turn off your Router for 30 seconds Also an option is to go on Websites for your make of Router look for any Firmware updates but you can do this later. Cheers Brian

  • I use audio memos and files are saved in icloud. while updating audio memo the apps stop working. i cannot access the apps. how can i retrieve the files saved in icloud ?

    I can't access the audio memo apps but i can see under usage - manage storage that all the files are located in icloud. how to extract .wav files from icloud if the apps is no longer responding to fileshare in itunes? Thanks.

    yes it was solved some time ago. i cant remember exactly but i think i disconnected from the internet and tried accessing the audio apps (or maybe i had accessed the apps first then only turned off internet i cant remember) thereafter the files were in my local apps and then I turned off use icloud. i suggest you backup your ipad on itunes before trying anything. All the best - hope you solve your problem.

  • Accessing the radio - how can I play Radio 1?

    I am hoping someone can help me. Does anyone have any idea how I can access the radio on the iPhone? Is there an app to support this? When I try streaming through the internet the phone says the flash player isn't new enough to work. How can I fix this?
    Any suggestions would be appreciated!
    Lou

    There are several radio players for the iPhone. Of them, I recommend the following the most:
    - FStream (free but pretty limited; however, it's the best free radio)
    - ooTunes (excellent and isn't too expensive)
    - Pocket Tunes (a bit more expensive; somewhat less featured than ooTunes but still one of the best)
    I've also published a huge roundup of all these titles on a lot of other iPhone forums (but not on this, because I'm still not Level 1) - just Google for the above players (as FStream ooTunes Pocket Tunes) to find them.

  • We need to cancel / delete further use of B2B custom app installed on ipad. how can we do this. we dont care that the redemption code is reusable. we just want to disable the app on the ipad. how can this be done ?

    we need to disable a previously provided b2b custom app on a non supervised ipad. can we cancel the redemption code to stop access to the app for the user who used the code? any help is appreciated.

    Wow, sorry to hear of your experience. Seems strange that your disk would just eject like they did. It could be a lot of things but more than likely you just kind of have to start all over.
    What I would do is insert your system disk and instead of going immediately to an install I would go to disk utility and erase the drive. That will erase everything on the disk and give you a new blank disk to start with. After that I would try to reinstall the system. Assuming that goes well then you should be restored to where it was when you purchased it. After that you can reinstall all your applications or personal files. I hope you have good backups.
    I remember one time I was having a similar problem and don't ask my why I did it but I actually could not get it to install a system. I removed both of my ram sticks, shut the computer down for about 10 minutes including unplugging it from the wall plug, then reinstalled the ram, plugged it back in and started up from the system disk and all worked just fine. To this day I have no idea if pulling the ram helped but I have never had to do it since and for some dumb reason that solved the problem I was having, which is the same problem you are having now. Call it voodoo but it worked.
    Good Luck!!
    Message was edited by: Al Van Malsen

  • I need to read data from a text file and display it in a datagrid.how can this be done..please help

    hey ppl
    i have a datagrid in my form.i need to read input(fields..sort of a database) from a text file and display its contents in the datagrid.
    how can this  be done.. and also after every few seconds reading event should be re executed.. and that the contents of the datagrid will keep changing as per the changes in the file...
    please help as this is urgent and important.. if possible please provide me with an example code as i am completely new to flex... 
    thanks.....  

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?

    Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?

    Here is one solution:
    // mouse up action for submit button;
    function GetField(cName) {
    // get field object for cName field with error checking;
    var oField = this.getField(cName);
    if(oField == null) app.alert("Error accessing field named " + cName + "\nPleae verigy field name, spelling and capitalizeation.", 1, 0);
    return oField;
    } // end GetField function;
    var oPhone = GetField("phone");
    oPhone.required = oPhone.value == oPhone.defaultValue;
    var oEmail = GetField("email");
    oEmail.required = oEmail.value == oEmail.defaultValue;
    if(oPhone.required && oEmail.required) {
    app.alert("Missing required fields.", 1, 0);
    } else {
    app.alert("Submitting form", 3, 0);
    // additional code for submission;

  • My old email address was hacked and I am no longer able to access it. How can i reset my icloud ID without losing all of my pictures and more inportantly contacts? I have created a new ID but i cannot seem to use it until I delete the old account

    my old email address was hacked and I am no longer able to access it. How can i reset my icloud ID without losing all of my pictures and more importantly contacts? I have created a new ID but i cannot seem to use it until I delete the old account

    You need to use the old ID and password to delete the iCloud account. After you delete the old account, you can sign in with the new ID in iCloud.
    Have you seen this.
    http://support.apple.com/kb/HT5796
    iCloud
    iOS 6 and later: Go to Settings > iCloud.
    If you signed out before changing your Apple ID, enter your current Apple ID to sign in. The data from your iCloud account will download to your device.
    If you're still signed in with your previous Apple ID:
    Scroll down and tap Delete Account. Depending on what iCloud options are turned on, you'll be asked to confirm that you want to delete data from your device. To confirm, tap Delete. (If you're using iOS 7 and have Find My iPhone turned on, you'll be asked to enter the password for your previous Apple ID. Enter the password, then tap Turn Off.) The data will be deleted from your device, but not from iCloud.
    Enter your current Apple ID to sign in. The data from your iCloud account will download again to your device.

  • I'm trying to setup my new iphone and the Apple ID it asks for is my friends old Apple ID that she no longer has access to. How can I fix this?

    I'm trying to setup my new iphone and the Apple ID it asks for is my friends old Apple ID that she no longer has access to. How can I fix this so I can use my new phone? The first step asks for my iCloud info but then asks for my friends after I agree to the terms.

    The iPhone is new, has never been used. When asked if I want to set it up as a new phone, restore from an iTunes backup, or my iCloud backup I selected iCloud. It then askes for me to sign in with my Apple ID, I then agree to the terms, then it asks for me to sign into my friends Apple ID. She and I have used each other's computers in the past so I assume this is where her information is coming from. The problem is she no longer had that email or Apple ID and has no way of gaining access to it and therefor I am unable to proceed.
    I suppose my question is, how can I remove her information from mine so I can setup my new phone using iCloud. Also, I have already checked my Apple ID online and nowhere on my account is her information listed.

  • Getting as message that says"The folder "Desktop" could not be opened because you do not have sufficient access privileges". How can I get into this folder?

    Getting as message that says"The folder "Desktop" could not be opened because you do not have sufficient access privileges". How can I get into this folder?

    OPen your Users folder, Highlight the Desktop Folder, do a Get Info or CMD+i on it, see if it's locked or if you have Rights & Privileges at the bottom.

  • Help! When i connect my "iomega" External hard drive to my mac it does not show in devices or on the desktop, how can i access my hard drive?

    Help! When i connect my "iomega" External hard drive to my mac it does not show in devices or on the desktop, how can i access my hard drive?

    what format your iomega HD is it NTFS , if NTFS try download   http://www.apple.com/downloads/macosx/system_disk_utilities/ntfs3g.html

  • Somone from China accessed my account and drained the money, how can i get my money back?

    Somone from China accessed my account and drained the money, how can i get my money back?

    That article only applies to previously purchased music, apps and books.
    Currently iTunes does not allow for re-downloading movies.  This may happen in the future with iCloud, but that remains to be seen.
    Your best bet is going to be to contact iTunes via email here:
    http://www.apple.com/support/itunes/contact.html?form=video&topic=Video%20Purcha ses&subtopic=Lost%20or%20Missing%20Items
    Usually takes about 24 hours for  a response.

  • What is the firefox navigation display storing? It's not my most recent sites or even those most accessed ... how can I change it?

    what is the firefox navigation display storing? It's not my most recent sites or even those most accessed ... how can I change it? It seems way out of date to me

    See https://developer.mozilla.org/en/The_Places_frecency_algorithm
    *http://kb.mozillazine.org/places.frecency.(visit_type)VisitBonus
    *http://kb.mozillazine.org/places.frecency.unvisited(place type)Bonus
    See also:
    * http://kb.mozillazine.org/browser.urlbar.default.behavior
    * http://kb.mozillazine.org/Location_Bar_search

  • I've forgotten my security question answers but the email is old so I can't access it. How can I change it?

    I've forgotten my security question answers but the email is old so I can't access it. How can I change it? As in how do I change the email or the answers

    1. See my User Tip for some help: Some Solutions for Resetting
        Forgotten Security Questions: Apple Support Communities.
    2. Here are two different but direct methods:
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contacting Apple for
            support and service.
    3. For other queries about Apple ID see Frequently asked questions about Apple ID.
    4. Rescue email address and how to reset Apple ID security questions
    5. For online assistance use Apple - Support - Express Lane

  • If I want to retrieve more information about the cookies being stored, such as when the cookie was accessed/created/modified; how can I find this information?

    I would like to have more information about the cookies being stored on my computer via firefox- such as last date accessed/created/modified; how can I add these options to cookie storage?

    Maybe this extension will do that:
    *Cookies Manager+: https://addons.mozilla.org/firefox/addon/cookies-manager-plus/

Maybe you are looking for

  • Open link in new window?  Anyone figured it out yet?

    I have tried looking over some past topics concerning this issue, but only found a few and it appears that it wasn't figure out on how to open a link in a new window. I started creating a web portfolio for me, and I have some videos I wish to open in

  • Is TimeMachine a FULL backup?

    Hello all I recently posted about the strange, feint HDD noise that was occurring ONLY in Pages (if I CMD-TAB to another app it stops?) Apple think I might need a new HDD, so suggest a trip to the local retail store to get it checked. I really don't

  • Is JDE World version 7.3.19  compliant with V7R1 Operating System?

    We are working on an analysis project to upgrade our iSeries operating system level to V7R1.  Right now, we are reviewing all of the applications running in our iSeries environment to determine if they are compatible with V7R1 or what upgrade/changes

  • Http request caching

    Hi folks, I'm new here.... ! We've just deployed an application to wl 9.2 and are seeing some strange behaviour. We have a calendar widget that does an ajax request each time a cell is clicking to load some data. However... in IE when a cell has been

  • I want to copy and paste an addresses to labels problem is...

     However the address is not mailing format. Where copying from the format is 4 lines Name address city. With  state and zip on a different line so instead of 3 lines it's 4. CARR ROBERT A 1739 BLACK FOX CANYON RD HENDERSON NV   89052-6940 What I need