Using two T lists i want to create a UI, from which user can make selection

I want to create a UI in forms 6i, wherein there will be two T lists on the same canvas. I'll populate the left one from the record group and then make selections to the right one using four buttons in between.
I'm using the add_list_element, delete_list_element, get_list_element_label, get_list_element_value built ins to do that. But it is not working properly. Giving a lot of forms errors.
The same thing can be done in JDeveloper using a shuttle bean.
An example of the UI that i want to construct :
The kind of UI that i'm talking can be seen when we construct a new form manually, then we goto data block wizard. There we browse for a table and the wizard gives the list of the columns for that table, from this list selections can be done using the four buttons in the same way that i intend my form to do. This is the kind of UI i want to develop.
I'm very new to development in forms. I'm sure you people at OTN will help me.
Thanks,
Abhishek.

Hi Abhishek
What is happening by these
Copy(v_value, p_tlist_into); and
...This commans set list item value (list selection).
The most simple way to move all elements between lists is to populate the target list from record group, and the to clear the source list. The lack of the given method - order of elements will be same, as in group.
PROCEDURE Move_All_Elements (p_tlist_from VARCHAR2, p_tlist_into VARCHAR2) is
v_value VARCHAR2(100);
v_label VARCHAR2(100);
v_index_from NUMBER;
v_index_into NUMBER;
v_count_from NUMBER; -- Count elements of tlist_out
BEGIN
--v_index_from := Get_List_element_count(p_tlist_from);
-- Get_List_element_count never return zero!
v_index_from := Get_List_Current_Index(p_tlist_from);
if v_index_from = 0 then -- The source list is enpty
--fnd_message.debug('elements=0, so return');pause;
RETURN;
end if;
--v_index_into := Get_List_element_count(p_tlist_into);
v_index_into := Get_List_Current_Index(p_tlist_into);
if v_index_into = 0 then -- The target list contant only DEFAULT value
--fnd_message.debug('no elements, so clearing the list');pause;
clear_list(p_tlist_into);
end if;
v_count_from := Get_List_element_count(p_tlist_from);
FOR i IN 1..v_count_from
LOOP
v_label := Get_List_Element_Label(p_tlist_from, i);
v_value := Get_List_Element_Value(p_tlist_from, i);
--Add_List_Element(p_tlist_into, v_index_into, v_label, v_value);
Add_List_Element(p_tlist_into, v_index_into+i, v_label, v_value);
-- The commands are lower in a loop are not necessary.
-- The commands after the loop make too most.
--Copy(v_value, p_tlist_into);
--Delete_List_Element(p_tlist_from, i);
--v_index_from := Least(v_index_from, Get_List_Element_Count(p_tlist_From));
--v_value := Get_List_Element_Value(p_tlist_from, v_index_from);
--v_value := Get_List_Element_Value(p_tlist_from, v_index_from + v_index_into);
--Copy (v_value, p_tlist_from);
--fnd_message.debug('done for one element');pause;
--exit when v_label is null;
END LOOP;
clear_list(p_tlist_from);
v_value := Get_List_Element_Value(p_tlist_into, v_count_from + v_index_into);
Copy (v_value, p_tlist_into);
EXCEPTION
when others then null;
END;

