Can we write Spel Language Programatically

Hi All
Is it possible to write Spel Language Programatically ?
For example , Can I have a code that reads as follows ?
Line 1 : OAMessageTextInputBean descBean = (OAMessageTextInputBean)webBean.findChildRecursive("Description");
Line 2: descBean.setReadOnly(${oa.current.Status});
I tried doing it .... but JDeveloper Throws the following error :
Line 2 : ')' expected
Line 2 : variable $ not found in class xxx
Please let me know if there is way to write SPEL Programmatically
Kindly Help ,
Thanks,
Chirag

Hi,
You can use OADataboundValueViewObject and set the read only property programitically without SPEL, by binding it to a db column.For details read "Bound Values", heading in dev guide!
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How can read/write FORMSWEB.CFG & DEFAULT.ENV file entries programatically?

    Environment: Forms 9i (Web)
    As : Oracle 9i As
    How can read/write FORMSWEB.CFG & DEFAULT.ENV file entries programatically?

    I guess you cannot. There is an enhancement request to get the name of the config-section as a GET_APPLICATION_PROPERTY.
    What you could do is add extra parameter(s) to your form and pass the necessary formsweb.cfg parameters in this form parameter. See Get formsweb.cfg section name in Forms for more info and an example.

  • How can I change the language of a block of text

    Hi,
    Working in a bilingual environment, I am constantly switching languages as I write e-mail. Using Mail 3.5, if I forget to change the dictionary language before I start writing, Mail logically marks most words as spelled incorrectly. After having written a paragraph, I'd like to be able to change dictionary language, and then continue writing.
    But Mail doesn't seem to change the language for the text that was already entered -- the words that were "misspelled" according to the old dictionary language are still underlined in red after the new dictionary is chosen, and after I've told it to "Check document now".
    How can I get it to re-evaluate the text as now being in the language of the dictionary, so that all those incorrect red underlines will disappear?
    Thanks,
    Eric Peters

    "It's not a bug or a feature; it's just something you can't do..."
    Phooey! I accept that Mail is limited to one language at a time. I don't accept that the spell checking fails to work if I switch which dictionary is in use after having already written some text.
    "I know of no email client for Mac than can do it, either."
    Er, I hate to say it... MS Entourage does do it, perfectly.
    I recently gave up Entourage and switched to Mail, because I decided to stick to all Apple software so that syncing would be smoother. The syncing does work much better now that I've eliminated Entourage from the equation...
    ...but why can't I switch languages and get the dictionary to evaluate the text in the language I've chosen?! Otherwise, can someone explain to me the meaning of allowing the user to select a new language from the popup in the "Show Spelling and Grammar" dialog, if that new language won't then be used for spell-checking, whether for all the text, or the selected text? What is the purpose of allowing use of an interface control which doesn't then do what it obviously is supposed to do? It seems like Apple has broken its own HIG here.
    Thanks for listening... maybe someday it will work as it obviously should!
    Eric Peters

  • How can I write in French without being auto-corrected to English?

    Before moving to Canada, I was able to write in French and even had auto-correct in that language, as well as in English. I can't understand why this possibility is now disabled, Canada being - at least in theory - a bilingual country.

    sansouci wrote:
    I was able to write in French and even had auto-correct in that language, as well as in English. I can't understand why this possibility is now disabled
    Surely you can still write in French, right?
    For the spell check, go to system preferences/language & text/text/spelling and set it to French.  In the Pages app, you have to do this in Inspector > Text > More > Language.  In MS Office, you have to use their own settings -- check their Help.

  • HT5312 I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? th

    I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? then I was unable to enter until 8 hours then called Apple Japan 4 times each time threy asked me would you like to speak with an English speaker,I said yes then they told me sorry today is Sunday no English speakers ,but they refused to speak Japanese, then I called 5th time and a kind guy could speak English we were on 1and 1/2 hours he got me to log in but the reset key chain could not be completed still pending.
    He said do not mess with that ! then I got a text from somewhere to reset 4 pins suddenly it was very strange I said to him that I got this pin this morning but it said you can use maximum 3 hours it had a UK number and I told him I do not like this and will not enter the code he said do not do it if it is from the UK and then I said to him ok you did a lot to help but we can not go any further ! and we cut of I went back to my computer to re do the ID but I found everything a mess so I call and a stupid sounding Japanese women with a squeaky voice came on I was calm at first and they want your phone number your IMEI number your iPhone serial number date of birth Address email address it takes 10 munutes to check then they ask what are you caling about so I try to explain my keychain is broken or problems with language security questions and can not change my pasword because the security question have failed me so it is ONE BIG HEADACHE AND I START I GET STRESSED she says Do want an ENGLISH speaker ,I say yes ,that guy i talked to earlier but I never got his name and first time I ever talked to him but they said he is not here so I said ok and then she said today is sunday so call back in the morning ,I said ,well ok in Japanese but they make you feel stupid because they do not want to speak Jap@anese with none natives and they are to busy,And they feel that I should not bother them ,then I say that Apple Japan is trying to refuse Apple foreign customers and then she wants to hang up and ask me to visit the shop ,but they are the same I have a very bad time with Apple Japan since they do not discuss software problems or security with customer meaning if you have a problem they ask you to come on a time 20 minutes max so they do hardware test and say you phone is fine then I say no I can not reset my ID they say you must call call centre so I am going around in circles ,When I call English it is usually Australia so if my problem is in Japan surely if do not want me to talk to them in Japanese and they ask me to call Australia but every time my call charge is expensive after asking them is this free because I have Apple care they say yes but when the call goes to Australia 0120 277 535 it might change to paid call so I call then I have to ask is this charging they say we can not give you that information ! so what can I do I have have been at the computer and phone all day on my day off work and in tre week I am so busy and can not use my phone I can not work without it ,this new technology for you ,they can not cope with the fact that the customer have problems yet they do not want to deal with us because they can not solve it and so it shows them to be useless they like to walk around in their cool tee shirts and retro shop but when it comes to functionality we are unwelcome they got the money so do not return because apple is perfect that nothing should go wrong .
    But it does somehow my English security answers do not work on a Japanese Question especialy if I did not choose that question I set  up the multiple choice In English and wrote the answers in English or Roman and set them langauge preferences in English, do you really think you can correctly write english name or word in Japanese they write a police patrol car  pato caa パトカア they do not have r and l .So it is my choice to make my security easy for me and as difficult for others to hack.But they also have patororoo choo meaning ' now patrolling ' so why they have pato caa patrol car and patoro patrol and have thousands of Chinese words kanji they can find patrol.
    I am getting off the topic but I am at a loss to fix this problem when they hold the keys and i have all the info to verify my ID.

    You have to enter the Apple ID and password. You are running into the Activation Lock
    iCloud: Find My iPhone Activation Lock in iOS 7
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

  • Slow performanc​e to read/write shared variables programati​cally

    We are using datasocket read and write functions to read and write shared variables programatically (in the same machine) but we only achieve a performance of aprox. 200 reads/writes per second. We are using Labview 8.6 with DSC.
    Is possible to get better results? That performance is normal?
    Any help would be appreciated. Thank you in advance.

    Hi MMCDAT,
    I think this value can
    be normal as you can see in this link:
    http://zone.ni.com/devzone/cda/tut/p/id/5037
    As you can see, the
    limit for datasocket depends on your Ethernet limitations, even if you as using
    it just in one PC:
    http://digital.ni.com/public.nsf/websearch/6AC9E65​734E53F9A8625672400637ECC?OpenDocument
    You can improve the
    performance changing the update mode or Vis configurations:
    http://digital.ni.com/public.nsf/allkb/F8F7DE98856​B50588625672400648045?OpenDocument
    http://digital.ni.com/public.nsf/allkb/2D9C6D73A16​0537986256B290076456E?OpenDocument

  • Can't get multiple languages to work in mail

    I used English and Dutch, and sometimes German as language on my Mac. Took me a while but I finally figured out how to use Pages with different language and subsequent speller check.
    I'm still struggling with the same in mails (gmails). I have my three input languages defined, I can toggle between the three, but when I'm typing an email no matter what language I choose, it still keeps the system language (in my case English).
    i must be overlooking something obvious, but what?
    Jeroen

    Unfortunately, this is not a proper solution:
    For example, in my MacOS (like in my iPad) I have the following languages preferences (by order):
    English
    Spanish
    Català (the language from Catalunya)
    With my Ipad, I can switch the 3 languages (while typing in Mail) easily just pushing the key on the left of the space bar.
    However, in any of my Mac computers I don't have this choice. Moreover, if I try the method mentioned above (Edit>Spelling and Grammar>Show Spelling and Grammar) I can not choose Catala (no matter it is in third position in System Preferences>Language & Text) just a standard list of main languages.
    I must agree with so many observers sayinng that "current" Apple company shows a lack of interest for MacOS and Mac computers. Too focussed on mobile/iPad benefits and stock market?.

  • How can I add a language on pages (Greek) to check the spelling when that language is not on the list?

    how can I add a language on pages (Greek) to check the spelling when that language is not on the list?
    I can see other languages available for spelling check, but not Greek and I dont see how to add it.
    I have added the Greek keyboard on the Mac, so I can write in Greek , but I dont know how to check the spelling in Greek on pages

    You can try to add a 3rd party spellchecker
    http://milaraki.com/blog/2010/11/greek-spelling-at-pages-how-to/

  • How can I get the language of the user logged on using only DI API?

    Hello,
    how can I get the language of the user logged on using only DI API,
    without invoking the UI?
    Can I read the value from some table using sql?
    I could write to file the first user's connection to the language code in SAP and then use it from external program, but I do not like this solution ...
    I know only this possibility:
            '_SboCy ==> SAPbobsCOM.Company
            '_SboCys ==> SAPbobsCOM.CompanyService
            '_SboApp ==> SAPbouiCOM.Application
            CodLng Dim As String = ""
            Dim lng As SAPbobsCOM.UserLanguages _SboCy.GetBusinessObject = (BoObjectTypes.oUserLanguages)
            If lng.GetByKey (_SboApp.Language) Then
                codLng = lng.LanguageShortName
                'Etc. ..
            End If
            lng = Nothing
    Thanks

    Hi Enrico,
    The language settings are held on the user's Windows profile and not in the database. In SBO 2007A onwards there is an XML file that is created by the SBO client (previous versions stored the information in the registry). The file is called b1-current-user.xml and you'll find it in the temporary application data under the user's profile (by default this will be C:\Documents and Settings\<profile>\Local Settings\Application Data\SAP\SAP Business One for Windows XP). This XML file contains a node that looks like the following:
    <leaf kind="single" name="Language" type="String">
         <value>8</value>
    </leaf>
    where the value is the language id that should correspond to the same setting in the DI API. If your application will always run on a workstation where the SBO client is installed then you could read this XML file. Of course, this file may not exist for a particular Windows user if they have never opened the SBO client so you'd need to have a default setting.
    If you application will be installed on a workstation which doesn't have an SBO client installed on it then there is no way to tell what default language to use and you'll need to build this logic in to your own application (eg have a screen where the user can choose their preferred langauge and then store this as a config file in a similar way to how the SBO client works).
    Kind Regards,
    Owen

  • HT3387 When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    http://m10lmac.blogspot.com/2011/06/extra-spell-checking-dictionaries-for.html

  • Can we write in Italic font on to the screen by using the WRITE Statement

    Hello Abappers,
    Can we write in Italic font on to the screen by using the WRITE Statement.
    Please reply.
    Regards,
    Rahul

    Hi Rahul,
    >Sandeep Wrote:
    If you have the codepage for Italian language installed in your machine , you can write the same.
    The OP is asking about italic font not about the language.
    You need to upload font files ITALICI.TTF. Go to SE73 . Click on Install True type font and upload the italic file on to your system.
    Check Font Attribute Italic
    We already have help files on this. Refer:
    [Using TrueType Fonts|http://help.sap.com/saphelp_nw70/helpdata/en/36/5b3438fd263402e10000009b38f8cf/content.htm]
    I don't have idea on write statement in ABAP reports. Hope it cannot be.
    Edited by: K.Manas on Dec 30, 2010 6:08 AM

  • Can I Write a * Game in Java?

    I have noticed loads of topics lately along the lines of "Can I write a quake style shooter in java" or "could I write a mmporg in Java" and similar for almost every style of game. I'd just like to make a quick point on this:
    Java is a programming language. At the stage it has reached now it can do anything any other programming language can do. It's strengths and weaknesses may be different from those of C, C++, Visual Basic, Lisp or whatever other languages people use regularly, but when it gets right down to it Java isn't the problem. If you can design it effectively then you can implement it in any complete language. It may not be easy but it is possible. The answer to this question is invariably yes.
    These forums are far more useful for asking practical questions rather than asking conceptual ones. A better question might be "how would I best start to design a * to be implemented in Java?"

    Yeah thats a good point. I think that Java has been so popular for so long that it can pretty well do anything as long as the designer designs it properly.
    I've made a http web server, and just yesterday I made a pong style game. Java works for almost anything. Take a cruse through the Java Programming forum. People there are using Java to sort money things and everything.

  • Can I write java/EJB in forms 6i builder

    Can I write java/EJB in forms 6i builder? As I want to know except PL/SQL, what other programming languages can be used in forms 6i

    There are a couple of different ways - You can use ORA_FFI to call out to other foreign functions. You can use the Java Importer which creates PL/SQL wrappers to call Java. You can also integrate Java on the client side (Java Beans and Pluggable Java Components).
    Info on this can be accessed from the on line help and there are a couple of good papers on OTN about the Java integration.
    Regards
    Grant Ronald
    null

  • How can I change the language of my spellchecker from french to english?

    My spellchecker works in the french language. This makes it useless for checking english documents . How can I change the language in the spellcker to US english?
    If possible, please provide step-by-step keystrokes.

    Install the English dictionary that you want from https://addons.mozilla.org/firefox/language-tools/
    You can look at one of these:
    * Dictionary Switcher - https://addons.mozilla.org/firefox/addon/3414
    * Dafizilla Spell Check by Site: https://addons.mozilla.org/firefox/addon/10582/

  • Changing Keyboard on selection of Language Programatically

    Hello All,
             Sub: Changing Keyboard on selection of Language Programatically.
    Note: Correction to earlier post
    Here we had a requirement on change keyboard on language selection, There is a list of languages in a dropdown based on the selection of any language we need to change the keyboard language (Key Pad).
    Eg, Suppose I have selected Arabic Language then we can simply type arabic language without any keyboard selections (settings).
    Is it possible in iPhone programatically?
    Thanks in advance
    Vinay Guntaka

    You need to ask these questions in the developer forums.
    http://developer.apple.com/devforums/

Maybe you are looking for

  • IPhoto '08 - can't drag images

    Unable to drag folders of images from desktop or CD into an iPhoto album. Unable to drag images from iPhoto to Desktop.

  • Unchecked songs in iTunes they are still on my phone

    I unchecked songs in my itunes library that I dont want on my phone. In the options i clicked sync only checked songs/videos. But the songs are still on my iphone. How do I get them off?

  • Problem while sending to production

    Hi friends, I am working on module pool program. I have four includes in the program. I have completed that object and send to production. According to the basis consultant he asked me to changed the program name accordingly(Before sending to product

  • Macbook Pro Grey Screen

    Hello, My Macbook Pro has suddenly started to show the grey screen upon startup. It only seems to happen when both my USB ports have connections made. When I disconnect the USB connections startup goes smoothly, Do I need to just boot up my Macbook P

  • ORA-12560 while creating database Oracle 11.1.0.6

    Hi, I tried to create a Oracle Database using Oracle installer. I got the error ORA-12560 This is part of the logfile: INFO: Configuration assistant "Oracle Net Configuration Assistant" succeeded INFO: Command = oracle.assistants.server.DbcaCfgPlugIn