How do I populate messageChoice in this case?

hi...
I have messageChoice to display "year" values.
I have created View Object which doesnt map to database table and contain
transient attribute "year".
I am programatically setting value for "year" attribute in VO.
I want to map this VO to messageChoice,this VO doesnt contain Query.
Is it possible to populate mesageChoice programatically with "year" value?

Hi,
Reviving this old thread..
I followed the earlier advice. I have a method as follows in my AM
public void fillOutputFormat()
  subscripOutputFormatVOImpl vo = getsubscripOutputFormatVO1();
  Row row = vo.createRow();
  row.setAttribute("oFormat","EXCEL");
  row.setAttribute("oFormat","FO");
  row.setAttribute("oFormat","PDF");
  row.setAttribute("oFormat","HTML");
  row.setAttribute("oFormat","RTF");
  vo.setMaxFetchSize(0);
  vo.insertRow(row);
  System.out.println(" inserted a new row" + vo.getRowCount());in the PG.xml i have set both the display picklist display and value attribute to oFormat, set the picklist definition too but not getting the values..
is there anything more to be done ?

Similar Messages

  • HT5312 How do I cancel purchase (in this case renting movie) from App Store

    How do I cancel purchase (in this case renting movie from App Store)?

    There is no cancel. You may be able to get a lucky exception for a refund (no promises).
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • I create cloud ID long time ago. My cloud ID is email. This email is not working now. I cant check inbox. How I can reset password in this case?

    I create cloud ID long time ago. My cloud ID is email. This email is not working now. I cant check inbox. How I can reset password in this case?

    https://appleid.apple.com

  • How to use dynamic SQL in this case for best performance

    I have the table with following columns
    ID NUMBER,
    DATA LONG,
    TAG VARCHAR2(255)
    Records in this table will be like following
    1 this is an abstract ABSTRACT
    1 this is author AUTHOR
    1 100 PRICE
    2 this is an abstract ABSTRACT
    2 this is author AUTHOR
    3 contract is this CONTRACT
    Basically all the records with the same number constitute 1 record for another table. Tag in the above table indicates that what column it is and DATAwill have the actual data for that column. I need to populate the second table based an the above table but will not get the same number of TAGS all the time. I need to insert the values only for the columns provided in the TAG field. How will I accomplish this by dynamic sql. Do I create a loop and create two strings one with columns and one with values and then combine them and use execute immediate to insert into table? Is there an easier way to do this??
    Please respond quickly.
    Thanks
    Bhawna
    null

    > so which collection should i use to perform it..
    so that performance is best......
    Program to interfaces. That way, you can switch out implementations and test for yourself which performance is best in an actual production context. But first, write your program so that it works. Worry about refactoring for performance once your program is written and it works.
    > plz send me the logic....
    Give it a shot on your own first; we can help if you get stuck.
    ~

  • How to create a loop in this case?

    Hi! I'm trying to use the if statement, but the code is only read once.
    How do I get this code to be read several times?
    For example, when the car passes the detector the number goes to 10.
    So the code does not detect the if statement because the code is only read once.
    Code:
    var score: Number = 9;
    if (score == 10)
    gotoAndPlay (3);

    you could put that code in a function and use a loop (like enterframe to call it) or, even more efficent, call the function whenever score could be changed.

  • How to use analytical function in this case

    SELECT COUNT (rms.status_code) rms_status_count,
    rms.status_name rms_status_name,
    TO_CHAR (rtd.add_date, 'MON')|| ' '|| TO_CHAR (rtd.add_date, 'YYYY') month_year,
    MAX (rtd.add_date) date_for_sort
    FROM ri_mast_status rms, ri_tran_data rtd
    WHERE rtd.status_code = rms.status_code
    AND TRUNC (MONTHS_BETWEEN (SYSDATE, rtd.add_date)) < 36
    AND NVL (rtd.delete_flg, '0') = '0'
    GROUP BY TO_CHAR (rtd.add_date, 'MON')|| ' '|| TO_CHAR (rtd.add_date, 'YYYY'),
    rms.status_name
    ORDER BY MAX (rtd.add_date);
    it gives output for the last 3 years based on month and year.

    r you trying this ?
    select *from
    select rms.*,
    row_number() over(partition by TO_CHAR (rtd.add_date, 'MON')|| ' '|| TO_CHAR (rtd.add_date,rms.status_name 'YYYY') order by rtd.add_date) RN,
    MAX(rtd.add_date) over(partition by TO_CHAR (rtd.add_date, 'MON')|| ' '|| TO_CHAR (rtd.add_date,rms.status_name 'YYYY')  order by rtd.add_date) date_for_sort,
    COUNT(rms.status_code) over(partition by TO_CHAR (rtd.add_date, 'MON')|| ' '|| TO_CHAR (rtd.add_date,rms.status_name 'YYYY')  order by rtd.add_date) rms_status_count
    FROM ri_mast_status rms, ri_tran_data rtd
    WHERE rtd.status_code = rms.status_code
    AND TRUNC (MONTHS_BETWEEN (SYSDATE, rtd.add_date)) < 36
    AND NVL (rtd.delete_flg, '0') = '0'
    where rn=1

  • How to use the List in this case.

    I got sample code from http://developer.java.sun.com/developer/technicalArticles/ThirdParty/WebCrawler/. But when I compiled it, there was error message like "webcrawler.java:16: reference to List is ambiguous, both class java.util.List in java.util and class java.awt.List in java.awt match List listMatches; "
    I think it might be because it was written by JDK1.1.3. I am using JDK1.4 to compile it. Can any body tell me how to make it can be compiled by JDK1.4?
    Thanks a lot.

    Hi olivia16
    There is an interface called java.util.List and a class java.util.List :-)
    To correct source code just put java.util. prefix at lines 16 and 76:
    java.awt.List listMatches; // 16
    listMatches = new java.awt.List(10); // 76
    Regards.

  • I cannot receive keychain code on my mobile phone! How can I activate keys in this case?

    After confirming my pin code, the system says I will receive a message with code. This message never comes. Trying since past two weeks. Help, pleaase! =)

    Welcome to the Apple Community.
    Check that you have entered the number correctly. (Settings > iCloud > Account > Verification Number, on your mobile device or System Preferences > iCloud > Account Details > Verification Number. Also confirm that the number is able to receive text messages (i.e. it’s not a landline)

  • How to use a CTE in a CASE statement?

    Hi everyone,
    I'm trying to use a CTE in a CASE statement and getting error. In fact, I'm not sure how to use a CTE in this case and this is the first time I'm using a CTE. I managed to build a CTE successfully but, failed to incorporate it in the CASE statement.
    SELECT wbs,
    MIN(srt),
    MAX(srt)
    CASE ust
    WHEN
    WITH CTE AS
    SELECT p_id + p_name + ps_name AS colg, p_id
    FROM pd_info
    WHERE s_desc = 'warehouse'
    OR p_desc = 'Originated from warehouse'
    OR p_desc = 'Originated from a partner store'
    SELECT colg FROM CTE
    WHERE cte.colg IN (SELECT p_id + p_name + ps_name AS c
    omb from pd_info)
    OR cte.p_id = 'xxxxxxxx' THEN 'invalid'
    ELSE 'valid'
    END,
    p_name,
    sub_name,
    ps_name,
    FROM pd_info;
    Could experts here please help me?
    Thank you,
    Bangaaram
    Known is a DROP, Unknown is an OCEAN.

    With the help from some experts, I've figured out that CTE doesn't work in this case. Here are the queries that I'm using for the above. Either of them is working good so far.
    SELECT Wbs
    , MIN ( Srt )
    , MAX ( Srt )
    , CASE
    WHEN S_Desc = 'warehouse'
    OR P_Desc = 'Originated from warehouse'
    OR P_Desc = 'Originated from a partner store'
    OR P_Id = 'xxxxxxxx'
    THEN 'invalid'
    ELSE 'valid'
    END AS Ust
    , P_Name
    , Sub_Name
    , Ps_Name
    FROM Pd_Info
    GROUP BY Wbs
    , CASE
    WHEN S_Desc = 'warehouse'
    OR P_Desc = 'Originated from warehouse'
    OR P_Desc = 'Originated from a partner store'
    OR P_Id = 'xxxxxxxx'
    THEN 'invalid'
    ELSE 'valid'
    END
    , P_Name
    , Sub_Name
    , Ps_Name;
    SELECT wbs,
    MIN(srt),
    MAX(srt)
    CASE
    WHEN cte.p_id = 'xxxxxxxx'
    or exists
    (select *
    from pd_info p2
    WHERE (s_desc = 'warehouse'
    OR p_desc = 'Originated from warehouse'
    OR p_desc = 'Originated from a partner store' )
    and p2.p_id = p1.p_id and p2.p_name = p1.p_name and p2.ps_name = p1.ps_name
    THEN 'invalid'
    ELSE 'valid'
    END ust,
    p_name,
    sub_name,
    ps_name,
    FROM pd_info p1;
    Thank you,
    Bangaaram
    Known is a DROP, Unknown is an OCEAN.

  • How can I populate the users in the Directory Server?

    Hi all,
    I'm a new of Sun ONE Directory Server 5.2, I've just install a copy of it on Win2000 server and I have a small question to ask.
    How can I populate the users (This user can be use to login in to Sun ONE install messenger) in the Directory Server using the Directory server's admin console?
    Thanks in advance,
    Tuan Anh,

    Thanks Ramnath,
    I've read your suggest, but actually, I really wanted to know how to populate user and password. I've read some thing below in Sun ONE Directory 5.2 Getting Started Guide.pdf
    � o=userRoot
    During installation, a user database is created by default. The default name of
    the user database is o=userRoot. You can choose to populate this database at
    installation, or to populate it later.
    But I don�t know the related document, I have create successful user and pass by using admin console. But can not user this user to login in to Instant messenger.
    I'm looking forward to receive your help
    Tuan Anh

  • Hi, I got an Error 23 when trying to restore my phone. Apple support centre says its a hardware issue without doing anything to come to this conclusion. They will not tell me how to escalate this case. Please let me know if there is a way to escalate.

    One day when tried to restart my iphone 4, I got a screen asking me to connect to itunes. Itunes asked me to restore my phone. When I tried to restore, I got an Error 23 saying it cannot be restored. I tried the phone support. They asked to contact the service centre. I then tried the service centre guys. They clearly did not know what Error 23 was. They asked to contact the apple support again. After 2-3 guys tried to blow me off saying it is a hardware issue, I asked for a senior analyst. Apple support assigned a senior guy who said he will contact the engineering team. After 2 days, I was told that the engineering team has confirmed that this is a hardware issue.
    What I am surprised about is that no one seems to have done any analysis or debugging to figure this out. How do they decide that this is a hardware issue?
    The first time I tried it from my laptop and got this message. The support guy told me that my laptop may have an antivirus software which may be causing this issue. So I took it to the service centre. They tried the same restore from their machine and got the exact same error.
    The senior analyst that was later assigned to my case, again asked me to restore from my machine. I got the same error.
    Basically what they had verified in all these activities was that I was getting error 23. I dont know how they decided that this was due to hardware issues?
    Online documentation on Error 23 is vague. It is bunched long with other error codes. There is no clear explanation of what Error 23 is.
    But most importantly It says 'In rare cases, this may be a hardware issue'.
    So if it is a hardware issue in rare case, how was my case deemed to be a 'rare case'?
    When I asked them to escalate this, they said that there is no way to escalate.
    I have had a horrible experience with Apple support. Till this point I used to think of Apple as a class apart. But now I am totally disillusioned.
    My phone was about a year and a half old. I dont mind it if it actually turns out to be a hardware issue. I will take it as my bad luck.
    But I dont see how the support guys decided that this is a hardware issue. I need to know.
    And secondly I am shocked that Apple has no escalation path.
    Can anyone please help?

    Hi @imobl,
    You sound like an Apple support guy who hasn't been able to answer my questions.
    To respond to some of the points you made,
    - I did not ignore Ocean20's suggestion. If you has read my post, you would have known that I took my phone to the apple service centre where they tried this restore on THEIR machines. I am assuming that Apple guys know how not to block iTunes. So I actually do not understand your point about me trying the hosts file changes on my machine. Do you not believe that apple tested this issue with the correct settings?
    - you also give a flawed logic of why the issue is a hardware issue. You mentioned that If I thought that the issue was with the software, i should try a restore and getting it to work. The problem is that my error (23), and many others comes up when the restore fails. And you would be astonished to know that not all errors are hardware errors. Sometimes even software errors prevent restores. Funnily enough Apple itself mention that 'in rare cases, error 23 could be hardware related'.
    - all Apple has done so far is replicate the issue. I don not know how anyone can conclude that the issue is a hardware issue.
    And by the way, I am not certain that this is a software bug. Again if you read my Posts, you will notice I only want a confirmation,/proof that the issue is hardware related as they mention..
    Please refrain do. Responding if there is nothing to add.

  • ICloud ruined my life- how can I escalate this case further!!!

    The unthinkable has been hande to me by Apple.
    iCloud corrupted 40% of my documents. Then 'reset' the remaining 60%
    100% of my documents erased by Apple. This has taken 8 months of my life away, the apple care process has been woeful. So many Senior Advisors said they would 'take ownership of the case' and 'call me back'. Nothing, no call back- I am forced to call up again- explain the case again- be promised again by another Senior Advisor that they would 'take ownership of the case' and 'call me back'...
    I am left shattered.
    This was a few months ago- i have lost huge amounts of irreplaceable research generated from over 2000 hours of my own personal work.
    It was not backed up to my mac book as it was rendered inoperable when i 'upgraded' to OSX Lion.
    I did all my work for 8 months on my ipad. All documents were created and stored locally on my ipad. I had no access to my LaCie external because my macbook was inoperable.
    It was recommended by Apple Genius that I turn on icloud for Documents. iCloud then corrupted the documents and synced that corruption back to my documents locally stored on my ipad.
    I could then see all the images in pages documents view. But could not open them- that was for about 40%of my documents. I could still access the other 60%
    My account was then referred to the iCloud engineers. After a few weeks with no contact from apple I called up to chase up this loss of my documents- it had been going on for 7 weeks at this point.
    The senior advisor told me that my account had been 'reset' and should be working fine now..
    WHAT!!!! Reset!!!?????? so what about the 60% of docs that i had access to?
    Gone. Deleted from the icloud account, synced back to my ipad.
    All Gone.\
    If i had been contacted by the engineers. 'We cannot fix your corrupted documents. We propose to reset your account. That will erase all data and documents in your account. Is this ok? Please backup any documents you have on your ipad.'
    This would have saved 60% of my 8 months research- which is a lot.
    but no- no contact, just reset my account and erased my documents.
    its unbelieveable and unthinkable.
    I am a MASSIVE apple fan- i have 22 Apple devices and tell everyone in my network that all my dreams have come true with Apple- ridiculing them for using other devices. It has now turned into a nightmare.
    I WENT TO THE APPLE STORE IN SYDNEY IN DESPARATION- TO FIND OUT IF THERE WAS AN IMAGE OF THE DOCUMENTS SOMEWHERE/ANYWHERE!!! I KNOW THEY CAN ONLY CONTACT ICLOUD IN THE SAME WAY AS ME- BUT WHAT OPTIONS DID I HAVE- I COULDN'T ESCALATE THROUGH APPLE ANY HIGHER- THEY TOLD ME THAT THE SENIOR ADVISORS AND ENGINEERS WERE AS HIGH AS I COULD ESCALATE. SO I WENT TO THE APPLE STORE AND TOLD THEM THAT I WOULD NOT LEAVE THE STORE UNTIL IT WAS RESOLVED- THEY TOLD ME THEY COULDN'T HELP ME- I STAYED FOR 8 HOURS- AFTER 1.5 HOURS WE FOUDN OUT THAT THE ENGINEERS LIKENED TRYING TO RESTORE MY DOCUMENTS TO TRYING TO REBUILD A BURNT DOWN HOUSE.
    We were about to release our energy saving App globally. I had a meltdown and just went away on holiday to New Zealand and Thailand with my kids- I couldn't face the reality of what i had to do to recover.
    I came back to try and get back on track recently. My only way forward was to forget about it and start again.
    AND THEN!!!
    I stupidly used pages on my ipad to edit a document from our development partner the other day. I opened my pages today, the document was there- then in front of my eyes all the documents shuffled around. Guess what- the doc I had edited disappeared.. In shock i called Apple Support. He asked me to check on icloud. com. 15 documents, not the one i want, advisor can see my doc- i cannot. I feel naseous.
    THIS CASE HAD ALREADY GONE TOO FAR. BUT NOW I HAVE HAD ENOUGH!!!!!!
    How can i escalate further? There must be a way. This is not acceptable! Apple are messing with my life!!!!! I'm losing too much time and money- it's just not fair at all. Something MUST be done by way of compensatiing for this series of errors!!!!

    There's nothing anyone here can do for you, and I'm afraid I have little sympathy.
    2000 hours of "irreplaceable work" and at no point during those 8 months did you think "Gee, I really should back up all these hugely important files just in case my iPad gets stolen, lost, breaks or some other disaster occurs"?
    As soon as you noticed something was amiss, or even at the point when you still had access to 60% of your documents, why did you not take the opportunity to download a copy of them via iCloud.com (on any computer) and save them safely on a memory stick or other backup device?
    Having just one copy of any file is asking for trouble. Backing up regularly is the No.1 rule of computing. Apple is not responsible for your lack of any backup routine. Apple advise you to backup regularly. Being able to backup your iPad should've been your motivation for spending an hour or two of those 2000 getting the MacBook up and running.

  • I've moved my Aperture library to another computer, and masters are referencing an old path name.  How can I update these references?  Reloctating masters does not work in this case :(

    I've moved my Aperture library from one computer to another using Finder.
    I merged the library with one which was already on the computer.
    Now, the photos I imported have reference to the old path name on my old computer.
    How can I update these references as "Relocate Masters" does not work in this case?

    Just one suggestion to be able to reconnect all at once:
    Create a smart album containing the images with missing masters:
    File -> New ->  Smart Album,     and add a rule: File Status is "Missing"     (or File Status is "offline")
    Then select the images in this album and go to the File menu:
    and select:   File -> Locate referenced File
    If you are lucky, Aperture will reconnect all at once, if you point the first image version to its counterpart.

  • My authorization is to buy in an itunes USA store, but how can i buy an album from an itunes store of another country (this case Brazil)?

    my authorization is to buy in an itunes USA store (per the message that pops up on my iPhone 4), but how can i buy an album (using either my iPhone 4 or MacBook Pro) from an itunes store of another country (this case Brazil)?

    You cannot use other countries itunes stores.
    Sorry

  • IPod touch 1st generation could not be restore on iTunes, an unknown error occurred (1). how can i fixed this case?

    My iPod touch 1st generation could not be restore on iTunes, the message was "The iPod "iPod" could not be restore. an unknown error occurred (1)".
    my serial number is AB1905714N
    how can i fixed this case?
    thank you

    ERROR (1)
    - Place the iPod in DFU mode and then restore
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Try on another computer
    - Try another cable           
    - Also, confirm your security software and settings are allowing communication between your device and update servers.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar     

Maybe you are looking for

  • Touchpad headphone jack partially works

    Finally got a refurbished unit that has working wifi and now I find out that when headphones are used sound only comes out of the left channel. The diagnostic test for the headphones wont recognize that the headphones are being plugged in. Everything

  • How to write a cursor for mutiple columns in forms urgent required.........

    i created one table rk with 8 columns and that i designed in forms. but i have another table grk with 4 columns. this grk contains data. this grk 4 columns data i have to retrive in rk table in froms by multiple records. the both column names are sam

  • Invoke node (parallely working VIs in a library)

    Hello everyone, I am trying to evaluate a temperature sensor.To do that I have to monitor thermocouple readings.Thermocouple is connected to FP-TC-120 temperature module. Besides, I have to acquire data from an optical spectrum analyzer. I am using 3

  • Can We Trash the Deleted Users Folder?

    At HD>Users, there's a Deleted Users folder. My 'home' account is 'Dave' and the Deleted User is 'Dave'. I don't recall ever messing with Accounts. Anywho, this folder is 1.33 GB! Can I safely trash it? Thx!

  • 2 forms on a page ?

    Hello I am creating a complicated page with several reports (no problem) and 2 forms. The problem is that the "Process Row of ...." processes seem to collide (I guess it's vecause they both catch the request). Is there a simple way to sort this out (