Problem with accessing message pool text messages

Hi,
Getting the text defined in the message pool using
wdComponentAPI.getTextAccessor().getText("TXT_SELECTED_ITEMS_COUNT")
with key TXT_SELECTED_ITEMS_COUNT, the text is
"You have selected {0,choice,0# no P.O. line items to accept|1#one P.O. line item to accept|1<{0,number,'#'} P.O. line items to accept}"
After checking with the debug,  wdComponentAPI.getTextAccessor().getText("TXT_SELECTED_ITEMS_COUNT") is giving me the text as
"You have selected " instead of
"You have selected {0,choice,0# no P.O. line items to accept|1#one P.O. line item to accept|1<{0,number,'#'} P.O. line items to accept}"
Can somebody help?
I need to get this text as
"You have selected {0,choice,0# no P.O. line items to accept|1#one P.O. line item to accept|1<{0,number,'#'} P.O. line items to accept}" so that my messageformat.format works correctly when i display on the screen.
Thanks
Sirish

Hi,
Tried what you suggested i didn't get what i wanted, message displayed completely as below if
paramter is 1 (selected one row)
You have selected 1 ,choice, 1 no P.O. line items to accept| one P.O. line item to accept 1<1 P.O. line items to accept"
for message as below in the pool
You have selected ,choice, no P.O. line items to accept| one P.O. line item to accept 1< P.O. line items to accept"
But, what i wanted to display (as per choice pattern) the message is
You have selected no PO. line items to accept -> if don't select any rows
You have selected one P.O. line item to accept -> if i select one row in the grid
You have selected 2 P.O. line items to accept -> if i select more than one row in the grid
number 2 , is passed as argument to messageformat.format(string,args)
where string is the message text from message pool
Thanks
Sirish

