Editable Poplist

HI Everybody,
Is there anyway to create editable poplist in OAF. As there is a specific requirement in which the person can select a value from the poplist and can then edit that if he wants.As this application is buit on some other technology and user wants same feature in OAF. Is there any work around or standard OAF can achieve this.
Thanks

Hi,
I dont think there would be a provision to select the value in the poplist and edit it directly (as you rename a file in Windows Operating system).
Let me try to summarize the steps:
1. Instead of Poplist View Definition, we would need to provide the view Instance in the AM.
2. The user can select the value in the poplist and click on the button 'Change'. Dynamically (PPR) a new field can be shown on the Page which would ask the user for the new display value.
3.
a. Also a button would be shown on the click of which a PLSQL API would be called. The API can be made as autonomous so that it always commits the data even before the other aspects are not committed. Then execute the poplist VO query.
b. There is another approach wherein on click of the new button, you can loop through the VO (poplist VO) rows and find the row with value attribute stored in the Page VO attribute associated to the PickList. Then modify the picklist display attribute with the value in the field as referred in point 2 above.
Frankly its what I think should work and haven't tried on my own. So it would be good if you could think on those lines and see if that helps. The approach 3a looks more possible, but 3b is easy. So I would recommend 3b if it works as expected.
Regards
Sumit

