Add thousand separator as user types

Dear all,
Is there anyway we add a thousand separator on the TextInput
as user is typing a number there? Could anybody give me a hint on
how to do this?
Thanks in advance.

number formatter class has thousand separator on by default,
so let's create one instance of it:
<mx:NumberFormatter id="nfWithThousandSep"/>
I did the formatting on valueCommit event:
<mx:TextInput id="from" width="70" textAlign="right"
valueCommit="this.from.text =
nfWithThousandSep.format(this.from.text)"/>
you might want to do the same thing on key down or up.
ATTA

Similar Messages

  • I want to ask a question. I have an iphone 4.and I need to add thousands words into user dictionary.I means the general keyboard user dictionary.

    I want to add thousands words into user dictionary on MAC operate system .then sync it to iphone.
    is it possible?

    AFAIK, the system dictionary is not one of the items syncronized between the two devices when using iTumes for that purpose.

  • Thousand separator in RFC-type-based field

    Hi everybody,
    I am developing a WDPJ application where every input field is bound to an R/3 RFC data type.
    An automatic validation is performed on the data type (i.e. if the user types 'hello' in a numeric field an error is displayed).
    I would like the field to automatically validate also thousand separators just as in standard R/3 transaction (i.e.: 3.000 is ok, 3.00 is not ok, where thousands separator is dot). Actually the validation simply ignores the thousand separator if not in the proper position (3.00 becomes 300).
    Can anyone please help?
    Thanks in advance, points will be awarded
    Vincenzo

    Hi,
    I assume that you have already written some validation code for this field in Webdynpro Java. If your requirement is to validate the number of zeros after the . then you can user StringTokenizer or String.split() and find the number of digits after the thousand separator.
    regards
    Srini

  • Help - Add Thousand Separator to Whole Number

    I am unable to figure out how to add a thousand separator to a whole number.  I guess removing the decimal places from a decimal number would work as well.  It is driving me insane.  Example - I have a decimal number 1,299.00 that
    I would like to show as 1,299.  If I change it to a whole number it shows 1299.  I can't find where to show the thousand separator and make it 1,299.
    Thanks,
    Mark
     

    Hi Mark,
    Thanks for your feedback. We're working to enable formatting capabilities in our reports and this would be a good example of a formatting option that we would offer.
    Please leave us a vote for this or any other feature that you would like to see in Power BI, in our UserVoice forum:
    http://support.powerbi.com/forums/265200-power-bi
    Thanks,
    M.

  • Unknown User Type Error using Add-AzureAccount

    Using the following code in an Azure automation runbook from the Portal (attempting to start a VM):
    workflow VMStart
    $Cred = Get-AutomationPSCredential –Name automationuser
    Add-AzureAccount -Credential $Cred
    Select-AzureSubscription -SubscriptionName "MySubscription"
    Start-AzureVM -ServiceName "MyServiceName" -Name "MyVirtualMachine" -force
    I get the following errors in the Output Pane:
    1/15/2015 4:53:09 PM, Error: Add-AzureAccount : unknown_user_type: Unknown User Type
    At VMStart:7 char:7
    +
    + CategoryInfo : CloseError: (:) [Add-AzureAccount], AadAuthenticationFailedException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.AddAzureAccount
    1/15/2015 4:53:10 PM, Error: Select-AzureSubscription : The subscription named 'MySubscription' cannot be found. Use Set-AzureSubscription to
    initialize the subscription data.
    Parameter name: name
    At VMStart:9 char:9
    +
    + CategoryInfo : CloseError: (:) [Select-AzureSubscription], ArgumentException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.SelectAzureSubscriptionCommand
    1/15/2015 4:53:10 PM, Error: Start-AzureVM : A parameter cannot be found that matches parameter name 'force'.
    At VMStart:11 char:11
    +
    + CategoryInfo : InvalidArgument: (:) [Start-AzureVM], ParameterBindingException
    + FullyQualifiedErrorId :
    NamedParameterNotFound,Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.StartAzureVMCommand
    I can't find any information on the "Unknown User Type" error.
    Any ideas?
    Thanks,
    Scott

    Hi Joe -
    I attempted to install the Azure Powershell using the instructions here:
    http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/
    Upon completion I was unable to find Azure Powershell from Start/Programs:
    I then attempted to re-install Azure Powershell.  Initially, it came up with the error: "There was an error loading custom feed: 'http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml'. Error: 'ProductId PHP not found.'."
    I clicked OK and WPI indicated that the Azure Powershell would be installed.  I clicked INSTALL and WPI showed Azure Powershell in the list, but the Total File Download size was 0MB.  I clicked I ACCEPT and it immediately blinked back that Azure
    Powershell was installed.
    When I clicked FINISH, however, the following was displayed:
    Here is the the log file from the latest attempt:
    DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9842185
    DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9842185 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Found
    Cache-Control: private
    Content-Length: 175
    Content-Type: text/html; charset=utf-8
    Expires: Fri, 16 Jan 2015 17:18:12 GMT
    Location: https://www.microsoft.com/web/webpi/5.0/webproductlist.xml
    Server: Microsoft-IIS/8.5
    X-AspNet-Version: 2.0.50727
    X-Powered-By: ASP.NET
    Date: Fri, 16 Jan 2015 17:19:11 GMT
    DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webproductlist.xml responded with 304
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 304 Not Modified
    Content-Type: text/xml
    Last-Modified: Thu, 15 Jan 2015 19:17:09 GMT
    ETag: "246ac1dbf730d01:0"
    Cache-Control: max-age=280
    Date: Fri, 16 Jan 2015 17:19:12 GMT
    Connection: keep-alive
    X-CCC: US
    X-CID: 2
    DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\1343597488.xml.temp
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml
    DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml responded with 304
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 304 Not Modified
    Content-Type: text/xml
    Last-Modified: Fri, 17 Oct 2014 12:44:38 GMT
    ETag: "97c9cd1c8eacf1:0"
    Cache-Control: max-age=296
    Date: Fri, 16 Jan 2015 17:19:14 GMT
    Connection: keep-alive
    X-CCC: US
    X-CID: 2
    DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-97141593.xml.temp
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-97141593.xml'
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml
    DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml responded with 304
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 304 Not Modified
    Content-Type: text/xml
    Last-Modified: Thu, 08 May 2014 18:42:31 GMT
    ETag: "26a51545ed6acf1:0"
    Cache-Control: max-age=372
    Date: Fri, 16 Jan 2015 17:19:15 GMT
    Connection: keep-alive
    X-CCC: US
    X-CID: 2
    DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-230948881.xml.temp
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-230948881.xml'
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml
    DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml responded with 304
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 304 Not Modified
    Content-Type: text/xml
    Last-Modified: Tue, 21 Oct 2014 20:26:36 GMT
    ETag: "247eed4f6dedcf1:0"
    Cache-Control: max-age=278
    Date: Fri, 16 Jan 2015 17:19:15 GMT
    Connection: keep-alive
    X-CCC: US
    X-CID: 2
    DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-1135381691.xml.temp
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1135381691.xml'
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml
    DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml responded with 304
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 304 Not Modified
    Content-Type: text/xml
    Last-Modified: Thu, 08 May 2014 18:42:32 GMT
    ETag: "8285645ed6acf1:0"
    Cache-Control: max-age=60
    Date: Fri, 16 Jan 2015 17:19:15 GMT
    Connection: keep-alive
    X-CCC: US
    X-CID: 2
    DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-1877981721.xml.temp
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1877981721.xml'
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://go.microsoft.com/?linkid=9842185' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1343597488.xml'
    DownloadManager Information: 0 : Loading product xml from: http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '14692'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '104283'
    DownloadManager Information: 0 : Failed to load the feed 'http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\883561549.xml.err'
    DownloadManager Error: 0 : Error loading downloaded product file: 'System.InvalidOperationException: ProductId PHP not found.
    at Microsoft.Web.PlatformInstaller.DependencyProduct.ResolveProductIds(ProductManager pm)
    at Microsoft.Web.PlatformInstaller.DependencyLogicalAnd.ResolveProductIds(ProductManager pm)
    at Microsoft.Web.PlatformInstaller.Product.ResolveIDs()
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXmlInternal(LineInfoDocument xmlDoc, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(LineInfoDocument document, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 osType)'
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '14692'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '104283'
    DownloadManager Information: 0 : Failed to load the feed 'http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\883561549.xml.err'
    DownloadManager Error: 0 : Error loading feed http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml: System.InvalidOperationException: ProductId PHP not found.
    at Microsoft.Web.PlatformInstaller.DependencyProduct.ResolveProductIds(ProductManager pm)
    at Microsoft.Web.PlatformInstaller.DependencyLogicalAnd.ResolveProductIds(ProductManager pm)
    at Microsoft.Web.PlatformInstaller.Product.ResolveIDs()
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXmlInternal(LineInfoDocument xmlDoc, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(LineInfoDocument document, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 osType)
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadExternalFile(Uri uri)
    at Microsoft.Web.PlatformInstaller.ProductServiceImpl.LoadProducts(String primaryFeed, String[] feeds)
    DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395
    DownloadManager Information: 0 : Contextual entry products: WindowsAzurePowerShell
    DownloadManager Information: 0 : Adding product Microsoft Azure PowerShell with Microsoft Azure SDK (WindowsAzurePowershell) to cart
    DownloadManager Information: 0 : Contextual navigation to product 'WindowsAzurePowershell'
    DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Found
    Cache-Control: private
    Content-Length: 203
    Content-Type: text/html; charset=utf-8
    Expires: Fri, 16 Jan 2015 17:18:17 GMT
    Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery
    Server: Microsoft-IIS/8.5
    X-AspNet-Version: 2.0.50727
    X-Powered-By: ASP.NET
    Date: Fri, 16 Jan 2015 17:19:16 GMT
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '22570'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '75392'
    DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
    DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
    DownloadManager Information: 0 : Ratings file loaded successfully
    DownloadManager Information: 0 : Dependent product WindowsAzurePowershellOnly does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product WindowsManagementFramework_86_64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product WindowsAzurePowershellOnly does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product WindowsManagementFramework_86_64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product WindowsAzurePowershellOnly does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product WindowsManagementFramework_86_64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Adding product 'WindowsAzurePowershell'
    DownloadManager Information: 0 : Setting current install to 1
    DownloadManager Information: 0 : Starting install sequence
    DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure PowerShell with Microsoft Azure SDK'. Commandline is: 'C:\Windows\system32\cmd.exe /C echo noop'. Process Id: 5308
    DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure PowerShell with Microsoft Azure SDK' is '0'
    DownloadManager Information: 0 : Install return code for product 'Microsoft Azure PowerShell with Microsoft Azure SDK' is Success
    DownloadManager Information: 0 : Product Microsoft Azure PowerShell with Microsoft Azure SDK done install completed
    DownloadManager Information: 0 : Increasing current install to 2
    DownloadManager Information: 0 : Product: WindowsAzurePowershell, Install Status: InstallCompleted-Success, Install Time: 00:00:00.0560000
    DownloadManager Information: 0 : Clearing cart
    I did attempt to open the regular Powershell and use the command Get-AzureVM, but the following error was returned:
    The term 'Get-AzureVM' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
    spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:12
    + Get-AzureVM <<<<
    + CategoryInfo : ObjectNotFound: (Get-AzureVM:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    Any advice appreciated...
    Thanks,
    Scott

  • Add/Update user-type (Custom types) .jar while the server is still running

    Hi!
    I'm connecting from a .NET App to the cache server so I have to create the java version of my user-types, I compile this classes into a jar file and I send that in to the class path when the server starts:
    %JAVA_EXEC% -server -showversion %JAVA_OPTS% %SYS_OPTS% -cp "config;_*lib\custom-types.jar*_;%COHERENCE_HOME%\lib\coherence.jar" com.tangosol.net.DefaultCacheServer %1
    What happen if I want to add a new custom type while the serer is still running ? Do I just have to replace the jar file ? is this going to be reflected on the server since it is already running.
    If I have to stop the server then what should I take in to account to avoid data losing ?
    Thanks for your help in advance.

    Hi,
    Yes, using all the default out of the box Coherence POF support, you would need to restart the cluster to pick up any changes.
    Do you really need the Java classes on the server side? Depending on what server side functionality you are using you might not actually need Java representations of the .Net classes. For example, if these are you entities that are being cached and you are never calling code that deserialises them, then there is no need for Java classes.
    You could potentially write your own implementation of a POF Serializer (PofContext) that is used on the server side that can dynamically add and change classes.
    JK

  • Amount field with thousand separator

    Hi friends,
    i want to display amount field (5794.00)with thousand separator as (5,794.00).
    i defined amount field as character data type for my requirement.
    user want to see this value with thousan separator.
    Please help me hoe can i get thousand separator.
    Thanks
    ramesh

    Hi Ramesh,
    There is two functions for converting display currentcy
    CURRENCY_AMOUNT_SAP_TO_DISPLAY
    Convert currency value from value stored in SAP to displayed currency
    CURRENCY_AMOUNT_DISPLAY_TO_SAP
    Convert currency value from displayed currency value to value stored in SAP
    Try below,
    DATA declaration
    WMTO_S-AMOUNT =  Type DEC :: length 15 :: Deciamls 4
    parameter: p_discur like TCURC-WAERS,     "Display currency
               p_intval like WMTO_S-AMOUNT.   "Internal Amount
    data:      gd_disval  like WMTO_S-AMOUNT. "Display Amount
    *Start-of-selection.
    START-OF-SELECTION.
    CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_DISPLAY'
         EXPORTING
              currency        = p_discur
              amount_internal = p_intval
        IMPORTING
             AMOUNT_DISPLAY   = gd_disval
        EXCEPTIONS
             INTERNAL_ERROR   = 1
             OTHERS           = 2.
    IF sy-subrc EQ 0.
    You are now able to manipulate the returned value.
                            I.e. Convert it to GBP
    Without using this function module you would only be manipulating the
    SAP stored value, which is often missing a number of zeroes.
          I.e. 28000 JPY is stored within SAP as 280.
    ENDIF.
    *End-of-selection.
    END-OF-SELECTION.
    write:/(30)  'Value stored in SAP:', p_intval,
          /(30)  'Displayed currency:',  p_discur,
          /(30)  'Ammount is displayed Currency:', gd_disval.
    Hope it help
    Wiparat

  • Custom thousand separator for decimal values.

    Hello esperts,
    I have a a WD app with a decimal context attribute, I have already a Simple Type that formats the decimal so the thousand separator is a coma (,) and the decimal separator is the dot (.)
    I want to know if it is possible to change the thousand separator to dot and the decimal separator to comma without changing the user's language. Or even use whatever character I want to be the thousand separator e.g. @ | ¬ whithout changing the data type (decimal).
    Thanx in advance.
    JV

    Hi Siarhei,
    I dont want to use calculated fields, nor strings because I need the values of the decimal attribute. I will be desplaying these decimal values through a table and sorting functionality is a must. So as you should know, if I have 1, 2, 3, 20 and 100 and convert them to string, on sort it will be incorrect because of string sorting ( 1, 100, 2, 20 and 3).
    Basically my requirement is to be able to change the decimal presentation without changing the user's locale or language. I don't know if that's possible.
    Say, I select an option on my application that says "comma separated thousands", the decimal values will be presented this way ###,###,###,###.00 or when the user selects the option "dot separated thousands", the decimal values will be presented like this ###.###.###.###,00. I already tried to format the last reprersentation but I get java.lang.IllegalArgumentException: Malformed pattern. I have already checked the DecimalFormat API, so I know the pattern is incorrect, still I'm looking if by chance I'm forgeting something else to do in order the application to work as I spect.
    Thanks!
    JV

  • Please help!  Can't make commas (thousands separator) appear in numbers

    I open Pages. I type in a number (123456). While cell is still selected, I open Inspector and select Cell Format = Number. I then check the Thousands Separator checkbox. It does NOT put commas in my number.
    Any help greatly appreciated!

    A couple of thoughts:
    First, make sure you have US formatting as the default for numbers (not the program Numbers) in System Preferences > International > Formats.
    In the table inspector click on Format & make sure the cell is formatted to number & press Enter/Return/Tab to move out of the cell & see if it "takes" then.
    If none of that works, it could be corrupt preferences. Quit Pages & then delete the com.apple.iwork.pages.plist file found in HD > Users > (your account) > Library > Preferences.
    Fruhulda,
    The thousands separator in the US (where the OP is) is a comma & the decimal is a period/full stop/dot.
    Message was edited by: Peggy

  • When add a people picker (user column) in Word document (Template) and try to add a name it stuck!

    When add a people picker (user column) in Word document (un the document Template) and try to add a name it stuck!
    Is it a known issue?
    keren tsur

    Hi,
    According to your description, I have tested in my environment and I  have the same behavior.
    Only if you type the wrong name in the first time, then you click the phone book to search the right name and save, it will stuck. It means if you do other operation(e.g. type the wrong name then click “resolve” button, then search in the phone book) and
    repeat the operation above, it won’t stuck.
    It is appreciate that you can submit a feedback to Microsoft:
    https://connect.microsoft.com/
    Thanks,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to authenticate multiple user types in WLPortal7

    We're using WL Portal SP2, so we're running in compatibility mode.
    We'll have a number of different user types accessing our portal. Regular users
    only need present a username/password pair. Users with additional privileges will
    have an extra PIN code to supply to gain access to extra resources.
    We seem to have two approaches to develop, I was wondering which seems the best?
    1. Have 2 authentication providers for the realm, the second taking all 3 credentials
    We look at the name/password decide (how???) that a particular user needs to supply
    a third credential before calling Authenticate which uses both providers to make
    a decision. But we almost need to know aspects of the customer profile in order
    to prompt for the PIN.
    Can you call authenticate more than once if different credentials are supplied
    after login? If so how do you get the different providers to set different principals
    in the subject? And also, how do you specify the sequence in which the providers
    are called?
    2. All users authenticate the standard way with username/password. After login
    we look up a profile type and if that says so, gather and check the PIN code.
    This seems a lot simpler but we have to put in place all our own PIN checking
    outside the security framework, which seems to be at odds with JAAS etc.
    Any similar types of requirment out there ?
    Tim

    setting a higher leven node where all the needed nodes for the users meet definately works, but its exactly what I am trying to avoid, since directory is large and it has hundreds of nodes and we only need two of them , I have tried adding two openLDAP authenticators, but it then breaks both and NONE of the members are able to login anymore, I think it has to do with settings for control flags ? I have both set to SUFFICIENT? is that the reason? if I have only one openLDAP, SUFFICIENT works fine,as soon as I add one more openLDA authenticatior users do get pulled fine from both of them, but neither of them get authenticated any more;( can anyone sugges on better combination?

  • "unknown user type" exception when the object don't exist for i/p key.

    Hi
    I'm using Coherence REST service(comes with the Coherence bundle) to validate my cache data.
    When I hit the cache for a valid key, I get data returned back. But for the object that don't exist in the cache I get "Internal Server" error.
    I'm fine with "Internal Server" response show in the browser, but I don't want it to be printed as part of my coherence logs.
    For example, when I hit the REST url for key that don't exist in the cache, I get below exception in coherence logs.
    How can I get rid off it (or) suppress the exception logs.
    Thanks for your time.
    (Wrapped) java.io.IOException: unknown user type: com.tangosol.coherence.rest.internal.Get
         at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
         at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.packetizeMessage(PacketPublisher.CDB:23)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher$InQueue.add(PacketPublisher.CDB:11)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.dispatchMessage(Grid.CDB:62)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.post(Grid.CDB:31)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.send(Grid.CDB:1)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:13)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.invoke(PartitionedCache.CDB:30)
         at com.tangosol.util.ConverterCollections$ConverterInvocableMap.invoke(ConverterCollections.java:2282)
         at com.tangosol.util.ConverterCollections$ConverterNamedCache.invoke(ConverterCollections.java:2748)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.invoke(PartitionedCache.CDB:11)
         at com.tangosol.coherence.component.util.SafeNamedCache.invoke(SafeNamedCache.CDB:1)
         at com.tangosol.coherence.rest.EntryResource.getValue(EntryResource.java:241)
         at com.tangosol.coherence.rest.EntryResource.get(EntryResource.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:616)
         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
         at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
         at com.sun.jersey.server.impl.container.httpserver.HttpHandlerContainer.handle(HttpHandlerContainer.java:191)
         at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:83)
         at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
         at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:86)
         at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:589)
         at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:83)
         at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:561)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
         at java.lang.Thread.run(Thread.java:679)
    Caused by: java.io.IOException: unknown user type: com.tangosol.coherence.rest.internal.Get
         at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:351)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.writeObject(Service.CDB:1)
         at com.tangosol.coherence.component.net.Message.writeObject(Message.CDB:1)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeRequest.write(PartitionedCache.CDB:7)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.serializeMessage(Grid.CDB:14)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.packetizeMessage(PacketPublisher.CDB:17)
         ... 42 more
    Caused by: java.lang.IllegalArgumentException: unknown user type: com.tangosol.coherence.rest.internal.Get
         at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:430)
         at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:419)
         at com.tangosol.io.pof.PofBufferWriter.writeUserType(PofBufferWriter.java:1671)
         at com.tangosol.io.pof.PofBufferWriter.writeObject(PofBufferWriter.java:1623)
         at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:345)
         ... 47 more

    Hi,
    I included coherence-rest-pof-config.xml as part of my pof-config as shown below.
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
    xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config coherence-pof-config.xsd">
    <user-type-list>
    <include>coherence-pof-config.xml</include>
    <include>coherence-rest-pof-config.xml</include>
    <user-type>
    <type-id>1001</type-id>
    I also checked my coherence-rest.jar files for the configuration and the clasess, and all of them exist.
    I started my coherence by passing the classpath as below:
    $JAVAEXEC -server -Xms6g -Xmx6g -XX:+UseParNewGC -XX:MaxGCPauseMillis=50 -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:CMSInitiatingOccupancyFraction=25 -XX:MinHeapFreeRatio=40 -XX:MaxHeapFreeRatio=70 -Duser.timezone=GMT -Djava.rmi.server.hostname=xx.xx.xx.xx -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=13366 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dtangosol.coherence.log.level=3 -Dtangosol.coherence.log=log4j -showversion $JAVA_OPTS -cp $COHERENCE_HOME/config/:$COHERENCE_HOME/lib/coherence.jar:$COHERENCE_HOME/lib/guidecacheclient.jar:$COHERENCE_HOME/lib/jersey-server-1.8.jar:$COHERENCE_HOME/lib/jersey-core-1.8.jar:$COHERENCE_HOME/lib/jersey-json-1.8.jar:$COHERENCE_HOME/lib/jackson-all-1.8.1.jar:$COHERENCE_HOME/lib/coherence-rest.jar:$COHERENCE_HOME/lib/log4j-1.2.16.jar -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote=true -Dtangosol.coherence.localhost=xx.xx.xx.xx -Dtangosol.coherence.mode=eval com.tangosol.net.DefaultCacheServer $1
    While starting, I'm getting configuration missing exception as shown below. What am I still missing.
    Exception in thread "main" (Wrapped) (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") java.lang.IllegalStateException: Missing PofSerializer configuration (Config=pgs-pof-config.xml, Type-Id=801, Class-Name=com.tangosol.coherence.rest.internal.Get)
         at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:7)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
         at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
         at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
         at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
         at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:1105)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
         at com.tangosol.net.DefaultCacheServer.startServices(DefaultCacheServer.java:81)
         at com.tangosol.net.DefaultCacheServer.intialStartServices(DefaultCacheServer.java:250)
         at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServer.java:55)
         at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
    Caused by: (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") java.lang.IllegalStateException: Missing PofSerializer configuration (Config=pgs-pof-config.xml, Type-Id=801, Class-Name=com.tangosol.coherence.rest.internal.Get)
         at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:46)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.instantiateSerializer(Service.CDB:1)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:32)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:4)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onEnter(Grid.CDB:25)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onEnter(PartitionedService.CDB:19)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:14)
         at java.lang.Thread.run(Thread.java:679)
    Caused by: java.lang.IllegalStateException: Missing PofSerializer configuration (Config=pgs-pof-config.xml, Type-Id=801, Class-Name=com.tangosol.coherence.rest.internal.Get)
         at com.tangosol.io.pof.ConfigurablePofContext.report(ConfigurablePofContext.java:1283)
         at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:1013)
         at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:797)
         at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:322)
         at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:42)
         ... 7 more
    Thanks for your help.

  • How to put SPACE thousands separator

    Hi there, I'm thinking how to format following numbers, eg: (integers)
    150000
    2000000
    and I would like to export them as CSV file from sqldeveloper to MS Excel and displaying them like =>
    (with space separator)
    150 000
    2 000 000
    without Excel (formatting), so since beginning, Excel will see it as number with space thousands separaors
    Could You help me?

    Hi,
    This is an Excel problem. You'll have to do something inside Excel to recognize that column as a number and display it with spaces.
    As you pointed out, Excel's default behavior, when it sees an embedded space in the column, is to treat the column as text.
    Excel's default behavior (at least on my system) is to use ',' as a thousands separator, if it uses a separator at all.
    If that column is going to contain spaces and be treated as a number, then you need to override Excel's defaults.
    This is an Oracle forum You may get lucky, and find someone who knows enough about both Oracle and Excel to solve your problem completely. I'm sorry I don't know enough about Excel to do it for you. The most you can expect from an Oracle forum is for someone to show how to produce a certain type of CSV, but you'll have to spell out exactly what that CSV has to contain.
    For example, if you can find some string of characters that tells Excel "the folloiwng column of the CSV is a number, and should bne displayed with spaces as the thousands separator", then someone in this forum can help you produce that output with that string of characters in Oracle.

  • "Manage Users" IR report displaying incorrect user types

    Home>Administration>Users
    APEX 4.0.2.00.07
    DB 11.2.0.2
    Found a couple of question-raising things:
    1) User type is showing "Workspace Administrator" for almost all users (many are only users) with a couple identified as "Developer" (who really do only have developer privs turned on). If I knew the sql for the IR report I might find the problem - checked wwv_flow_fnd_user and wwv_flow_developers and they both look OK (no recs in wwv_flow_developers for the end users and those with given admin privs are marked as admin, etc.). Did find one dup group name but removing it didn't seem to have an effect.
    2) Trying to find out what is going on I found the second: It appears that if you have assigned more than one group to a user (apex group to apex user), then add the group_name column to the Manage Users IR, you get the "single row subquery returns more than one row".
    Haven't found any other posts here on this. Any ideas?
    Thanks,
    Steve

    Thanks Richard - forgot about the builder import.
    After taking the IR sql and working it I found the following:
    In this apex installation...
    There seems to be a problem with the outer join between wwv_flow_developers and wwv_flow_fnd_user which brings non-null values for d.is_admin and d.is_developer (and for us these are 'Y' if there are no matching records in wwv_flow_developers.
    Changing the decode for DEV_TYPE to use a nvl for d.userid to set all users to end user if they are not in the wwv_flow_developers table fixes the display of user type.
    Now I am guessing this is a data anomaly rather than a bug. Anyone have any ideas on why the outer join to wwv_flow_developers shows a not-null value for is_admin and is_developer?
    Steve
    Here is a mostly-intact version of the region source (I shortened it considerably from the code below to focus on the incorrect USER TYPE display issue):
    select /* APEX4350P55a */
    USER_ID,
    u.user_name "USER",
    u.email_address "eMail",
    u.first_name,
    u.last_name,
    replace(u.default_schema,'%'||'null%',null) df,
    decode(nvl(d.is_developer,'N'),'Y', (select case
    when (wwv_flow_fnd_user_api.workspace_account_days_left(
    wwv_flow_user_api.get_username(user_id)) > 0)
    then m.password_valid
         else m.password_expired
    end expiration from dual),
    m.no_developer_priv) developer,
    decode (nvl(d.is_developer,'N'),'Y',last_login,null) last_login,
    decode (nvl(d.is_developer,'N'),'Y',last_login,null) last_login2,
    decode (nvl(d.is_developer,'N'),'Y',
    nvl(builder_login_count,0),null) builder_login_count,
    decode(nvl(u.account_locked,'N'),'Y',m.yes,m.n)ul,
    case
    when (wwv_flow_fnd_user_api.end_user_account_days_left(
    wwv_flow_user_api.get_username(user_id)) > 0)
    then m.password_valid
    else m.password_expired
    end expiration,
    u.DESCRIPTION,
    u.PASSWORD_LIFESPAN_DAYS,
    u.PASSWORD_LIFESPAN_ACCESSES,
    u.PASSWORD_ACCESSES_LEFT,
    u.LAST_AGENT,
    u.LAST_IP,
    u.ACCOUNT_EXPIRY,
    u.FAILED_ACCESS_ATTEMPTS,
    u.CHANGE_PASSWORD_ON_FIRST_USE,
    u.FIRST_PASSWORD_USE_OCCURRED,
    decode(nvl(d.is_admin,'N'),'Y',
    m.admin,decode(nvl(d.is_developer,'N'),
    'Y',m.dev,m.end_user)) dev_type,
    (select group_id from WWV_FLOW_FND_GROUP_USERS where user_id = u.user_id) group_id,
    (select GROUP_NAME from WWV_FLOW_FND_USER_GROUPS where id = (select group_id from WWV_FLOW_FND_GROUP_USERS where user_id = u.user_id)) group_name,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    CREATION_DATE,
    CREATED_BY,
    nvl(d.developer_type,'END_USER') developer_type,
    decode(nvl(ALLOW_APP_BUILDING_YN,'Y'),'Y',m.yes,m.n) ALLOW_APP_BUILDING,
    decode(nvl(ALLOW_SQL_WORKSHOP_YN,'Y'),'Y',m.yes,m.n) ALLOW_SQL_WORKSHOP,
    decode(nvl(ALLOW_WEBSHEET_DEV_YN,'Y'),'Y',m.yes,m.n) ALLOW_WEBSHEET_DEV,
    decode(nvl(ALLOW_TEAM_DEVELOPMENT_YN,'Y'),'Y',m.yes,m.n) ALLOW_TEAM_DEVOPMENT
    from WWV_FLOW_FND_USER u,
    (select USERID,
    decode(instr(DEVELOPER_ROLE,'ADMIN'),0,'N','Y') is_admin,
    'Y' is_developer,
    case
    when instr(DEVELOPER_ROLE,'BASIC_DEV') > 0 then
    'BASIC_DEV'
    when instr(DEVELOPER_ROLE,'ADMIN') > 0 then
    'ADMIN'
    when instr(DEVELOPER_ROLE,'CREATE') > 0 then
    'DEVELOPER'
    else
    'UNKNOWN'
    end developer_type
    from WWV_FLOW_DEVELOPERS
    where security_group_id = :flow_security_group_id) d,
    (select wwv_flow_lang.system_message('F4000.NO') n,
    wwv_flow_lang.system_message('F4000.YES') yes,
    wwv_flow_lang.system_message('PASSWORD_VALID') password_valid,
    wwv_flow_lang.system_message('PASSWORD_EXPIRED') password_expired,
    wwv_flow_lang.system_message('NO_DEVELOPER_PRIV') no_developer_priv,
    wwv_flow_lang.system_message('DEVELOPER') dev,
    wwv_flow_lang.system_message('ADMINISTATOR') admin,
    wwv_flow_lang.system_message('END_USER') end_user,
    wwv_flow_lang.system_message('BASIC_DEVELOPER') basic_developer
    from dual) m
    where
    u.user_name = d.userid(+) and
    u.security_group_id = :flow_security_group_id
    Edited by: stevehoward on Jul 6, 2011 11:37 AM
    Edited by: stevehoward on Jul 6, 2011 11:40 AM

  • Thousands separator when displaying year in dashboard prompts

    In our reports, when we include just the year field in prompts, they display with a thousands separator (e.g. 2,012 for the year 2012)
    Does anybody have any ideas on how to fix this. We are on 10.1.3.4 but any hint would be helpful.

    Change the year column data type to INT in the physical later. Or you can change the column properties of the column in Answers.
    Hope it helps.
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

Maybe you are looking for

  • Dynamic Action on "Get Focus" After Closing a Popup Window

    Hi, From one of APEX Application Pages I am calling a Popup Window where users can create a new record. In the Popup Window once the record is created and window is closed, I want to refresh the region on the main page to show the record created in t

  • IChat video chatting not working

    I have read through many posts and cannot find an answer to my problem. When I initiate or receive and invite for a video chat with another Mac I receive a message indicating that "There was a communication error during your chat". It goes on to stat

  • How to hide the Parameters?

    Hi all,          I Have two parameters in a report. I need to hide one paramerter when another one is selected and vice versa. Kindly give me the solution. Thanks for your support in advance. Thanks  & Regards, Shiva

  • Adding portlet to ocs portal

    I've built a Portal using the App Server 10g portal, now i was trying to do the same using an OCS portal installation, but i'm incurring in a strange problem: i cannot add any portlet to the page. In practice, the selected portlet (any portlet from l

  • How to rebuild the Password Server?

    I have over a dozen customer servers running 10.4.3 now, which have been set up under either Panther or some older Tiger Server release. All of them show some kind of corruption in the Password Server database which means that after restarting the se