Using Squiggly with Spark TextArea causes TLF formatting to disappear

We are using a Spark TextArea component in our application to offer more enhanced text formatting options to our users. Yesterday we downloaded Squiggly since it's the only one available that seems to support the spark components. It is highlighting misspelled words correctly and does have a nice right-click context menu with suggestions, etc. However, when we select a word from the suggestion list and it replaces it in the text area, it seems to replace the entire contents of the textarea as plain text. Any formatting on the text such as bold, italics, font sizes, underlines, all immediately disappear once the misspelled word is replaced. We're using the SpellUI implementation. Below is some of the snippets of the code we're using to implement SpellUI:
protected function createTextArea():void {
  _textArea = new TextArea();
  _textArea.editable = true;
  _textArea.enabled = true;
  _textArea.textFlow = TextConverter.importToFlow(XML(dataModel.value)[0], TextConverter.TEXT_LAYOUT_FORMAT);
  _textArea.textFlow.flowComposer.updateAllControllers();
  _textArea.addEventListener(FlexEvent.CREATION_COMPLETE, setupSpellCheck, false, 0, true);
private function setupSpellCheck(event:Event=null):void {
  logger.debug("setupSpellCheck", "Setting up spell check system...");
  _textArea.removeEventListener(FlexEvent.CREATION_COMPLETE, setupSpellCheck);
  resourceManager.localeChain = [localeStr];
  enableSpellCheck();
  enableSpellCheckContextMenu();
private function enableSpellCheck():void {
  SpellUI.enableSpelling(_textArea, localeStr);
private function enableSpellCheckContextMenu():void {
  var contextMenu:Object = {add:resourceManager.getString('SquigglyContextMenu', 'add'),
                                         enable:resourceManager.getString('SquigglyContextMenu', 'enable'),
                                         disable:resourceManager.getString('SquigglyContextMenu', 'disable')};
  SpellUI.setSpellingMenuEntries(contextMenu);
As you can see, we're constructing a new TextArea control and setting it's textFlow by importing an existing textflow XML that we have saved in our database. Once the TextArea has dispatched the FlexEvent.CREATION_COMPLETE, we are setting up the spell check system and everything works ok until you actually correct a misspelled word by selecting it from the right-click suggestions list. The text initially imported may have any number of styles applied to it as I mentioned above. Once the spelling replacement occurs, all the formatting is wiped out for the entire text area.
Any thoughts?
-Jason Kringen

Just to give some more details, here's the TextFlow output from our TextArea before using the spell check word replacement:
<TextFlow columnCount="inherit" columnGap="inherit" columnWidth="inherit" lineBreak="inherit" paddingBottom="inherit" paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit" verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008"><p direction="ltr" justificationRule="auto" justificationStyle="auto" leadingModel="auto" paragraphEndIndent="0" paragraphSpaceAfter="0" paragraphSpaceBefore="0" paragraphStartIndent="0" textAlign="start" textAlignLast="start" textIndent="0" textJustify="interWord"><span>Text goes in here. </span><span alignmentBaseline="useDominantBaseline" backgroundAlpha="1" backgroundColor="transparent" baselineShift="0" breakOpportunity="auto" cffHinting="horizontalStem" color="#000000" digitCase="default" digitWidth="default" dominantBaseline="auto" fontFamily="Arial" fontLookup="embeddedCFF" fontSize="28" fontStyle="normal" fontWeight="bold" kerning="auto" ligatureLevel="common" lineHeight="120%" lineThrough="false" locale="en" renderingMode="cff" textAlpha="1" textDecoration="none" textRotation="auto" trackingLeft="0" trackingRight="0" typographicCase="default">misspeled</span><span> jhkjd het </span></p></TextFlow>
And here is the TextFlow output immediately after replacing a misspelled word:
<TextFlow columnCount="inherit" columnGap="inherit" columnWidth="inherit" lineBreak="inherit" paddingBottom="inherit" paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit" verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008"><p><span>Text goes in here. misspeled jhkjd get </span></p></TextFlow>
So it's obviously stripping out all of the TLF formatting and simply leaving the blank <p> and <span> tags without any of the formatting details.

Similar Messages

  • Using Validator with mx:ComboBox causes it to auto-close

    I've recently ported a 3.x flex app to Flex 4. I've run in to a bug that causes all mx:ComboBoxes to close the first time the user attempts to open the drop down list. Subsequent attempts to open the box work fine.
    Example:
    <mx:ComboBox id="typeId" dataProvider="{fMechanismTypes}"
                                 labelField="name" prompt="Select..."
                                 change="handleTypeChange( )"
                                 creationComplete="initTypeValidator();"
                                 focusOut="tabValidationCheck()"/>
    private function initTypeValidator():void {
                fTypeValidator.source = typeId;
                fTypeValidator.property = "selectedIndex";
                fTypeValidator.minValue = 0;
                fTypeValidator.lowerThanMinError = "This field is required.";
    If I don't initialize fTypeValidator, the combobox works correctly.
    Anyone experience this?

    It appears a Flex ComboBox and a String Validator with the properties of being required as true, and the property of text, forces the ComboBox to close when selecting an item via the keyboard.  This auto close only happens when making the initial selection from the initial empty string or 0 index.  After a valid selection has been made, the user is able to use the keyboard to select any other values, and the ComboBox display remains open.  I have attempted to write my own ComboBox class that extends the Flex ComboBox, which would do custom open and close functionality, however I have been unsuccessful.  My goal is to have this ComboBox remain open during Keyboard input.  If the StringValidator required property is set to false, the box does not auto close.
    Any help on this topic would be greatly appreciated.
    And here is a sample of my code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"  layout="absolute" minWidth="955" minHeight="600" creationComplete="init();">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                [Bindable]private var _comboBoxDataProvider:ArrayCollection;
                private function init():void {
                    _comboBoxDataProvider = new ArrayCollection();
                    _comboBoxDataProvider.addItemAt('', 0);
                    for(var i:int = 0; i < 6; ++i) {
                        var obj:Object = {};
                        obj.labelField = String(i);
                        _comboBoxDataProvider.addItem(obj);
                    comboBoxValidator.validate();
            ]]>
        </mx:Script>
        <mx:StringValidator id="comboBoxValidator"
            required="true"
            source="{comboBox}" requiredFieldError="Empty Field Error"
            property="text"
            />
        <mx:ComboBox  id="comboBox" width="150"
        dataProvider="{_comboBoxDataProvider}"
        labelField="labelField"
        selectedIndex="0"  />
    </mx:Application>

  • Why can I not use LR4 with my new camera raw format?

    My new camera raw format is unrecognizable with LR4. Anyway around this?

    Yes use the Adobe DNG converter to convert the proprietary raw files to DNG raw files. Then LR4 will be able to read them.
    The Adobe converter is free.

  • Using java.lang.Float.class causing Cannot format given Object as a Number

    hi,
    I have table and its model is default table model.
    model = new javax.swing.table.DefaultTableModel(data,col) {Class[] types = new Class [] {
                    java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Float.class,  java.lang.Integer.class
                }; public Class getColumnClass(int columnIndex) {
                    return types [columnIndex];
                }};I want to force the user to enter float number to fourth column and integer number to fifth column. but I am gettin an error "Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Cannot format given Object as a Number" like this. cause of this error is "java.lang.Float.class". and when I use Integer instead of Float the is no problem. Could you please help ?

    It depends on model data.

  • Issue with rightclicking in a text area which uses Squiggly

    Hi,
    I have found an issue with using squiggly in a TextArea component.
    I was able to simulate the same in the demo url . http://labs.adobe.com/technologies/squiggly/demo/#
    The issue is when I enter a random text like "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" and then when I do a right click on the text area,
    I get an exception as shown below.
    TypeError: Error #1010: A term is undefined and has no  properties.
    at  com.adobe.linguistics.spelling.core::SuggestionManager/nsuggest()[C:\squiggly\esg\squiggl y\main\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\core\SuggestionManager.as:20 1]
    at  com.adobe.linguistics.spelling.core::SquigglyEngine/suggest()[C:\squiggly\esg\squiggly\ma in\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\core\SquigglyEngine.as:285]
    at  com.adobe.linguistics.spelling::SpellChecker/getSuggestions()[C:\squiggly\esg\squiggly\ma in\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\SpellChecker.as:145]
    at  com.adobe.linguistics.spelling.ui::HaloWordProcessor/getSuggestionsAtPoint()[C:\squiggly\ esg\squiggly\main\AdobeSpellingUI\src\com\adobe\linguistics\spelling\ui\HaloWordProcessor. as:49]
    at  com.adobe.linguistics.spelling.ui::SpellingContextMenu/handleContextMenuSelect()[C:\squig gly\esg\squiggly\main\AdobeSpellingUI\src\com\adobe\linguistics\spelling\ui\SpellingContex tMenu.as:124]
    So is there any fix for the above error or a workaround for this.
    This has been filed as bug in an application I am working on.
    regards,
    Anup Francis

    Thank you for reporting this issue.
    I was unable to reproduce this problem under the following configurations:
    Mac OSX 10.6.3, Flash 10.0.42.34, Firefox 3.6.3
    Windows XP, Flash 10.0.45.2, IE 8.0.6001
    Windows XP, Flash 10.1.53.21, Firefox 3.6.3
    Could you provide more details about the software configurations you have that reproduces this problem?
    Also, is there a specific location you click in the TextArea?  On the word?  On white space?
    Thanks,
    - Bruce, Adobe

  • Modules with Halo Theme causes errors in other modules with Spark theme

    Hi,
    We have a large application which calls several modules, some old and some new.
    Most modules and the main App are using only MX components and were styled based on default mx theme, thus we want to compile these modules with the flag to use the old Halo theme.
    But when we did this our new module that contains spark components (Which isn't compiled with this flag) couldn't find the default skin for the spark components.
    Using the -keep-all-type-selectors flag didn't work in this case.
    Only when we removed the Halo theme flag from other modules and main app it worked.
    Is there any other option?
    Because using the old modules with spark theme causes major change in the appearance of our application.
    Thanks,
    Dafna.

    I think if you mix themes you'll need to specify more styles on the
    non-default theme because the set of globals and other defaults will be
    different.

  • Can I use WMP10 with a ZM 1.02.05?..and some questi

    Hi, I'd like to know if it's safe to use WMP0 with .02.05. I formatted my computer and installed a fresh copy of Windows XP and I don't really want to install the Creative software. It isn't bad, I just would like to try WMP0 for now.
    Is WMP0 like ZM explorer, where I can edit the tags, by selecting some songs and replacing a specific tag (like Artist) and it will change all the songs, instead of one? Sorry if that sounded confusing...
    Also, should I wait until the new firmware comes out that supports PlaysForSure and the other features? I ask this because I plan on formatting my Zen Micro aswell since I want to start over and I have songs on there, I don't really listen to. How long will it take for the new firmware to be released?
    Well, thanks for any help, it's greatly appreciated!Message Edited by adobozen on 05-05-2005 03:48 AM

    adobozen wrote:Hi, I'd like to know if it's safe to use WMP0 with .02.05. I formatted my computer and installed a fresh copy of Windows XP and I don't really want to install the Creative software. It isn't bad, I just would like to try WMP0 for now.
    Yes, it works fine.
    Is WMP0 like ZM explorer, where I can edit the tags, by selecting some songs and replacing a specific tag (like Artist) and it will change all the songs, instead of one? Sorry if that sounded confusing...
    I'm pretty sure it can be used to edit tags, but I'm not sure that it will do this. Try and see
    Also, should I wait until the new firmware comes out that supports PlaysForSure and the other features? I ask this because I plan on formatting my Zen Micro aswell since I want to start over and I have songs on there, I don't really listen to. How long will it take for the new firmware to be released?
    If you're updating from one v2 firmware to another I doubt you will have to format. So why not install the beta now, and then update when it comes out.

  • HT1335 My ipod classic have no software and I am stuck with it. It was formatted for apple but I use windows 8.  Please help. Thanks in advance.

    My ipod classic have no software and I am stuck with it. It was formatted for apple but I use windows 8.  Please help. Thanks in advance.

    Hello there, DrDhillon.
    The following Knowledge Base article goes over the steps that will help you resolve your issue:
    Restoring iPod to factory settings
    http://support.apple.com/kb/HT1339
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How can i format my external hard drive to write files from Mac without loosing the files that i alredy have on my external hard when i used it with windows?

    How can i format my external hard drive to write files from Mac without loosing the files that i alredy have on my external hard when i used it with windows?
    I have been using Windows to write files to my 1TB WD external hard drive and I do not want to format to loose the files capacity of around 500GB
    Someone, Please help

    Hi Allen,
    Is there any way to store the back up to Mac and restore after formating?

  • Able to install the .ipa signed with distribution certificate using iTunes on MacBook Pro. where as the when tried to install using iTune on PC is causing a problem

    Able to install the .ipa signed with distribution certificate using iTunes on MacBook Pro. where as the when tried to install using iTune on PC is causing a problem

    The sound input going to the mic is not going to pipe through the speakers like that.  It doesn't do it because it would cause a feedback loop on itself.  The mic input will take sound and output it to a program or to another pathway (like a VoIP or Facetime call, etc.) but it won't behave like a Karaoke machine if that's what you're thinking.

  • Hi I have a macbook pro version 10.6.7 I cant install tunes 12 .and Ihave a i phone4, i cant use it with Itunes 10,,,I delete Itunes10,and now I cant use my Iphone with my macbook cause I don't have the correct version of Itunes

    this is my problem ...I have a macbook pro version 10.6.7  and I cant install tunes 12 ....Ihave a i phone4, i cant use it with Itunes 10,,,I delete Itunes10,and now I cant use my Iphone with my macbook cause I don't have the correct version of Itunes,,,what is the version of Itunes i need to install?? i need it for my iphone 4 and my macbook 10.6.7

    Run the Software Update pane of System Preferences or click here.
    (121029)

  • With IE I have multiple formats such as MP4 that I can use to D/L you tube music videos but with Mozilla it has me load Adobe Flash which I already had and then I can only D/L utiliaing the FLV format - I want multiple options as I have in IE - help?

    With IE I have multiple formats such as MP4 that I can use to D/L you tube music videos but with Mozilla it has me load Adobe Flash which I already had and then I can only D/L utiliaing the FLV format - I want multiple options as I have in IE - help?

    And what is the point of all this? CS3 is now 7 years old and Office 2003 just the same. Yes, sometimes software has bugs and compatibility issues. Beyond there is nothing here to discuss on either end, given the circumstances...
    Mylenium

  • I want to password protect an external dvd. I try using disc utility, but it won't format with encryption as it claims in the Help instructions. I am using Lion. Any ideas?

    I want to password protect an external dvd. I try using disc utility, but it won't format with encryption as it claims in the Help instructions. I am using Lion. Any ideas?
    Using Disk Utility, I select the disc image that contains the data that I want to backup to a DVD and select Burn. The program asks that a blank DVD be inserted.  When I do that, no format pop-up appears as is indicated in the Help instuctions.  If I procede with the burn, there is no password protection.  Before I converted to Lion, I used to use Disk Utility to burn backup DVDs without any problems.

    AFAIK, you create an encrypted disk image and burn that to DVD. There's nothing else to do, but I might be mistaken.

  • Error occurred while finding users using API with custom field

    Hi All,
    I am getting the following error while searching user using API with custom attribute. Did anybody faced the same problem before ?
    Hashtable<Object,Object> env = new Hashtable<Object,Object>();
    env.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
    env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, "t3://localhost:14000");
    System.setProperty("java.security.auth.login.config","C:\\Oracle\\Middleware\\Oracle_IDM1\\designconsole\\config\\authwl.conf");
    System.setProperty("OIM.AppServerType", "wls");
    System.setProperty("APPSERVER_TYPE", "wls");
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env, "xelsysadm", "Weblogic123$");
    OIMClient client = new OIMClient(env);
    client.login("xelsysadm", "Weblogic123$".toCharArray());
    SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
    tcUserOperationsIntf moUserUtility = (tcUserOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    Hashtable mhSearchCriteria = new Hashtable();
    mhSearchCriteria.put("USR_UDF_ACTUALSTARTDATE",formatter.format(date));
    tcResultSet moResultSet = moUserUtility.findAllUsers(mhSearchCriteria);
    printTcResultSet(moResultSet,"abcd");
    log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
    log4j:WARN Please initialize the log4j system properly.
    Exception in thread "main" Thor.API.Exceptions.tcAPIException: Error occurred while finding users.
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_1036_WLStub.findAllUsersx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at com.sun.proxy.$Proxy2.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntfDelegate.findAllUsers(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    at com.sun.proxy.$Proxy3.findAllUsers(Unknown Source)
    at oim.standalone.code.OIMAPIConnection.usersearch(OIMAPIConnection.java:209)
    at oim.standalone.code.OIMAPIConnection.main(OIMAPIConnection.java:342)
    Caused by: Thor.API.Exceptions.tcAPIException: Error occurred while finding users.
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.findAllUsers(tcUserOperationsBean.java:4604)
    at Thor.API.Operations.tcUserOperationsIntfEJB.findAllUsersx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1614.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy347.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Thank you

    Hi J,
    Thanks for the reply. But the code is working fine for OOTB attributes and  for 11g API i am getting permission exception
    Exception in thread "main" oracle.iam.platform.authz.exception.AccessDeniedException: You do not have permission to search the following user attributes: USR_UDF_ACTUALSTARTDATE.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.search(UserManagerImpl.java:1465)
    at sun.reflect.GeneratedMethodAccessor1034.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy366.search(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManagerEJB.searchx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1449.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy365.searchx(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.searchx(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: oracle.iam.identity.exception.SearchAttributeAccessDeniedException: You do not have permission to search the following user attributes: USR_UDF_ACTUALSTARTDATE.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.search(UserManagerImpl.java:1462)
    ... 44 more

  • How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values?

    How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).

    How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).

Maybe you are looking for

  • Problem with ActionListener

    Hi i have coded a button and added a Actionlistner that when the button is pressed then it should repaint the dice.but I don't know why it is not working. here i my code import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.s

  • Follow up task without using the action profile

    Hi, Is it possible to create the follow up task without using the action profile? If so, please let me know how we can do that? as per the requirements, i have to the custom coding that will automatically create follow-on task triggered by status cha

  • How do I uninstall Adobe Bridge CC on one computer so that it can be installed on another computer?

    How do I uninstall Adobe Bridge CC on one computer so that it can be installed on a new computer?

  • Time Machine read only error & dissapears

    I have been running time machine on a MacBookPro MacOS x 10.5.8 for 2 years. Last week for the first time I got the "External Drive is Read Only" error. I followed the instructions in Troubleshooting on verify and repair but it didn't work (details b

  • Set Date & Time Automatically

    I have an Airport Extreme tied to a cable modem. I also have an Airport Express setup using WDS (remote base station). On both the Exteme and the Express I have checked "Set Data & Time Automatically" and selected "time.apple.com". The Extreme finall