Similar Messages

  • HT4623 is anyone else having problems with receiving and sending text messages. most people in my contacts are not getting messages that i send to them.

    is anyone else experiencing problems with (SMS) text messaging. Most all of my daily contacts dont receive my messages.

    Make sure you have checked off iCloud contacts in your Contacts app under Groups in upper left corner.

  • TS2755 Problem with receiving other's text messages after installing new version.

    I just installed the new version for my iPhone.  Subsequent to this, I started to receive a copy of my husband's text messages.  He did not receive a copy of mine.  We have the same iTunes account, however separate phone accounts.  I turned off and back on the phone . . . no change.  Has anyone run across this problem?

    That's because you both are using the same Apple ID.
    The only place to share Apple ID is
    Settings > iTunes & App Store > Apple ID: > shared Apple ID here.
    All other Apple services like iMessage, FaceTime, iCloud, etc... you both should have unique Apple ID.
    Check especially, Settings > Messages > Send & Receive > only your phone number is selected.

  • HT1688 problem with some of my text messages going to another phone and other devices on my account

    Some messages that are texted to my phone go directly to another phone(with a different number) on my account. 

    More than likely someone sent you an iMessage addressed to your Apple ID email address that is also registered with iMessage on your iPhone in addition to your cell phone number. The cell phone number is registered with the Apple ID email address when activating iMessage on an iPhone.
    Go to Settings > Messages > Send & Receive.
    Under You Can Be Reached By iMessage At, deselect your Apple ID email address.
    Under Start New Conversations From, make sure your cell phone number is selected.

  • Problem with sharing each others text messages

    So my son and I both have iphones and we think we hit something when we were updating to ios 7 that made our phones both recieve each others texts. How do we get it back to normal?

    Are you both signed in to iCloud using the same Apple ID? If so, you need to get separate Apple IDs. Of course one of you could keep the one you are both using now.

  • I have some problems with element Panel Label and Message.

    I have some problems with element Panel Label and Message. When I create form from VO attributes then I have Label for input text element. If I use Panel Label and Message element then I need to copy LABEL from input text element to Panel Label and Message element LABEL PROPERTY. Can I define in View object that I don't need label and want all attributes in Panel Label and Message element?
    BEST REGARDS

    You can simply remove the label attribute for the input text on the page.
    sid

  • Problems using Siri to send text message

    hi im having problems using Siri to send text messages on my iPhone 5.
    When i try to send a message using Siri to somebody who does not own a iPhone Siri defaults the message to a iMessage instead of a standard text message, which then causes a message failure because the other person does not have a iPhone.
    I have the setting turn on in the Messages setting to send as Text Message when iMessage is not avaliable but Siri still defaults the message to a iMessage and does not send it as a standard text message and results in a message failure.
    am i doing something wrong or am i missing something?

    Siri won't try to send an iMessage to a person who doesn't have a device with iMessage enabled.
    If you open Messages, and select the same person with the keypad it should default to Text and not iMessage.   That's exactly what will happen when Siri tries to send the message.
    I just tried this on my phone to someone who doesn't have an iPhone and it worked exactly that way. 

  • Problem with iOS7 : I have a message on my screen "This phone is not registred as a developper phone..." or something like that, can you help me because I download the iOS7 Beta even if I was not a developper. Thank you very much if you help me.

    Problem with iOS7 : I have a message on my screen "This phone is not registred as a developper phone..." or something like that, can you help me because I download the iOS7 Beta even if I was not a developper. Thank you very much if you help me.

    JaillotJb wrote:
    I download the iOS7 Beta even if I was not a developper.
    if you downloaded it and are not a developer, then we are not allowed to help you here.  sorry.

  • I use only two channels, have plenty of memory in my hard disk, and external hard drive, no effects, and still having problems with Garage band. Giving messages as you have too many live channels

    I'm frustrated, I am doing everything you recommend, I use only two channels, have plenty of memory in my hard disk, and external hard drive, no effects, and still having problems with Garage band. Giving messages as you ave too many live channels, the disk is slow prepare...can you help?

    Quote from: Richard on 15-November-07, 20:33:05
    tornado2003,
    What you need to do is boot into Safe Mode. Then delete the VGA Drivers.
    After that boot normally and install the latest nVidia ForceWare Drivers
    Take Care,
    Richard
    i guess you missed that:
    Quote from: tornado2003 on 15-November-07, 17:26:52
    ive tryed booting xp in safe mode but it just freezes after it loads up a couple of needed files .
    ive even formatted my hard drive and tryed installing a fresh xp on it but it just keeps locking up when it gets to the "starting windows setup" .(this is just after it loads all the drivers from the xp cd)

  • I have a problem with my white macbook, this message keeps popping up when I start the laptop " no matching processes belonging to you were found " even though I didn't mess up with the system or even use terminal. It just appeared

    I have a problem with my white macbook, this message keeps popping up when I start the laptop " no matching processes belonging to you were found " even though I didn't mess up with the system or even use terminal. It just appeared without Doing anything!!
    And now I can't use the " tap an click " from my tack-board and no nothing was spilled on my mac.
    Please help  

    Check your login items in the Users & Groups preference pane. Remove any that you don't recognize.

  • There are text messages that I'm having trouble deleting.  With some of my text messages, I can swipe to the left and delete ... or press and hold, get more and delete to trash can icon. But there are some where neither will work. Can't delete. Help!

    There are text messages that I'm having trouble deleting.  With some of my text messages, I can swipe to the left and delete ... or press and hold, get more and delete to trash can icon. But there are some where neither will work. Can't delete. Help!

    But once again, I do not want to lose my other texts, app progress, and photos. I could sync the photos but i would still lose the app progress and texts. I would only restore if it was the only option left, but the other space, as already stated, isnt the main concern. The main concern is those 'deleted' texts. If they go, then a good size chunk of the other space goes. I know you CAN delete texts for good. It worked fine before. All i want to know is why its not working for me now, and how to fix it.
    I also know that when you delete texts on your iphone, they get marked for deletion, however they stay on your device (thats why they show up when you search for them.) then when you sync your device with itunes, the texts marked for deletion should disappear. When i synced they didnt disappear. Thats what i need an explanation/solution for. Why the texts marked for deletion didnt get fully deleted after the sync.

  • I just got my iphone yesterday and have no idea how to work it since it doesn't come with an owners manuel. I was wondering if there were any way of saving the audio attachments from multimedia messages or text messages as ring tones??

    Is there any way to save audio attachments from multimedia messages or text messages as ringtones so I can set them to specific contacts on the iphone 3gs??

    You have to create iphone ringtones.
    There are many free ways to do this.  Google will find them.
    Click Support and the top of this page, then Manuals, then iphone user guide to find the manual, or look at your bookmarks on the iphone.

  • Problem with JCo Connection Pool

    Hi,
    I have a problem with using an RFC Model in my WebApplication. So sometimes the access to the function block works, and sometimes it doesn't work. Now I know, that there is a problem with the connection pool. Look at this message:
    com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool WD_X24_MODELDATA_DEST_CPIC_REKTO_DE_useDefinedUser is exhausted. The current pool size limit (max connections) is 10 connections.
    So it looks like a problem with closing the JCo Connections after using. Do know where the problem is? Because I'm using many other function blocks with no problems.

    Hello,
    You need to increase the pool size via Visual Administrator.
    Server 0 -> Services -> JCO RFC Connections.
    Change the pool size from there. I believe a restart is in order.
    Regards,
    Jan

  • How can I add a new message(custom text message) to the holiday approval em

    How can I add a new message(custom text message) to the holiday approval email-notification sent to the manager?
    TIA

    The answer is 'not very easily', unless the information you want to display is the employee's leave balances. In 12.1.3 Oracle have delivered functionality that allows you to include the leave balances in the approval notifications out-the-box, ie, without customization.
    For any other information you're probably going to have to customize the standard delivered HRSSA workflow. Within this workflow, the Leave of Absence functionality uses the Notify Approver (Embedded) (HR_APPROVER_NTF) notification. The body of this notification is set to the Notify Approver (Embedded) (HR_NTF_EMBEDDED_REGION) attribute. This in turn defaults to:
    JSP:/OA_HTML/OA.jsp?OAFunc=-&HR_EMBEDDED_REGION-&NtfId=-&#NID-
    So essentially you can change the HR_APPROVER_NTF notification. The problem with changing this notification is that it's generic - it's used for all SSHR functions and not just Leave of Absence. That means you have to make other, more substantial, customizations to the workflow to ensure the changes you make only applies to LOA.
    The other option is to personalize the review page (ie, the region referenced in &HR_EMBEDDED_REGION) to include whatever messages you want. But that means they'll appear on the Review page and all LOA approval notifications and that might not be what you want.
    It's usually better to live with what Oracle deliver and find an alternative solution! What's the content of the message you want to include?

  • Can Play iTunes Library from PC on MacBook Air but cannot import, problem with access rights?

    I can play Itunes library from Windows Vista PC on my MacBook Air using homeshare but cannot import the library . Error message is problem with access rights. Latest OS and Itunes installed. Both computers registered with Apple on same Apple ID. Wifi Router turned on and off. Still does not allow importing. Any suggestions please?

    Might be an alternative for you here > iTunes: How to move your music to a new computer

Maybe you are looking for

  • MPD Pulseaudio issues [SOLVED]

    Hi, I've just setup pulseaudio on my system as I was tired of not being able to handle simultaneous output whilst one program had control of the soundcard (using alsa). I run MPD from startup with the user "mpd", unfortunately when it starts, it star

  • Animation not displaying properly in Firefox

    My animation not displaying properly in Firefox. I have searched this forum and others but am only able to find outdated solutions (such as updating to the latest release of Animate). I am on the most current versions of Animate and Firefox and still

  • Problem with creating User Defined Fields

    Hello, I have a big problem on one customers db. Everytime when user logs in SBO, he got immediatley after login message, that db structure was modified and user must click OK to continue (close all form - in this case is still no form opened). I tri

  • MBP 2010 won't connect to DLINK 802.11n

    When I go to System Information and Wi-Fi it says PHY Mode: 802.11g. When I get into my router set up page it set to mixed 802.11n/b/g So ya the internet works with G and I dont understand why it wont connect to N and I don't know how to make it do t

  • Mail doesn't respond

    Hello, i've just installed this new os x upgrade. when i clock on the mail icon it doesn't open and if go to kill process it says that this app doesn't respond what do i have to do? thanks a lot for your help