GetClientID not the same with request map in a dataTable

Hi,
I have a dataTable with multiple rows of same input text box (which has a required="true" validation attribute), the generated id in request map is something like (because it's repeating in a dataTable)
formname:_id0:0:firstname
formname:_id0:0:lastname
but the .getClientId() method of UIComponet is NOT the same! When I try to getClientID, for the same componet (recusively gong the tree), I get
formname:_id0:firsntame
formname:_id0:lastname
how do I retreive the correct id? or why is it not getting the right client ID?
The reason I'm manually going through the tree is because I need to do some custom logic of checking each componet in the page, see if it's required, if it is, I'm going to do add custom required messge for them (all this is implemented in a phaseListener)
thanks.

Hi,
thanks for replying.
Basically, I have need to customize error message for validation, so I adopted the code here by implmenting a phaseListener.
http://www.jroller.com/comments/ksevindik/Weblog/customizing_jsf_required_field_messages
which in turn derived from
http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk7.html
If take a look at the code above, in the validateValue() method, it's checking for component .submittedValue properties. This normally works for forms by itself.... but when the form field are repeated inside a dataTable, the
inputComponent.getSubmittedValue() becomes null.
I was confused, so I tried to output the clientID of the inputComponent by
inputComponent.getClientID(),
Only then, i noticed that the ID is not the same as the ID in requestMap, mabye that's why inputComponent.getSubmittedValue() is null.
Let me rephrase the question, how do I access the text box value in any row of a dataTable? (Note, the value has NOT been updated into the model yet because I'm trying to get the value in validation phase)
Thanks again. REALLY appreicate it.

Similar Messages

  • HT1349 why some iphone 4s has korean letters at the back and not the same with the most iphones..but the serial and software are all the same..so why there is phone with korean letters on the back it says.. kcc -cmm- apa -a1387

    why some iphone 4s has korean letters at the back and not the same with the most iphones..but the serial and software are all the same..so why there is phone with korean letters on the back it says.. kcc -cmm- apa -a1387..i purchased one and really worried about this..is this original or not..but all the software etc are all the same with other iphone..just that korean letter at the back

    I bought it in some mall here in our place..im from philippines.. im worried about this coz its different with other iphone at the back.. it says designed by apple in california..then its all korean letters at the bottom it says KCC-CMM-APA-A1387..i checked both serial number from the phone in the box and in the sim card slot and its all match, i checked it also in apple service and support coverage and it says : valid purchase, your product is eligible...and it shows i have 90 days technical support,and my repair and service coverage is active....pls help what model of iphone is this its working and i can sync to itunes,icloud and etc..thats what it says on the back on the image ia

  • Network Homes issue with printing presets not the same with each mac logged into

    Hi
    I have a SMB who use a ML Server with network homes, each user logs into any of the iMacs in the building and their home mounts.
    No issues their my problem is that printings wise each iMac has the same printers set up with the same name but if a user sets a preset on a printer this preset does not appear when they log onto another computer.
    If you look in their ~/Library/Preferences the preset is their.
    Help
    If you do not understand question say so i will try and re word this.

    Hi
    I have a SMB who use a ML Server with network homes, each user logs into any of the iMacs in the building and their home mounts.
    No issues their my problem is that printings wise each iMac has the same printers set up with the same name but if a user sets a preset on a printer this preset does not appear when they log onto another computer.
    If you look in their ~/Library/Preferences the preset is their.
    Help
    If you do not understand question say so i will try and re word this.

  • Sleep not the same with SysPrefs as Apple menu

    When I choose Apple Menu>Sleep, I can hear the computer going down, the whirring, etc. stops. This never happens with the System Preferences Computer Sleep timer.  It always keeps whirring/clucking, etc.  Is this normal behaviour? Why isn't the level of Sleep the same? I'm pretty sure it was the same way with my last OS (Tiger). 

    poflynn wrote:
    bump
    Are there different levels of Sleep that aren't mentioned?
    No there is not different levels of sleep. Sleep is sleep.
    Make sure you are on the correct tab of the Energy Saver page. there is one for AC and one for battery. If this happens when on AC make sure it is set correctly on that tab.

  • QT Pro 7 Export to web is not the same with Snow Leopard?

    Before updating to Snow Leopard, I would use the "Export to Web" feature in Quicktime Pro 7.  The desktop option would give me a small file size with a resolution of 853x496.  Why does it now give me a much larger file size at 1280x720?  This is slowing down my workflow, please advise.

    Hi b,
    Have you restarted yet?

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • The MAC signature found in the HTTP request '***' is not the same as any computed signature. Server used following string to sign: 'POST

    Hi,
    When trying with Postman sending a REST call to Azure Storage Queues I get:
    The MAC signature found in the HTTP request '***' is not the same as any computed signature. Server used following string to sign: 'POST.
    The code I have for creating the Authorization Header:
    var accountName = "my_account";
    string key = ConfigurationManager.AppSettings["my_access_key"];
    DateTime dt = DateTime.Now;
    string formattedDate = String.Format("{0:r}", dt);
    var canonicalizedHeaders = "x-ms-date:" + formattedDate + "\n" + "x-ms-version:2009-09-19" + "\n" ;
    var canonicalizedResource = "/my_account/myqueue/messages";
    var stringToSign = String.Format("POST,\n\n\n\n\n\n\n\n\n\n\n{0}{1}", canonicalizedHeaders, canonicalizedResource);
    stringToSign = HttpUtility.UrlEncode(stringToSign);
    HMACSHA256 hmac = new HMACSHA256(Encoding.UTF8.GetBytes(key));
    var signature = Convert.ToBase64String(hmac.ComputeHash(Encoding.UTF8.GetBytes(stringToSign)));
    var authorizationHeader = String.Format(CultureInfo.InvariantCulture, "SharedKey {0}:{1}", accountName, signature);
    return authorizationHeader;
    Anyone any idea what I'm missing/doing wrong?
    Additional question: do i have to create for every message I want to send a new Authorization header? Or is there an option (as with Service Bus Topics) to create a header that can be used for a certain timeframe?
    Thanks.

    One issue is with this line of code:
    HMACSHA256 hmac = new HMACSHA256(Encoding.UTF8.GetBytes(key));
    Please use the following:
    HMACSHA256 hmac = new HMACSHA256(Convert.FromBase64String(key));
    and that should take care of the problem.
    Regarding your question, "do i have to create for every message I want to send a new Authorization header? Or is there an option (as with Service Bus Topics) to create a header that can be used for a certain timeframe?"
    With your current approach, the answer is yes. What you can do is create a Shared Access Signature on the queue which will be valid for certain duration and then use that for posting messages to a queue using simple HttpWebRequest/HttpWebResponse.
    Hope this helps.

  • HT4790 My Mac OS Lion 10.7 FileVaulted HD does not boot, prohibitory sign, stop sign appears some minutes after boot starts. Disk Utility repair shows four error messages: Unable to bootstrap transaction group 2517: inconsistent crosscheck (the same with

    My Mac OS Lion 10.7 FileVaulted HD does not boot, prohibitory sign, stop sign appears some minutes after boot starts. Disk Utility repair shows four error messages:
    Unable to bootstrap transaction group 2517: inconsistent crosscheck
    No valid commit checkpoint found
    The volume xxxxxxxxxxxxxx(here it shows physical volume number) was found corrupt and can not be repaired.
    Problems were encountered during repair of the partition map
    Error: Storage system verify or repair failed.
    (the same with 2518, 2519 and 2520 transaction group)
    I suppose it is serious bug in Mac OS Lion managing FileVault and wonder what the help could be?

    Most likely culprit is your Lacie drives which are notorious for flaky power supplies which cause just the sort of erratic behaviour that you describe. Have had similar issues myself. Lacie has been good about replacing my power converter-- twice. If you have seven of them, good luck finding the bad one or more. Like I said, the behaviour is erratic. Sometimes it'll work sometimes not. I can't comment on Samsung drives because I've never used them and have never heard anything about them. Same with Softraid. Why not just use Disk Utility. Sounds like you're ready for an external hardware raid. This will be much faster, much more reliable, and may even be cheaper than seven firewire drives. Check out G Tech, and Maxx Digital for starters.
    Best of luck
    Terry

  • With iTunes match, order of the songs in my playlist of mobile devices is not the same as on my computer

    In my iTunes on computer, I have several smart play lists. Within each playlist, songs are set to a certain order. Some playlist songs order are organized by name, some playlists are organized by Album, some playlists are organized by artist etc.
    When I was syncing my iPhone and iPad directly with my computer, the playlists on my mobile device had same order of songs as on my itunes in computer.
    Now, I signed up for iTunes match. With iCloud sync, order of the songs in my playlist of mobile devices is not the same as on my computer. In fact, order of songs within a playlist appears to be completely random. Moreover, order of songs are different in my iPhone 4s and iPad 2
    How can I change the order of songs on my mobile devices or how do I make iTunes match to sync my songs such that within a playlist, my songs are in the same order as that of iTunes on my computer.

    Thanks mracole. I assume this means order of songs will work with regular play lists I iTunes match. Will try it this afternoon and report.
    Please let me know if my understanding is not correct.
    Best regards and thanks once again.

  • I am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!

    i am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!
    When i press command+I (Get Info) i see that there is 140 GB "Available Space" on my hard disk but when i click on my hard disk icon on the desktop, and then press "space" i only see 102 GB free!! What the f*???
    Please HELP!!!!!! Getting second thoughts on Lion!!!!

    Hi b,
    Have you restarted yet?

  • HT204053 Although I have iCloud, my system preferences still show Mobile.me.  I have to sign in with my mobile.me ID which is not the same as my Apple ID. I want to change my iCloud ID and password.  How do I do it?

    Although I can access iCloud, my system preferences on my iMac still show Mobile.me.  I have to sign in with my mobile.me ID which is not the same as my Apple ID. I want to change my iCloud ID and password to be consistent with my Apple ID and password.  How do I do it?

    you need to be running OSX 10.7 or 10.8 to use iCloud i believe. It shows you are using 10.6.8 which doesn't support iCloud.

  • Why my iPod (6th generation)not appearing in iTunes and all my songs are gone but the data is the same with last time when got songs.

    why my iPod (6th generation)not appearing in iTunes and all my songs are gone but the data is the same with last time when got songs.

    I understand that your iPod nano is not recognized in iTunes. The following troubleshooting assistant may provide a resolution:
    Apple - Support - iPod nano (6th generation) - iTunes Troubleshooting Assistant
    http://www.apple.com/support/ipodnano/6th_generation/assistant/itunes/
    If the above did not resolve your issue, choose an applicable article below that best describes your issue.
    Windows
    iPod appears in Windows but not in iTunes
    iPod not recognized in 'My Computer' and in iTunes for Windows
    iTunes reports that "iTunes cannot recognize this iPod at this time"
    Mac OS X
    iPod not recognized in iTunes and Mac Desktop
    MacBook and MacBook Air: iPod won't mount when connected via USB hub
    What to do if your computer won't recognize a USB or FireWire device
    Thanks,
    Matt M. 

  • Can Anyone help with syncing my contacts are getting duplicated and there is a file from my computer and they are not the same it is driving me carazy can anyone help?

    Can Anyone help with syncing my contacts are getting duplicated and there is a file from my computer and they are not the same it is driving me carazy can anyone help?

    Are you in DSL? Do you know if your modem is bridged?
    "Sometimes your knight in shining armor is just a retard in tin foil.."-ARCHANGEL_06

  • I meet a lot of 3G signal when a call signal disappears 3G! I read the manuals and anything I find the problem! I do so with other brands and other cell does not, the same goes when I receive a call!

    I meet a lot of 3G signal when a call signal disappears 3G! I read the manuals and anything I find the problem! I do so with other brands and other cell does not, the same goes when I receive a call!

    Who is your carrier?  Are you actually on 3G?
    Do you have 3G turned on or off?  Settings > General > Network > Enable 3G

  • HT201320 I have a new ipad mini - I am able to receive emails but not send - same with text. I have tried to follow the support advice. I have deleted my aol account and added it again. I have compared every setting with my husband, who has an ipad? Pleas

    I have a new ipad mini - I am able to receive emails but not send - same with text. I have tried to follow the support advice. I have deleted my aol account and added it again. I have compared every setting with my husband, who has an ipad? Please help

    ps when syncing it jumps through steps 1 - 4 real fast, i seem to remeber iphone showing the number of tracks transferring and names, but i see nothing? then it sits on 5 saying "waiting for changes to be applied"

Maybe you are looking for

  • Javascript doesnt display correctly in Safari 1.3.2

    I'm a fledgling web designer, and developed a site for an artist. An associate of mine provided me with a php script for a thumbnail viewer, with a scrollbar on the left for viewing the thumbnails -- when you click on a tn, the image appears larger i

  • 4 hours to download a movie? Apple TV or my internet provider's problem?

    Never had this problem before ... most movies download in 10-15 minutes. Trying to rent Castaway, and it's saying it's going to be 4-5 hours to download! And trust me, it's moving agonizingly slow. Any suggestions?

  • Bug 2679062 - Wrong results possible from multi-column INLIST - though stat

    Hi, The following test case is supplied in the metalink in bug no. 2871341, the base bug for this bug is 2679062. REPRODUCIBILITY: Reproduces constantly with simple test case below: TEST CASE: DROP TABLE A1 CREATE TABLE A1 (X1 VARCHAR2(10), X2 VARCHA

  • SUS PO PDF copy problem

    Hello Everyone, We are using SRM 5.0 with ECS. vendor gets PO's in SUS, and can see the changes made to a PO on the screens. But when they use the Print or Download buttons to see the PDF copy of the PO, it shows them an old version of the PO, withou

  • Non-image files are not copied to the Backup Location

    I'm on Aperture 3.0.3... I just noticed that non-image files (e.g., WAV files) are not copied into the Backup Location, although they are copied into the main folder location during an import. Does anyone else see this behavior?