How to add a list bean in seeded region?

Hi All,
I am working on "employee self service" responsibility addcompetency page.on which I have a requirement to add a list bean. Fro that I have extended CO and added folowing code in that co.
super.processRequest(pageContext, webBean);
OADefaultListBean list =
(OADefaultListBean)createWebBean(pageContext, OAWebBeanConstants.DEFAULT_LIST_BEAN,
null, "popuplist");
list.setListViewObjectDefinitionName("oracle.apps.per.selfservice.competency.profile.server.CompSearchVO");
list.setListValueAttribute("compType");
list.setListDisplayAttribute("compType");
list.setMultiple(true);
list.setName("poplist");
OAMessageComponentLayoutBean listboxlayout =
(OAMessageComponentLayoutBean)webBean.findChildRecursive("searchFiltersRN");
pageContext.putDialogMessage(new OAException("Hello" + listboxlayout));
But It is returning null in Dialogue message.The Id is Also right.
Please Help.
Regards,
SHD

Hi,
Try this :
super.processRequest(pageContext, webBean);
OADefaultListBean list =
(OADefaultListBean)createWebBean(pageContext, OAWebBeanConstants.DEFAULT_LIST_BEAN,
null, "popuplist");
list.setListViewObjectDefinitionName("oracle.apps.per.selfservice.competency.profile.server.CompSearchVO");
list.setListValueAttribute("compType");
list.setListDisplayAttribute("compType");
list.setMultiple(true);
list.setName("poplist");
OAMessageComponentLayoutBean listboxlayout = (OAMessageComponentLayoutBean)webBean.findIndexedChildRecursive("searchFiltersRN");
if(listboxlayout!=null)
listboxlayout.addIndexedChild(list);
Check for the correct id of the OAMessageComponentLayoutBean as this is the correct code to add the list bean.
Thanks,
Gaurav