Similar Messages

  • Null value in poplist

    Hi,
    I'm using forms6i, I'm having a poplist in my form, which i populate in when-new-form-instance.
    So when i open the form, and try to select one value, i'm seeing one null value, and if i select one value from list and again try to change the value then the previous null value is gone.
    So to avoid that in when-new-form-instance itself , i assigned one value to the poplist using Get_List_Element_Value.
    But the problem is since i'm assigning value, the form goes in insert status, and so even if i dont enter any valuees and try to exit, it is asking Close Form? (because i have few non-null items also).
    How can i get one safe solution (like as it work when we assign some static values to the poplist).
    ie i dont want nulls to be seen iin the list also i dont want the close form? message
    I tried one solun by setting the form status as new again in w-n-f-i. But since i have multirecord block, this problem comes with every record.
    Please suggest one better solution

    Hi Divya
    why don't u try putting the same code of the w-n-f-i in when-validate-record or when-new-record-instance may be it work...
    if not working pls share us the code what about an example:
    declare
    rg_name varchar2(40):='r_area_record1';
    rg_id Recordgroup;
    LIST_ID ITEM;
    errcode NUMBER;
    begin
    rg_id:=Find_Group(rg_name);
    if Id_null(rg_id)
    then
    rg_id :=Create_group_from_query(rg_name,
    'select VC_ID , research_area from research_info
    where proff_id= 9');
    LIST_ID:=FIND_ITEM('TRY_BLOCK.TRY');
    end if;
    errcode:=populate_group(rg_id);
    POPULATE_LIST(LIST_ID,RG_ID);
    end; Regards,
    Abdetu...
    Edited by: Abdetu on Jan 27, 2011 2:30 AM

  • Issue in Dependent poplist in Advanced table

    Hi,
    I am facing problem while implementing dependent poplist in advanced table. I have a query region and the results are populated in advanced table. In advanced table i have 2 poplists A and B.
    A is dependent on one of the column C1 in the advanced table. This value of C1 comes from database and is read only field in the advanced table. Based on different values in column C1 value in poplist A should be populated.
    Poplist B is dependent on poplist A. The value in poplist B should change when i change the value in poplist A.
    So both the poplist queries have bind variable. Poplist A has bind variable for column C1 and poplist B has bind variable for A.
    I have gone through the thread http://forums.oracle.com/forums/thread.jspa?messageID=2297322&tstart=0 and followed all the steps mentioned by Mukul.
    *1) I have set picklist view definition for both poplists A and B. Both the poplists have Add Blank Value = True*
    *2) In the process request method, i have set setListVOBoundContainerColumn and picklist cache to false*
    //Get poplist fields
    OAMessageChoiceBean mcbA =
    (OAMessageChoiceBean)webBean.findChildRecursive("A");
    OAMessageChoiceBean mcbB =
    (OAMessageChoiceBean)webBean.findChildRecursive("B");
    //set the poplists cache as null
    mcbA.setPickListCacheEnabled(false);
    mcbB.setPickListCacheEnabled(false);
    //Assign the bind Variable for poplists
    OAAdvancedTableBean advTableBean = (OAAdvancedTableBean)webBean.findChildRecursive("AdvTblRN");
    //Set the bind variable to C1
    mcbA.setListVOBoundContainerColumn(0, advTableBean,"C1Field");
    //Set the bind variable to ActionField
    // BFormValueField is attached to a transient attribute ATransAttr with default value as xxxxx
    mcbReasonField.setListVOBoundContainerColumn(0, advTableBean,"BFormValField");
    *3) I have set fireaction event EVNT on poplist A.*
    *4) In the process form request on EVNT i am setting the value of transient attribute ATransAttr equal to the value selected in poplist A for the particular row.*
    if(strPageEvent.equalsIgnoreCase("EVNT")){
    //To fetch the row reference from VO
    String rowReference =
    pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Serializable[] serRowRefParam = {rowReference};
    applicationModuleObj.invokeMethod("execPoplists",serRowRefParam);
    AM method
    public void execPoplists(String strRowRef){
    SearchQueryVORowImpl rowSearchQueryVOObj =
    (SearchQueryVORowImpl)findRowByRef(strRowRef);
    if(rowSearchQueryVOObj != null) {
    String strAVal = rowSearchQueryVOObj.getA();
    rowSearchQueryVOObj.setATransAttr(strAVal);
    When i run the page and do a search, i am getting correct values in poplist A depending on value in Column C1. But when i select any value in poplist A (for any row) the value in poplist B is changing for all the rows of advanced table. The requirement is that Poplist B of the selected row should display the values based on the value of poplist A for that row. Poplist B for other rows should display blank as nothing has been selected in the poplist A for those rows.
    Please let me know what have i missed in the above code.
    Thanks,
    VG
    Edited by: VG on Jul 18, 2011 8:02 PM

    Hi Gyan,
    Let me know if there is a workaround for the problem. I want poplist B to display values based on poplist A for each row. If i select A1 from Poplist A for row1 then poplist B should display values B1,B2,B3 in that particular row1. Other rows should not display these B1,B2,B3 values as i have not selected anything in poplist A of other rows.
    Thanks,
    VG

  • How to insert data values using Poplist to both block items....

    Hi,
    I have created a poplist which should return a sequence(which is stored in a db table) and a description .
    The sequence(stored in table) is of number datatype and the description is of varchar2.....
    I have created the required record group as:
    rg_id := Create_Group_From_Query('TEXNIKOS_GROUP', 'select eponymo , to_char(seq_code_ergazomenoy)
                                                           from ref_ergazomenos,ref_eidikothta
                                                           where ref_ergazomenos.code_eidikothtas_type_id=ref_eidikothta.seq_code_eidikothtas
                                                           order by 1');
       status := Populate_Group( rg_id );
       if (status = 0)
         then
          POPULATE_LIST('MOD2_KLISI_VLAVIS.TEXNIKOS_FNAME','TEXNIKOS_GROUP');
       end if;The field 'MOD2_KLISI_VLAVIS.TEXNIKOS_FNAME' is the description i described above ... and whereas this block item is filled with the selected poplist... the sequence - the code of the db table- is not.....
    Is it possible to do so.... ????
    NOTE: i use Dev10g.
    Many thanks,
    Simon

    I have two block items:
    seq_code_ergazomenoy: number datatype , db item , invisible
    eponymo:varchar2 datatype , non db item , visible
    How to fill these both block items using the written record group...?????
    Now , only the "eponymo" block item is filled but not the required "seq_code_ergazomenoy"....
    In other words.... is there any manner to do the column mapping of the two selected columns (in the dynamically created record group) to the two block items....????
    Thanks,
    Simon
    Message was edited by:
    sgalaxy

  • Populating a poplist in a query

    I am populating a poplist at runtime (from another master table) depending on the selected value in a field before that. From the populated description I get the code and keep insert this to the based table which is used to insert the entered data.
    When doing a query for the inserted record i need to get the above saved code and populate the description to the same poplist.
    Is there an easy way?
    Message was edited by:
    user483578

    For top-level properties of your item objects (which I think
    you will have), just specify the labelField. For values in nested
    objects, or for calculated or concatenated columns, you wil need to
    use a labelFunction.
    I advise against binding directly to the result
    ("lastResult", to be specific when binding) and advise using a
    result handler function in which you can inspect the exact
    structure of the event.result object (just "result" in an event
    handler).
    To work up to this, why not hard code a bit of dataProvider
    that is EXACTLY what you think you will be getting from the CFC.
    Put it in a [Bindable] variable and bind the combobox dataProvider
    to that. Use labelField or labelFunction to get the combobox to
    work with that, then implement the data service call, and in its
    result handler, assign the event.result to the bindable variable.
    Voila!
    Tracy

  • Create Poplist dynamically in Benefits Self Service

    Hi All,
    I have a requirement , where I have to display few questions (with drop list/pop list with values "Yes/No") . The number of times these questions have to be displayed depends on number of children employee has . I know how to create the poplist (as a messageChoice item) in Jdev / through personalization . But I was wondering how can we create this dynamically/programatically in runtime and pass the value(s) selected (Yes/No) to the DB.
    Any directions/suggestions will be of great help.
    Thanks for your time & attention

    Hi Reetesh ,
    Thanks for your help . I did the following based on your directions :
    OAMessageChoiceBean DepCvgList =
    (OAMessageChoiceBean) createWebBean(pageContext, MESSAGE_CHOICE_BEAN);
    for (int i =1 ; i<=4;i++)
    DepCvgList.setID("DepVal" + i);
    DepCvgList.setLabel("Test ");
    DepCvgList.setPickListViewUsageName("XXYesNoVO1");
    DepCvgList.setListDisplayAttribute("Meaning");
    DepCvgList.setListValueAttribute("LookupCode");
    DepCvgList.setViewAttributeName("Cvg");
    DepCvgList.setAttributeValue(OAWebBeanConstants.DEFAULT_VALUE, null);
    DepCvgRNBean.addIndexedChild(DepCvgList);
    It displayed all 4 items. Now that I have created the messageChoice items and set ID , I would like to retrieve the values (Yes/No) stored in this messageChoice items . For testing , I tried retrieving the values of the first item , using below code :
    OAMessageChoiceBean DepStatus1 = (OAMessageChoiceBean) webBean.findIndexedChildRecursive("DepVal1");
    String DepCov1 = (String) DepStatus1.getValue(pageContext);
    System.out.println("The value is : "+DepMedCov1);
    Now with the above code I am getting a null point exception at "String DepCov1 = (String) DepStatus1.getValue(pageContext);" line . Can you please let me know ,if there is something wrong here . I am going thru a learning curve , pls excuse me if this is a stupid mistake. :)
    Thanks for your time & attention
    Edited by: Chandu_CS on Aug 17, 2010 8:14 PM
    Edited by: Chandu_CS on Aug 17, 2010 8:14 PM
    Edited by: Chandu_CS on Aug 17, 2010 8:17 PM

  • *** URGENT *** Poplist VO results not current unless Apache is bounced.

    All,
    In my "create" page I use a VO for my poplist. The VO utilizes a "where" clause to identify specific accounts to choose from based on a configuration value. My poplist doesn't update properly when updating the configuration value unless I bounce Apache. Is typical within OAF?
    select cont_cd, cont_cd||' - '||customer customer
    from spl_account_map
    where attribute4 <> 'N'
    or attribute4 is null
    When I update Attribute4 = "Y" for specific accounts, they don't appear in poplist unless Apache is bounced. Is this typical? Would an LOV work instead?
    Thanks,
    -Scott
    Edited by: sreese on Jun 8, 2009 1:53 PM

    Prior to release 11.5.10, poplist data was cached on the middle tier in a proprietary OA Framework cache that could not be refreshed without bouncing the Java Virtual Machine (JVM). As a consequence, poplists could not reflect changes in the underlying data source while users were actively working. Starting with release 11.5.10, poplist data is cached using the Oracle Applications Java Caching Framework, and as a result, you can implement cache invalidation to automatically refresh poplists when the data they query changes. For example, if a poplist queries the values A, B, C, and D, and a new value E is inserted in the underlying table, your poplist can automatically reflect the addition of this fifth value the next time it renders its data.
    Dev guide says "Apply patch 3688496 to any environment in which you plan to deploy this caching functionality.", seems to solve this this. For details refer to "Cache Invalidation" in dev guide.

  • Poplist behavior for selecting value starting with a letter

    Hi
    I have got a poplist in a control block in my form. This is a database item and is populated fine.
    Now, the problem is if I want to select one record in the poplist starting with a particular letter, in-one-go, it is not possible..
    For example, I know that the value in the poplist I want, starts with the letter 'D'
    There are 10 values in the poplist that starts with the letter 'D' and I want to select the 6th value that starts with 'D'.What I want is, when I type in 'D', the poplist should pass controlto the (i.e. select) first element in the list, which starts with 'D'...then it should still remain as popped.The user should be allowed to navigate to all "D's" either using up arrow, down arrow or by typing in the letter D itself..
    Now what happens is, if I type in 'D' in the keyboard, the first value among the list that starts with 'D' is selected by the poplist and the records corresponding to this value is displayed.
    The up arrow/down arrow works fine in the following case now - If I click on the poplist, but do not actually select any item and just use up arrow, downarrow, it works...
    But the real requirement is when typing in any letter, any value in the poplist need not get selected ,but the poplist values should popped up so that the user can browse on it, and then select the required value.
    I will be grateful if somebody gives me the code for this and also tell me which trigger to put in the code?Any property needs to be changed?
    At the moment , my when-list-changed trigger is as follows..Also want to know, if this need to be changed at all?
    go_block('MY_DATABLOCK');
    clear_block(no_validate) ;
    execute_query;Edited by: Krithi on 12-Aug-2009 04:12

    Krithi wrote:
    You have moved far away from what I really need
    I DO NOT use a webform and I dont need to use Javabean in my form!You never mentioned anywhere that YOU DO NOT use a webform. One more reason why you should mention your forms version when you post some questions ;-) which would help others to respond with relevant answer.
    Its just the normal form.
    I said I have just seen examples in web forms but I believe it is do-able in normal forms too..Pls help someone?I am afraid you do not have much choice in client server.
    -Arun

  • How to resize the poplist List Item

    How can I resize a poplist List Item so that when it's expanded all of my item choices are displayed and the user doesn't have to use a scroll bar to move up and down the list of choices?

    The number of choices that are displayed in a poplist (or combo box) is determined by Forms and cannot be specified. However, if you use a t-list you can expand the list by using the height property.
    Message was edited by:
    Mark Roberts

  • Row handling Poplist values

    Hi All,
    I am using switcher to show Text/Poplist for each row depending upon the Type.
    Now for Each row there are different related Poplist values.
    But while displaying in the page for each n every row I am getting the same poplist values for all rows.
    How to get the related Poplist value for each row?
    Here is my code
    CO
               OAViewObject vo = (OAViewObject)am.findViewObject("XXLCAssignmentsVO1");
               vo.first();
               int count = vo.getRowCount();
               System.out.println("List Count :"+count);
               for (int i=1;i<=count;i++)
               OARow varRow = (OARow)vo.getCurrentRow();
               if(varRow!=null)
               oracle.jbo.domain.Number list_id = (oracle.jbo.domain.Number)varRow.getAttribute("ListId");
               String slist = list_id.toString();
               System.out.println("List_id :"+list_id);
               if(list_id!= null)
               //String listid = pageContext.getParameter("ListId");
               System.out.println("List Id = "+list_id);
               Serializable[] params = {slist};
               System.out.println("Invoke InitListValue = "+list_id);
               am.invokeMethod("initListValue",params); 
               if(i<count)
                   System.out.println("List Next Row ");
                   varRow = (OARow)vo.next();
               }AM
      public void initListValue(String listId)
        System.out.println("init ListValue in AM= " + listId);
        XXLCValueListVOImpl vo = getXXLCValueListVO1();
        vo.initListValue(listId);
      }Thanks,
    SK

    Try this:
    If no column is not present which has "ListId" as its view attribute then Create column in the table and use "ListId" as its view attribute.
    Use the below code in processRequest:
    OATableBean XXX = (OATableBean)webBean.findChildRecursive("XXX");
    OAMessageChoiceBean LinePoplistItem = (OAMessageChoiceBean)XXX.findChildRecursive("LinePoplistItem");
    // LinePoplistItem is your poplist item bean ID
    LinePoplistItem.setListVOBoundContainerColumn(0, XXX,"ListIdBean");
    // here "ListIdBean" is ID of the item which has "ListId" as its view attribute Refer http://mukx.blogspot.com/2007/09/dependent-dynamic-message-choicelists.html
    -Anand
    Edited by: T.A.Anand on 13 Dec, 2010 5:12 PM

  • URGENT:Making a poplist value freezed based on another poplist value

    Hi,
    I have a requirement to make a poplist value freezed(should get disabled so that no further change can be done) based on another poplist value.
    for ex : poplist 1 : A,B.
    poplist2: yes,no
    if A is selected, yes,no should appear in the poplist2.
    if B is selected, only YEs should appear in the poplist2 and it should get greyed out(disabled for further changing).
    Please help.
    Thanks,
    Veena.
    Edited by: Veena. on Dec 31, 2012 4:00 AM

    Veena,
    there is nothing urgent on this forum!
    You know that you should provide your jdev version so that we can help you solve your problem.
    Next it would help if you provide the code (of the page) so that we see how you setup the 'poplist' (whatever that exactly is).
    If you mean a selectOnceChioce you can implement a valuechangeListener on poplist A and depending on the new value set the value of poplist B to yes and disable it.
    Timo

  • Using :$FLEX$ to create a mutually exclusive parameter condition without poplist values

    Gurus,
    I've been unsuccessfully searching for an example of utilizing the $FLEX$ to mutually exclude one of two parameters.  Most of the examples I've seen are based on poplist value presented in parameter B for a value provided in parameter A.
    Here's what I need:
    Parameter A is initially editable
    Parameter B is initially editable
    If a value is entered for either B or A, then the other parameter will become greyed out.
    Pretty simple.   I need a straight forward answer.  I would prefer not having to create a custom value and use the "sql statement" option, but if there is no other way then that will be fine.
    Thanks in advance!

    Anyone got anything on this?

  • Editable list item

    Can a list item be editable...I have populated a list item using a record group.The user should be able to edit the values in the database using this list item.It is a poplist.

    you want to edit the data which is shown in the list item?
    if you select the data from a table to show it in the list-item, then you have to update the data in this table. Create a form, which you use for this lookup-table and update the data through this form...

  • Open and edit animated .gif while preserving frame timing

    CS4 Premium Design Edition, Win XP
    I was disappointed with the removal of Image Ready from CS3 because although some of the functionality was placed into Photoshop 10, there was no way to open and edit an existing animated .gif while preserving the timing of each individual frame. I was told on the PS forum at the time that I really needed to use Fireworks. I resented that, because I was very happy with Image Ready and I didn't want to have to learn a new application just to gain functionality that had been included in previous versions of PS/IM.
    I've now got CS4 Premium Design Edition which of course includs Fireworks... and here's what Help has to say on the subject of imported .gifs.
    "Note: When you import an animated GIF, the state delay setting defaults to 0.07 seconds. If necessary, use the States panel to restore the original timing."
    This is no use to me. What if I don't know the individual frame timings? What if there are 200 frames with varying timings?
    Simple question: which current Adobe product is capable of importing a .gif while retaining the frame timings? If anyone knows, or if I've misunderstood the nature of the Fireworks Help quote above, I'd really appreciate some input here. Thanks :)
    Not so simple question: why was an excellent gif-editing application thrown out to have its functionality partially replaced by a bunch of scripts and half-effective workarounds cooked up by desperate users ("import a gif by using the video import and typing *.* into the filename box..")? It's a fair question I think.
    Mark

    Hi Bob, that's not glib at all, it's a reasonable question.
    I uninstalled it along with everything else when I installed CS3, in the reasonable expectation that whatever replaced IR would be at least equal in functionality.
    Perhaps I should just dig out CS2 and install IM from there, but I have some serious reservations about doing so, because I don't know if/how a partial install of CS2 will impact upon my installation of CS4, and I'm not confident of getting support.
    I am also curious to know if/why Adobe actually removed basic functionality without replicating or replacing it in their other software. I really want to know: which recent, currently supported Adobe product
    should I be using in order to regain this functionality? Or do Adobe no longer produce a geniuinely comprehensive .gif-editing application?
    Mark

  • Creative Mediasource ID3 Tags - Edit more than one year at a ti

    I use a 60gb Zen Xtra with Mediasource. I take pride in the ID3 tags of all my files especially those of my Jazz collection and my player is well organised. The only thing I have to ask is - is there any way of editing the year of, say, an entire album that was recorded in 959 for example all at the same time. It lets me do this for Artist, Album and Genre but not year. Is there any upgrade in software I can get or am I just missing something here?
    Thanks in advance for your input,Matt

    Shucks, I tried and you can't seem to do it. A curious oversight.
    You can either use another copying program like which will let you do it, or simply get a mass tagger (but you will need to edit the tracks on the PC first, then copy). For some mass tagger recommendations look here in the Zen FAQ at Nomadness.net.

