How can i get localecontext within customer validator?

Hi,
I want to localize my error message ,so I need to get entity attribute label
within customer validator,I write code as follows( eo is entityImpl object eo=valCtx.getSource();)
String attributeLable=eo.getStructureDef().findAttributeDef(tempAttrName).getUIHelper().getLabel();
but getLabel need localeContext parameter,How can I get it or where can set it ?
thanks very much
lixz
2006/12/5

Hi,
try this:
DefLocaleContext dlc = new DefLocaleContext();
String attributeLable=eo.getStructureDef().findAttributeDef(tempAttrName).getUIHelper().getLabel(dlc);

Similar Messages

  • How can i get "CRM JAVA CUSTOMER PROJECT 5.0"

    Guys... how can i download the "CRM JAVA CUSTOMER PROJECT 5.0" package

    Hello Christopher,
    We are having difficulties in finding "CRM JAVA CUSTOMER PROJECT 5.0" too.
    Could you please tell how to re-create the Software Component association?
    Thanks and Regards,
    Reena

  • How can I get anyone in Customer Services to respo...

    Copy of letter to Customer Services sent in July 2012 and again via email a month later:
    Dear Mr Spencer
    Your ref: *************
    Further to your letter regarding my complaint about the Broadband package taken out from my mother’s address, I am writing to respond as follows:
    The original conversation with a member of BT staff about the set up of a Broadband package at my mother’s property  took place in August 2011 – sometime around 17.08.11.
    It was during this exchange that the discussion took place about transferring the said Broadband package from my mother’s phone line to my flat (address above) when I returned to that address in March 2012.
    Because I knew at that time that we would only require the Broadband services at my mother's address during my residence there, I made it clear that I would require the service to be transferred when I returned to my own home address.
    My mother is 84 years old – does not know how to use the internet and since I moved out of her home in March, has not had a PC/laptop or any Internet-receiving equipment in her home.  We unplugged the Home Hub on the day I left and it has remained in the box ever since.  She does not require the internet now, and never will. 
    My mother and I have both been long-standing customers of BT with unblemished credit records with your company.  I am most disappointed that this situation has now escalated and as you can imagine, my mother is most distressed.
    I cannot accept the results of your findings based on the recordings of only one telephone conversation with your organisation about the original set up of the Broadband account.
    It is the unavoidable fact that I have had many telephone conversations across the last 10 months about both my account  and my mother’s.  Some of the calls with your Customer Services staff will not have been of the standard I would have thought your organisation will expect.

    Hi JulieG,
    Welcome to the forum.  I am sorry to read of the problems you and your mom have had with BT.  I would like the chance to sort this out for you.  I will need account details so that I can look into this properly.
    Please follow John46's advise and drop me an email via the 'Contact Us' link in my profile. (click on my name and you will find the link under the "about me" section). Include the BT account details in question and the link to this thread.  Once I have these details I will investigate and am sure I can help.
    Cheers
    Sean
    BTCare Community Manager
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • How can I get bleed within the creep area? CS5

    I just finished a booklet (2 up Saddle stitched) and I am i have set the creep amount
    but there is no bleed/cross over of the images I have used in the document,
    i get a a white blank area. is there anyway I can bleed the images in the middle?
    PLEASE HELP!
    Thank you

    InDesignSecrets » Blog Archive » Breaking Pages Apart to Bleed Off a Spine
    and be sure to read the comments.

  • How can I get back the "custom URL in new tab" functionality that I had in v 12 using new tab add-on?

    I REALLY need this since I have written my own custom web directory which I use all day long. It seems that the new New Tab behavior should be OPTIONAL. I had to revert to version 12 because it adds a couple of clicks every time I request a new tab many, many times a day in my work. I was using the New Tab URL add-n and it does not override the new functionality.

    If you want to open a new tab in a certain url (like www.google.com or another site) go to [http://kb.mozillazine.org/About:config about:config] find/type '''browser.newtab.url''' , double click on it (or right click on it and select modify) and type the url you want. Every time you open a new tab you open it in that url/site.
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • GridControl;JBO: How can i use ArrayAccess within custom renderer for GridControl

    When i use ArrayAccess for access rows around current, or to
    access to hidden columns in rendering row, within
    TableCellRenderer, then my program stays in infinite loop in
    this TableCellRenderer. But when i use same code to plain print
    query results, all work fine.
    Here's my code:
    public Component getTableCellRendererComponent(JTable table,
    Object value, boolean isSelected, boolean hasFocus, int
    row, int column) {
    __null:
    if (value != null) {
    dataItemView.setViewStart(row);
    int[] k = {0,interested_column};
    ImmediateAccess ia = (ImmediateAccess)
    arrayAccess.getItemByCoordinates(k);
    cur = ia.getValueAsObject();
    if (cur == null) cur = ia.getValueAsString();
    if (cur == null) break __null;
    My debug printing shows that after setViewStart(row),
    getViewStart() != row.
    Is there any available sources for Oracle JBO implementation of
    InfoBus ?
    P.S. also in renderer, when ImmediateAccess holds String, then
    getValueAsObject() returns null, why ???

    When i use ArrayAccess for access rows around current, or to
    access to hidden columns in rendering row, within
    TableCellRenderer, then my program stays in infinite loop in
    this TableCellRenderer. But when i use same code to plain print
    query results, all work fine.
    Here's my code:
    public Component getTableCellRendererComponent(JTable table,
    Object value, boolean isSelected, boolean hasFocus, int
    row, int column) {
    __null:
    if (value != null) {
    dataItemView.setViewStart(row);
    int[] k = {0,interested_column};
    ImmediateAccess ia = (ImmediateAccess)
    arrayAccess.getItemByCoordinates(k);
    cur = ia.getValueAsObject();
    if (cur == null) cur = ia.getValueAsString();
    if (cur == null) break __null;
    My debug printing shows that after setViewStart(row),
    getViewStart() != row.
    Is there any available sources for Oracle JBO implementation of
    InfoBus ?
    P.S. also in renderer, when ImmediateAccess holds String, then
    getValueAsObject() returns null, why ???

  • I bought iphone 5 in september last year and the whatsapp which I installed was free of cost.The number which I used is the one I was using in my android phone and validity for its expiring in april but for other users its lifetime free.how can I get it ?

    I bought iphone 5 in september last year and the whatsapp which I installed was free of cost.The number which I used is the one I was using in my android phone and validity for its expiring in april but for other iphone users its lifetime free.how can I get the lifetime free validity?

    kratigupta wrote:
    how can I get the lifetime free validity?
    Huh? AFAIK, such does not exist. Read here:
    http://www.whatsapp.com/faq/general/23014681

  • How can I get a tooltip to show up on a custom button obj on a dashboard?

    I have added a ClearAll button object (to clear the filter criteria) on a dashboard that I am working on, and have added some text in the comments section of the properties. I can see the resulting tooltip when I hover over the button in the Client Side IR studio tool; however, when I upload the .bqy to the server and view the report in the web EPM version, the tooltip does not show. I can see the other tooltips for the buttons that were originally on the dashboard template I used, but I cannot see the one for the custom button I added. Does anyone have any ideas how I can get this to show up?
    Thanks in advance,
    Cindy

    I copied an existing clear filter object (I believe this is an image object, but not sure how to confirm) from the provided square tab sample template in Express Template.bqy. After your post, I took a second look at the object and remembered I had changed the name from picClearAll to ClearAll. I had changed the name because the button was continually disabled when navigating within the dashboard before I renamed it. I am assuming this is because the object picClearAll in the provided templates is associated with results filters. I do not have any results filters, so it was showing as disabled. I have filters on the query itself, and was hoping to use this same image on my button to clear the query filters (I put java scripting behind the button to do this).
    Another interesting thing about this is that when I change the name of the object back to picClearAll, and during runtime force the button to be enabled, I DO see the tooltip I am trying to get to work; however, as soon as I navigate or refresh the dashboard in some way, the button goes back to disabled.
    How can I get the button to be enabled (without having filters on my results), and still show my tooltip?
    I am using Hyperion version 11.1.1.3.0.956.
    Thank you for your help,
    Cindy

  • I am using windows 8.1. But I recieved the error This apple id is valid but is not an icloud account. How can I get connected to Icloud?

    I am using Windows 8.1. When I try to connect to Icloud I get the Message: This Apple id is valid, but is not an icloud account.
    How can I get connected to Icloud?

    Hello pmarrone,
    You may only sign up for an iCloud account via one of the following systems or devices.
    You can sign up for iCloud on an iPhone, iPad, or iPod touch with iOS 5 or later, or through System Preferences on a Mac with OS X Lion v10.7.4 or later. Just follow the setup instructions for your iOS device or Mac.
    Creating an iCloud account: Frequently Asked Questions
    http://support.apple.com/kb/HT4436
    Cheers,
    Allen

  • I'm trying to sign in to icloud on my laptop to access my itunes but it says my apple id is valid but wont open.  I don't have an apple phone, I have an android phone.  How can i get round this?

    I am trying to access some of my songs on itunes on my pc but it's says I need to install icloud.  I did this but it says I need to sync my phone but that is an android phone.  It says my apple id is valid but still won't let me sign in.  How can I get round this?

    Enchanted1 wrote:
    All this and I still don't have enough space on my startup disk, but that's another whole question!
    No, this should be the number one thing you are concerned about.
    Until you get this sorted, there is a good chance you may simply lose everything.
    Do you hav ean external drive?
    If so copy the entire /Music/iTunes/ folder to the external drive.
    Then you can delete /Music/iTunes/ empty the trash and recover this space.
    Do this then Apple menu > Software update.
    Restart the computer
    Then post back.

  • How can I get an autogenerated value in Postgres within a new SQL statement?

    There are two possible ways that I could go about doing this. 
    The firstn the creation of a new record, my schema in Postgres automatically inserts a unique value into a given field.  However, whenever I run queries to get that value using Teststand, I get an error that states the value is null.  However, querying from psql, I am able to see the UUID.
    Note that the field itself is not problematic.  If ask for the UUID value in the previous record, it fetches the value from two records ago--which is a bit odd, but is better than recieving a null value.
    The second way to do this is to query the sequence which we use to generate the UUID.  In Postgres a sequence is simply an autoincrementing value.  Each time it is used, it increments by a given amount.  Further, the current value of the sequence can be queried as follows:
    SELECT last_value FROM *sequence_name_goes_here*
    However, running this query and then trying to get that value and store it also returns a null error.  To be fair though, the sequence is not viewable within the Teststand Database Viewer. 
    For reference, I'm using Teststand 2.0.  For the driver I'm using the Microsoft OLE DB Provider for ODBC Drivers.  I'm using Postgres 8.0.12.
    I'd appreciate any thoughts or suggestions on how to make this work.  Does anyone here have Postgres experience?
    Note that the same Teststand code that we're running now worked fine in Access, but causes the aforementioned errors in Postgres.
    Thanks,
    Tim

    Brandon,
    Thanks for getting back to me.
    I'm not quite sure what you mean.  I'm using Teststand's sequence editor.  Within this there are options for running SQL queries.
    For connecting to Postgres, I'm using a .udl file that relies on a Postgres ANSI driver, which I believe came with my install of Postgres.
    In any event, I think I've narrowed down my question a bit (now that I understand more how Teststand works).
    When one runs an SQL query within Teststand you have the options of "Fetch previous," "Current," etc.  This was connected to the default Access schema (UUT_RESULT) and a RUN_ID was generated on every "CREATE NEW RECORD." 
    I think the problem is that, when you run a "SELECT" query with the parameter set to "Create new record" Access will generate the RUN_ID before returning the results.  With Postgres, it won't generate the RUN_ID until one inserts the "default values."  Here is the SQL log of what Teststand is sending Postgres:
    Mar 26 14:01:37 [postgres] [12-1] <46081865.1bcd>LOG:  statement: SELECT uut_result.run_id, uut_result.station_id, uut_result.start_date_time  FROM uut_re
    sult
    Mar 26 14:01:37 [postgres] [13-1] <46081865.1bcd>LOG:  statement: INSERT INTO uut_result DEFAULT VALUES
    To do this, I just have to run "set" and then "put" without setting or putting any specific values.
    So here is my updated question:
    If I run a new select query(over a new statement) and choose "Fetch next", each time I call that it will iterate through the select query, starting with the very first record.  My question is, how can I tell it to stop when it gets to the last record, since there is no telling what the last record is?  Or, in general, how can I get the values in the final record?  We've changed the RUN_ID to simply be an incrementing integer, so if a MAX aggregate function can be run, that might work.
    Any ideas?
    Thanks,
    Tim

  • HT4436 Since installing Ios7 280 music tunes out of a total of 360 will now only play when I'm within range of WiFi. How can I get them back on my Iphone 4s and scrap this stupid icloud that I did not want or ask for in the first place.

    Since installing Ios7   280 music tunes out of a total of 360 will now only play when I'm within range of WiFi. The remainder now appear with the stupid Icloud logo beside them. How can I get them back on my Iphone 4s and scrap this stupid icloud that I did not want or ask for in the first place. Why can't rotten apple ask if you want the dam icloud rather than just stealing everything without permission and then you can only have access to it through wifi.

    Wow, just posting and it seems that there is a solution that is working for me...
    What I've did is I turned off iTunes Match on my iPhone, then turned in on again. Now in my iTunes library on my mac I can get the duplicates to be matched or uploaded to iCloud with a right-click, add to iCloud. iTunes Match starts to check the songs and everything is done correctly. Pretty nice!

  • How can i get option to approve or reject an emial in outlook in mac such that once i click on approve, the email is sent and if i click on reject it goes to sender (within our workgroup), i used to have it in windows

    how can i get option to approve or reject an emial in outlook in mac such that once i click on approve, the email is sent and if i click on reject it goes to sender (within our workgroup), i used to have it in windows

    Better ask on the Microsoft forums where the Office experts hang out as it's Microsofts product you're have questions about
    http://answers.microsoft.com/en-us/mac

  • HT201318 how can i get a refund for my icloud upgrade? i am within the 15 days

    how can i get a refund for my icloud upgrade? i am within the 15 days

    If in the US, follow the link below -
    https://discussions.apple.com/message/16968425#16968425
    it gives the USA number - if you don't live there you will have to find an equivalent number from the 'Contact Us' link at bottom right of this page.

  • How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your repl

    How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your reply. Thanks!

    It's good to read Antoniad's post.  It reassures me that I can use my new iPad as an international communication device which is the reason I purchased the thing.  However, I called Verizon today (my provider of cellular data) who told me that I can't just pop in a SIM card as you suggested.  He also said that he was from the "Pre-Pay" division of Verizon and he was certain that I couldn't do what I planned to do.  I was extremely disappointed as I had called Apple prior to buying the iPad and I read the algorhythm on the website for choosing an iPad before purchasing.  Those sources were quite specific and the information seemed clear.  I would be able to use my iPad to communicate through cellular connections while traveling on the road, literally, abroad.  I was told that I could pop in a data card wherever I was, just as you indicated in your message above, and voila I was good to go.  The Verizon rep definitively rained on that parade, but said that I might be able to do this if I have a "Post-Pay" account, a different area of Verizon.  I haven't had the chance to talk to this division yet, so I looked to Apple's Support for answers.  Maybe I will find out that I can use my iPad as an international communication device while traveling on the road afterall, however, it appears I may need a different type of account (Post-Pay), something I was never warned about. Can I switch to this kind of account?  I don't know.  I have to find out.  If you have any information about this issue, it would be good to share since I strongly suspect there are others who bought the iPad for the same purpose that I have.

Maybe you are looking for

  • Why does iPad freeze when I try to publish a video to YouTube?

    When I try to upload a video to youtube from my iPad, the screen freezes when I tap "publish." After several minutes, the YouTube dialog box finally disappears and the preview screen of the video appears with a "Publishing to YouTube" progress bar at

  • Sync not working seems snyc has been a problem from day one and has never been fixed.

    I have been trying to get sync to work for a long time and it just won't. I have deleted my accounts and redid them with the new version of sync and still not working. I just get errors saying it can't sync. I can log in but don't matter. Please fix

  • Can you re-set up id apple on the iphone?

    Hi There My wife mixed up her apple ID. The thing is that the apple ID she typed a wrong one in the  icloud settings of her new iphone. Problem is that her iphone cannot use icloud and there is no way to change to the right one because she does not k

  • Datagram source IP address in J2ME

    When receiving a UDP datagram in MIDP/CLDC, how can I learn the source IP address of the datagram? Calling Datagram.getAddress() seems to return the source hostname (e.g. computer.sun.com) instead of an IP address.

  • Tethering for Nikon D5100

    Hi there, I'm wondering if the Nikon D5100 will be working with LR 4 in the near future? I took a course over the summer and purchased the software. I'd love to use the tether feature but it isn't listed as supported yet. Thanks! Elizabeth