Similar Messages

  • Using two T lists i want to create a UI, from which selections can be made

    I want to create a UI in forms 6i, wherein there will be two T lists on the same canvas. I'll populate the left one from the record group and then make selections to the right one using four buttons in between. I'm using the add_list_element, delete_list_element, get_list_element_label, get_list_element_value built ins to do that. But it is not working properly.
    I'm very new to development in forms.
    If anybody has developed such an UI in forms, please help me.
    Thanks,
    Abhishek.

    The kind of UI that i'm talking can be seen when we construct a new form manually, then we goto data block wizard. There we browse for a table and the wizard gives the list of the columns for that table. This is the kind of UI i want to develop. I hope the people at OTN would not dissappoint me.
    Abhishek

  • I want to create report on Sybase which provider I should use.

    I want to create report on Sybase which is good provider that I should use. I don't want to use the DSN.

    CR no longer has a native Sybase driver. Your only option is to u se ODBC or possibly a JDBC driver if they have one or their client supports one. Look on Sybases site for options.

  • Using a function module i want to create another function module

    Hi all,
            My requirement is by using a function module i want to create another function module(if needs modify action should also be done if i need this is for the created function module) and the main thing is that the function module which we are used to create is should be RFC enabled.
    Thanks,
    Vichu.

    Hi,
    You can do one thing... you write the BDC code in the function module name you are creating... so that if you call the function module in a program and execute that program and if you give the function module to be created in the selection screen of the program... in this way there is chance of creating another function module.
    Hope this would help you.
    Good luck
    Narin

  • I'm trying to multi-track using an m-audio device, I can record my guitar fine. However, I want to create a new track so I can record an acoustic tambourine over the top. Instead it records the original guitar as well as tambourine? its really annoying

    I'm trying to multi-track using an m-audio device, I can record my guitar fine. However, I want to create a new track so I can record an acoustic tambourine over the top. Instead it records the original guitar as well as the tambourine coming out with a really distorted sound. I've managed to record over the top of a guitar before and add diferent riffs and sounds but I've tried all of the settings but its still not working. Basically I want to record different tracks without it recording my previous guitar riffs as well. Help would really be appreciated.

    Ah that was it, thanks a lot common sense really but thanks for the help

  • When I want to create a pdf from a webpage I get:"cannot connect to server" why?

    when I want to create a pdf from a webpage I get:"cannot connect to server" why?

    Did you set you Preference im the right way? See
    http://help.adobe.com/en_US/acrobat/X/pro/using/WS533B928E-576F-4dc3-AA14-73D08EEE8F20.w.h tml
    the newer link leeds to https://helpx.adobe.com/acrobat/topics.html .
    You could use the German link too:
    http://help.adobe.com/de_DE/acrobat/using/WSa65464b4e07c3e0a781ee72f1298fed479c-7ffe.html
    Hans-Günter

  • LaCie 6TB drive ejects when Air sleeps: I use two 6TB LaCie drives - home and office with my Air, which travels with me. Only have a problem with one. Is there a fix?

    LaCie 6TB drive ejects when Air sleeps: I use two 6TB LaCie drives - home and office with my Air, which travels with me between the locations. Only have a problem with one that inappropriately ejects when the Air sleeps (and only sometimes). Is there a fix? I've read others who believe that the problem is with the operating system (I'm using 10.9.2). But my problem suggests that it's with one of the LaCie's. Any suggestions about how to fix?

    Lacie doesnt make HD, thats a Seagate inside the box.
    Is there a fix?
    Yes, get a 4TB max HD,    6TB drives are both new and have known issues,  ...in fact so do most all 4TB drives.
    my problem suggests that it's with one of the LaCie's
    You mean Seagate
    Large external hard drives are great! Large external hard drives are horrible
    It is a common premise that people are overjoyed at the dropping prices per terabyte on external hard drives, and the first thing that enters most peoples minds is "great, I can put all my stuff on one drive,... all of it!" However considerations need to be made in creating a giant single choke point for not mere data loss, but seriously large data loss. If there is at the very least yet another redundant copy, this is fine, otherwise do not consider it whatsoever. Some 3TB and 4TB drives of all mfg. have, at the time of this writing, reliability concerns currently and best recommendation is staying at 2TB drives or less.
    Advantages and disadvantages of larger 3TB and 4TB external drives must be weighed

  • I wanted to create a module pool which accepts a table n flag

    i wanted to create a module pool which accepts a table n flag.
    and based on flasg value it allows the table to get into edit or display mode.
    the table has to use table control to display for user
    and it should be able to edit the table as well as append if the flag value is edit.
    the table which has been change should be passed back.

    HI Shailesh ,
          On your screen which contains the table control , you can definately  put the flag . Now use 2 conditions , one for change n other for display mode .Initialize the value of the flag to be "X" and based on the flag valu design your table .
    lets say u have a screen 0100 ,
    at the begining put FLAG = 'X'.
    lets say , this is for your change screen  .
    then loop at the table control and allow the fields for fields input . all you should do in the PBO only .
    next in PAI , fill the table control with the changed values .
    and in PAI , in AT-user command module , code for the flag ( / push button  ) . and pass the values when the user clicks on the button .or else here you can check whether the value of the flag is  "X" ( for change mode )  or " " .
    if it  is " "   then loop at the screen and make all the fields inactive for input ( Display mode )
    Inactivation of the fields should be done in the PBO based on the conditions .
    Revert back if you need further clarification .
    This logic should  definately work .
    Reward if helpful .
    Thanks
    Ranjita

  • Want to create an add-in/webpart that can enable comments for each day in TimeSheet

    Hi,
    Want to create an add-in/webpart that can enable comments for each day in timesheet.
    I need help how can I achieve that programmatically.
    Regards,
    Mehar

    Hi,
    I already developed this kind of customization. The system offered the possibility to clic on a cell (Project Center, or My Task, or Timesheet), to input a value to store in a custom field, or in a database.
    After clicking, a Popup with different textbox, etc...is displayed:  it is possible to put values, comments, or whatever.
    The benefits is that with this method, you don't have to redevelop the complete timesheet grid, which would be really complex.
    Instead of that, you develop a part of javascript code, which displays a popup containing asp.net code. From the aspx page, you can make what you want: modifying the value of an task/assignment customfield for exemple.
    To start, you can search for the Project Server 2010 SDK, Customize Project Center: it would be a good start point.
    In case of big difficulty, ask again here, and we could get in touch to give more explanations.
    Hope it helps,
    Sylvain

  • I forgot my security questions and i don't want to create a new apple id what can I do?

    I forgot my security questions and don;t want to create a  new apple id what can I do?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (98589)

  • Restrict Which Users Can Enter Data In List Form in SharePoint Foundation 2013

    Is there a way to restrict which users can enter data in particular fields in a list item entry form?
    We are using a SharePoint Foundation 2013 list and calendar to manage vacation time. We need to restrict non-supervisor users users from entering a value in a certain field in the vacation request form.
    Here is how the system works now:
    1. Employees complete the vacation request form (which creates a list item)
    2. An email is sent to their supervisor to either approve or decline the request
    3. Approved requests are automatically entered onto the vacation calendar
    We have restricted the list so that only supervisors can edit items (the pending vacation requests). The problem is that all users can mark their own requests as approved when they fill out the request form in the first place. Is there a way to restrict
    which users can enter data in particular fields on a list item entry form?

    Thanks for the suggestion. We ended up 1) hiding the approval column and 2) creating a second list, workflow, etc. The user no longer sees the approval column when filling out the form. Requests are now submitted to list A. Workflow #1 copies the request
    to List B, then deletes the item from List A. Once the request is added to List B, Workflow #2 emails the user that the request has been received and emails the supervisor that a request needs to be approved. Only supervisors have editing permissions on List
    B. Approved requests are automatically added to the vacation calendar (the calendar view of List B).
    We found the following site to be helpful in learning how to hide the list column:
    http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2013/06/03/how-to-hide-a-sharepoint-list-column-from-a-list-form.aspx

  • I used to be able to see a preview of my scan which i can no longer see only the adobe acrobat symbol I am using Adobe pro 9 can this be changed??

    I used to be able to see a preview of my scan which i can no longer see only the adobe acrobat symbol I am using Adobe pro 9 can this be changed??

    Yes, that appears how Mavericks works right now. However, you can open the Address Panel, select all your contacts, then click the To (or CC, or Bcc) buttons to move the selection to the address field.
    If it is not already in the Toolbar, right-click on the Toolbar and select Customize Toolbar…
    Then, drag the address panel up to wherever you want it.
    You may also want to add it to the New Message window in the same way.

  • I NEED TO CREATE A FORM IN WHICH PICTURES CAN BE ADDED

    I NEED TO CREATE A FORM IN WHICH I CAN UPLOAD PICTURES TO.  CAN A BLANK BE ON THE FORM THAT YOU CAN CLICK THE PICTURES INTO

    Hi;
    There is an "Attachment" field that allows the form filler to upload attachments (images are supported).  Here is a tutorial on adding the attachment field: http://forums.adobe.com/docs/DOC-2656
    I was assuming you meant the form filler, as the author you can of course add pictures to the form using the "Image" form field which allows you to add images from your computer or from Google/Flicker searches:
    Thanks,
    Josh

  • By creating Web Gallery from CS4 Bridge can we allow people to download photos

    I want to create web gallery from CS4 but want to allow users to download a particular photo or the full album. How can we do this setting. May be we can create a PDF file but that will allow user to download the full PDF and then create a new page and save the PDF again with the particular photo but I need them to save the file in JPG.
    Do any one know how to do this setting making Web Gallery in HTML or other option JPG format.

    I want to create web gallery from CS4 but want to allow users to download a particular photo or the full album. How can we do this setting. May be we can create a PDF file but that will allow user to download the full PDF and then create a new page and save the PDF again with the particular photo but I need them to save the file in JPG.
    Do any one know how to do this setting making Web Gallery in HTML or other option JPG format.

  • How to create a modal dialog, which I can still interact with document when the dialog is show.

    HI,
        Now, I am developing an automation plugin, and want to create a modal dialog, which I still can interact with document when the dialog is show.
        I find photoshop has some modal dialog have this function, such as the dialog of Customize Proof Condition and the dialog of Color Settings. Are these dialogs not modal dialog?
         Thanks!

    The whole point of a modal dialog is that you cannot interact with other things while it is active.
    And Photoshop does not support plugins accessing the rest of Photoshop while any plugin UI is active.

Maybe you are looking for

  • How to change company logo dynamically using login information of the user in flex4 CSS styl method?

    hi all, I am doing mxml flex4 web application. i am using a login in my application. this login for multi user  purpose. My need is when a user login using his username and password his company logo should show the top of my application and his copyr

  • Removing scroll bar from product pages

    I need to remove the scroll bar that appears on the product pages. It doesn't matter if I have only one product or 100 on the page with the small images, I still get a scroll bar on the right side. I've tried adding and removing margins and padding,

  • Can't get adobe flash player to work

    I have installed, uninstalled, re-installed Adobe Flash Player 11 on MACX 10.7.5, over and over and over. Restarted computer, restarted browsers, reset permissions, read online posts. NOTHING IS WORKING!!! Help someone???

  • Download idoc details to a file

    Hi, Is there any way i can downlaod an IDOC details from we05 or any other transaction into a file on my dektop. The file cna be  a excel or notepad etc file Regards,

  • Sidebar icons missing

    Okay, after upgrading to Mountain Lion, I found my Sidebar has no icons at all. Just the words you can click on to navigate. I thought-corrupted plist file. So I went to Macintosh HD\Users\Troy\Lbrary\Preferences and low and behold, no com.apple.side