Similar Messages

  • How to add ordered list, subscript in RichtextEditor?

    Hi,
    In the richtexteditor I need to add the ordered list button(like the bullet) and a button for subscript, is ther any way to that.
    I have the information how to add a Find/Replace button.
    Also can anyone provide me the format for ordered list.
    Help me regarding this.
    TIA

    Hi,
    Try this :
    super.processRequest(pageContext, webBean);
    OADefaultListBean list =
    (OADefaultListBean)createWebBean(pageContext, OAWebBeanConstants.DEFAULT_LIST_BEAN,
    null, "popuplist");
    list.setListViewObjectDefinitionName("oracle.apps.per.selfservice.competency.profile.server.CompSearchVO");
    list.setListValueAttribute("compType");
    list.setListDisplayAttribute("compType");
    list.setMultiple(true);
    list.setName("poplist");
    OAMessageComponentLayoutBean listboxlayout = (OAMessageComponentLayoutBean)webBean.findIndexedChildRecursive("searchFiltersRN");
    if(listboxlayout!=null)
    listboxlayout.addIndexedChild(list);
    Check for the correct id of the OAMessageComponentLayoutBean as this is the correct code to add the list bean.
    Thanks,
    Gaurav

  • How to add new lists in Reminders?

    I am using iOS 7 with my iPod Touch. In the Reminders, I have my own default list. When I try to add a new list by pressing the + button, it only shows some colors for me to select. After selecting the color, I click on the blank place of the list but nth happens, it doesn't let me to edit the list even the title. Could someone tell me how to add a list in Reminders? Thanks:)

    Do you have a + symbol on the top left side(next to the seraching bar)? I don't have it. It just shows two cards, which are my default list and "New List" with a + on the right side.

  • How to add a list views web part to a page?

    Hello,
    I have web parts on a page that are "List Views".  The show links as menu from a custom list of links on a page.  However, I don't know how the developer added them to page and how they work.  I like to add other list views
    that list links from lists.
    Paul

    Hi,
    Your query is to configure a webpart in a page which will display all the links to lists (within the site)? If this is the requirement you can configure a dataformwebpart and configure the Data
    Source Mode as CrossList.
    Let me know if you have any further questions.
    Thanks!

  • How to add a backing bean for an existing jsp

    Hi You Experts,
    I am fixing an application built by someone else. In the application, some jsps do not have the associated backing beans. Now I want to add a backing bean to go with a particular jsp so that I can write codes there. How can I do this, please?
    Thanks in advance,
    ZD

    Hi Shay (and Others),
    As such a newbie, I cannot seem to find the "little arrow" or "binding property" you mentioned. I am using jdev 10.3.3.0. After I click on a component (an af:inputText), all I see is an "Edit Binding" link at the bottom of the Property Inspector. That link actually takes me to the binding of the component and attribute in the ViewObject.
    Also, when I followed your second suggestion (Design menu -> page properties->auto bind), I got a new backing file, but it's empty. i.e., it did not capture any existing components on the jsp.
    Please help me more. Thank you very much.
    ZD

  • How to add a list box with values for a ztable in SM30

    Hello Gurus,
                    I had created a table maintenance for Ztable and added many extra functionality to that. Now i would like to add a list box or check table for a field. Can i do that with out Regenerating my table maintenance. Please help me its..very urgent.

    Have referred this domain to the data element, this should be the Field type in ur table for the particular field.
    Eg: <b>SE11 > table name > fields-ZTEST > fieldtype-ZZTEST</b>
    ZZTEST in the data element > create a domain for this data element and in that specify teh value range.
    Save and activate it.
    Make sure that u regenerate teh table maintenance generator else u cant see the changes.
    Now if u press F4 u can see only thevalues specified, also u will see only the list box with values in SM30.
    Try this,please let me know if u face any difficulties.

  • How to add vertical scrollbar to a tree region

    Hi,
    I have a page containing two regions. The first is a tree region displayed on the left hand side of the page. The second is form region displayed to the right of the tree, showing details relating to the selected node from the tree.
    How can I add a vertical scrollbar to the tree, so that I can I browse all nodes in the tree without affecting the position of the form? Currently, if my tree extends beyond the height of the page I have to use the page vertical scrollbar to view the bottom of the tree. This obviously means that the form is no longer in view.
    Thanks
    Andrew.

    Hi Andrew,
    You can't add a scrollbar directly to the region's contents, but you can wrap the contents within a DIV tag.
    In the Region Header add in:
    &lt;DIV style="height:500px; overflow:auto"&gt;
    In the Region Footer add in:
    &lt;/DIV&gt;
    Obviously, change the height value to suit your needs.
    Regards
    Andy

  • How to add custom VO in a seeded AM?

    Hi,
    I know we can use substitution to replace seeded VO with custom VO after extending it, But I have to add customer VO and create view links with this VO. Is it possible? how it can be achieved?
    Appreciate your help and thanks in advance.
    Thanks,
    Hitesh

    Hitesh,
    You can even extend a seeded AM and add your Custom VOs, then use Substitution to replace seeded AM with Custom AM. Please note that when your AM is the root AM, this approach will have problems with Lovs. So let me know if this approach is helpful to you. Or I overlooked over something.
    Sumit

  • How to add a new value in seeded LOV in I Procurement page

    Hey Guys,
    I am stuck with one problem.
    In the I procurement module , when we make requisitions , we have option to change the requestor name. When i open the form , we can search the requestor only by name. There is a LOV for search criteria which has got only one value - Name.
    I want to add Employee id also as a search option which means adding a value in the seeded LOV. Please help !
    Regards,
    Amit

    Hi,
    user13079404 wrote:
    I want to add Employee id also as a search option which means adding a value in the seeded LOV. Please help !
    ---U want search by employeid also in lov search region
    ---In lov region u need to enable seacrh option for employee id also.
    ---searcby:True
    ---let men know u have the value of emplyeeid in lov RN.
    Regards
    Meher Irk

  • How to add Attchment list to pdf form

    Hi,
    In my code i have a list of attachment map and a pdf document. At run time i want to add this attachment list to pdf document. Please let me know what process or api is available to do so.
    I want to render the pdf to client browser with some attachment.
    Regards
    Sunil

    hi, i got the solution
    the renderpdf process can be used to add map of the attachments. its not mandatory input parameter nd can be taken along other input parameters.
    different apis are also available
    like renderpdf, renderformhtmletc.
    regards
    Sunil Gupta

  • How to add a value in a Seeded LOV in I procurement page

    Hey Guys,
    I am stuck with one problem.
    In the I-procurement module , when we make requisitions , we have option to change the requestor name. When i open the form , we can search the requestor only by name. There is a LOV for search criteria which has got only one value - Name.
    I want to add Employee id also as a search option which means adding a value in the seeded LOV. Please help !
    Regards,
    Amit

    Hi,
    user13079404 wrote:
    I want to add Employee id also as a search option which means adding a value in the seeded LOV. Please help !
    ---U want search by employeid also in lov search region
    ---In lov region u need to enable seacrh option for employee id also.
    ---searcby:True
    ---let men know u have the value of emplyeeid in lov RN.
    Regards
    Meher Irk

  • How can add a list to AP Suppliers Form?

    Hello.
    I’ve been asked to somehow attach an updateable list of category codes (which do not yet exist) to the Suppliers Form in Purchasing Module. How can I do this?
    We are not allowed to modify the actual form so that’s out, On reading up, Personalisation won’t allow it yet (‘…at this point in time, the property RECORD_GROUP_QUERY, which would allow you to dynamically change the underlying query of an LOV, cannot be changed; this is being considered for a future release.’), so my only method left is using Flex-fields – can someone offer me suggestions/point in right direction on how to do this - or is there another alternative..?
    Many thanks in advance,
    Steven

    Hi Steven,
    You can define a Descriptive Flexfield.
    1. Define a valueset with the category codes.
    2. Set-up the DFF -- Title is "Vendors"
    This is on the Supplier Header form.
    3. Assign the new value set to the DFF definition
    Thanks,
    Robert

  • How to add two list in one frame using REUSE_ALV_LIST_DISPLAY

    Hi,
    I want to display two list in single output by calling FM 'REUSE_ALV_LIST_DISPLAY' twice.
    I saw one topic posted by Arunava Das as 'ALV Problem' but didn't get the steps to do that.
    Here is his way of doing that "What I have done is gone for the append ALV approach wher I have added the END_OF_LIST Event for the Fisrt reprt and in the Corresponding FORM Routine I have added another made another cALL to the REUSE_ALV_LIST DISPLAY FM with the other table."
    I would be grateful if someone can help me out.

    Hi Ashish,
    The way you have tried i.e. calling the second list in the END_OF_LIST event of first list and like wise that is the correct way of doing it.
    Using this way you can display multiple lists. In the event END_OF_LIST by using a global variable G_COUNTER. the value of which you increment for each list and based on that counter you call different lists in the END_OF_LIST event.
    case G_COUNTER.
      when 1. perform call_first_list.
      when 2. perform call_second_list.
      when 3. perform call_third_list.
    endcase.
    Hope this answers your query
    regards,
    Satyadev Dutta

  • How to add a list view from a parent site to a subsite

    I have a custom list in a parent site, and I would like to display that same list (perhaps with a different view) on a page in a subsite.  Is there a straightforward way of doing this?

    i think you might have a look at this post.
    http://www.sjoukjezaal.com/blog/importing-content-query-web-part-office-365/
    kind regards,
    Paul Keijzers
    Check my website http://www.kbworks.nl or follow me on
    @KbWorks be sure to Check my
    SharePoint-Specialist.nu for dutch information workers check
    Wat Is microsoft SharePoint.nl for dutch readers who want to know what
    microsoft office365 is. also interesting to follow is
    microsoft office365 support

  • How to add a parameterized Popup to seeded iProc page by Personalisation ?

    Hi
    I'm trying to add a button on the iProcurement 'Add To Cart' region (ResultsInParagraphRN), to display a standard OAF popup. Release 12.
    Please let me know where I went wrong :)
    1. I read the OAF Dev Guide on popups, as far as I can currently follow it ...
    2. I made a region in a different project, and a test page, and successfully deployed that project so I can call the popup, so far no problem.
    3. I used personalization to create a Parameterized Popup and a Button to call it, in iProc, using the same values as above.
    4. When I click on the button in iProc, there is no reaction other than an 'Error on Page' indication in the browser.
    In IE6 - still our standard browser :(, I get and 'Error on Page' message, which then gives a message 'object required'.
    In Firefox, I see this message : 'popupdiv is null'. line 132 in popup.js - the last line of this fragment is highlighted -
    *//To avoid code redundency this is commen mehtod for showpopup and showpopuponppr.*
    function displayPopup()
    var winW = 630, winH = 460;
    t = document.getElementById(currentElement);
    *if (parseInt(navigator.appVersion)>3) {*
    *if (navigator.appName=="Netscape") {*
    winW = window.innerWidth;
    winH = window.innerHeight;
    *if (navigator.appName.indexOf("Microsoft")!=-1) {*
    winW = document.body.offsetWidth;
    winH = document.body.offsetHeight;
    width=popupDiv.style.width;_
    So, either I have gone wrong somewhere, or there is an issue with the Javascript generated by Framework?
    Thanks in advance for any help!

    user13501968 wrote:
    Hi ,
    Your popup id's are not properly generated.For popups under table the id's should be generated like
    tablename:popupname but in your case it is just popupname alone
    thats why you get javascript error since in run time java script cannot find popup of type tablename:popupname.
    Please share the page structure.
    Meanwhile try adding the popup under rowlayout instead of flowlayout.
    Regards,
    Guru Krishnan.Hi
    Here is (part of) the page structure (table is already nested inside another). The bit I added starts
    at <oa:flowLayout id="CustomFlow">
                  <oa:rowLayout id="ControlsRow" width="100%">
                     <ui:contents>
                        <oa:cellFormat id="AddToCartTopCell">
                           <ui:contents>
                              <oa:tableLayout id="AddToCartTableLayout">
                                 <ui:contents>
                                    <oa:rowLayout id="AddtoCartRow">
                                       <ui:contents>
                                          <oa:cellFormat id="QuantityFormatCell" extends="/oracle/apps/icx/icatalog/shopping/webui/QuantityFormatRN" rendered="${oa.current.IsItemAvailable}"/>
                                          <oa:cellFormat id="AddToCartSpacerCell" rendered="${oa.current.IsItemAvailable}">
                                             <ui:contents>
                                                <oa:spacer id="AddToCartSpacer" width="5"/>
                                             </ui:contents>
                                          </oa:cellFormat>
                                          <oa:cellFormat id="AddToCartButtonCell" rendered="${oa.current.IsItemAvailable}">
                                             <ui:contents>
                                                <oa:button id="AddToCart" text="Add to Cart" prompt="Add to Cart" shortDesc="Adds this item to your shopping cart." rendered="${oa.ShoppingPVO.IsIPFlow}"/>
                                                <oa:button id="AddToDocument" text="Add to Document" prompt="Add to Document" shortDesc="Adds this item to your document." rendered="${oa.ShoppingPVO.IsSicFlow}"/>
                                                <oa:flowLayout id="CustomFlow">
                                                   <ui:contents>
                                                      <oa:popUp id="CustomPopup" popupType="ParameterizedPopup" popupRegion="/oracle/apps/xxfss/newcart/webui/AddToCartRN" popupParameters="pItemId={@ItemId}" popupTitle="CustomPopup" height="200" width="400" readOnly="false" shortDesc="CustomPopup" comment="Custom Popup Region"/>
                                                      <oa:button id="CustomButton" popupId="CustomPopup" popupEnabled="true" text="Custom Button" prompt="Custom Button" shortDesc="Custom Button Additional Text" comment="Custom Button Comments"/>
                                                   </ui:contents>
                                                </oa:flowLayout>
                                             </ui:contents>
                                          </oa:cellFormat>
                                          <oa:cellFormat id="ItemNotAvailableCell" rendered="${oa.current.IsItemNotAvailable}">
                                             <ui:contents>
                                                <oa:formattedText id="ItemNotAvailableText" shortDesc="This item is not available." styleClass="OraTipText" text="This item is not available."/>
                                             </ui:contents>
                                          </oa:cellFormat>
                                       </ui:contents>
                                    </oa:rowLayout>
                                 </ui:contents>
                              </oa:tableLayout>
                           </ui:contents>
                        </oa:cellFormat>                                                           

Maybe you are looking for

  • 3rd party iPhone apps no longer launching - as of today (1/21/2010)

    All third-party apps (those Not installed with the iPhone) are not launching. I have called support and have done the following: -Restarted the iphone -Deleted apps. Installed New Apps. Deleted New apps. etc. -Unchecked "Sync Apps" in ITunes (which r

  • Iphoto keeps quitting unexpectedly

    I just bought a brand new imac. Just tried to save some pics from Photobooth and open them on iphoto but iphoto keeps quitting unexpectedly. It keeps asking me if I want to import some photos it has found when I launch it. It then quickly closes. I c

  • Installation stuck at 54%

    Hi I'm trying to install Acrobat and the installation is stuck at 54%. message pops up: close and retry I've done this 3 times with no success

  • What is "hash code"?

    hashCode() is available in most of the classes in Java API. What is "hash code"? Thanks!

  • What email address do I send a screenshot of my problem to?

    My Mom uses the ION forum and when posting a reply a box is there to write in. There is a place to select a font which just says "font" but does not open with fonts like it does when using Internet Explorer. Also, there are "smileys" to the left whic