Maybe you are looking for

  • How to change the closed caption display in cc 2014

    Hi since the new CC update they the option to change the closed caption seems to be removed. Currently it is set to teletext level 1. But i would like to change this to CEA-708. In the older version of cc u could change this by clicking the program m

  • Can't access iTunes store on new Macbook air

    Hi - I just bought a Macbook air and I've synced my phone to it, but when I try to open the iTunes store, all I get is a blank screen.  What do I need to do? Thanks!

  • Crystal Reports in Java with BEA Weblogic (test drive)

    Hello,<br/> <br/> The question is: What is wrong with Crystal Reports or BEA Weblogic, when they are working together? And how can it be repaired?<br/> <br/> I have a project working with reports. Tried to implement it for crystal reports and found a

  • Benefits/disadvantages of publishing a PDF from FM over RH?

    Hi everyone... Quick question. Is anyone aware of any benefits and/or disadvantages to publishing a PDF file out of FM over RH?  We are creating both PDF and online help, and screen shots in PNG format (not resized) in FM published to PDF don't look

  • Buffer Sizes Are Not Equal

    Okay what does this term mean: Buffer Sizes Are Not Equal I am playing with transitions. I have two clips with enough handles. I'm using the gradient wipe and putting a Photoshop file in the "well". That message pops up in the timeline when I'm stopp