Hide ,add or remove button in LIST MANAGER ITEM

Hi,
How i can hide ,add or remove button in LIST MANAGER ITEM.
Thanks & Regards
Vedant

I figured out the VO and CO object and the page.
PersonSitPG.xml
SpecialInformationDetailsVO
SitMainPageCO
And after going through the forum form Anil passi, it mentions there are three ways of doing it and the SPEL example given
extends a VO object.
I created a boolean variable based on IdflexNum as isIdflexNum in SpecialInformationDetailsVO
That is if Idflexnum = 2356 then
retrun true
else return false.
And use this in the HrSitDeleteButton and HrSitUpdateButton---?property rendered --->SPEL. But there is no SPEL in the rendered property when I clicked on the button property.
So I doubt if this approach is right . Can you please let me know. I am new to OA framework, I have done only personalizations before.

Similar Messages

  • Add,Get,Remove in linked lists

    I need to be able to add, get and remove items from the linked list and I can't seem to be able to get any of it to work. Ignore the coments, that's just where I was experimenting with other ways of doing it. I keep getting an error from inside case1 of Menu. Any ideas appreciated.
    import cs1.Keyboard;
    import StaffMember;
    import Employee;
    import java.util.*;
    public class Staff
         LinkedList myList = new LinkedList();
         public Staff ()
              //StaffMember staffList = new StaffMember[1];
              //private Employee[]firm;
              //private int currentSize;
              //private int count;
              public static void main (String[] args)
                   Menu();
                   Employee[] staffList = new Employee[1];
                   for (int i=0; i<1; i++)
                        //staffList[i] = setNewEmployee();
                        //System.out.println (staffList); (NOT NEEDED)
                        //myList.add(staffList[i]);
                        //myList.size();
                        //myList.toArray();
                   for (int count=0; count<staffList.length; count++)
                        System.out.println (staffList[count]);
                        System.out.println ("- - - - - - - - - - - - - - - - -");
              public static int Menu()
                   System.out.println("To add a new staff member press 1");
                   System.out.println("To find a staff member press 2");
                   System.out.println("To remove a staff member press 3");
                   int choice = Keyboard.readInt();
                   int effect = choice;
                   switch(effect)
                        case 1:
                             System.out.println("Adding new staff member");
                             setNewEmployee();
                             myList.add(new Employee);
                             myList.toArray();
                             break;
                        case 2:
                             System.out.println("Finding staff member");
                             break;
                        case 3:
                             System.out.println("Removing staff member");
                             break;
                        default:
                             System.out.println("invalid entry!");
                   return choice;
              private static Employee setNewEmployee()
                   String name, address, phone;
                   int staffID;
                   System.out.print("Input ID: ");
                   staffID = Keyboard.readInt();
                   System.out.print("Input Name: ");
                   name = Keyboard.readString();
                   System.out.print("Input Address: ");
                   address = Keyboard.readString();
                   System.out.print("Input Phone: ");
                   phone = Keyboard.readString();
                   Employee s = new Employee(name, address, phone, staffID);
                   return s;

    This should get you going:
    case 1:
                          System.out.println("Adding new staff member");
    //                      setNewEmployee();  // this returns an object but there is nothing to store it in
                          myList.add(setNewEmployee);  // use the returned object as a direct argument
    //                      myList.toArray();  // this returns an array of objects but nothing to store the array in
                          break;As you continue by uncommenting the code in the other sections of your program, you will find similar type of erros.
    V.V.

  • Javascript error on List Manager (Popup LOV)

    Hi all,
    I have a problem with checkboxes and list managers (based on popup LOV).
    I have a form containing several checkboxes and list managers; in a region of the form (the one before the last one) I have 10 checkboxes but just the first one work, the other ones give me this error when I tried to insert a record:
    ORA-20001: Errore in DML: p_rowid=21, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Valore numerico :1 non valido per la colonna EDUCATION (it's italian, the translation for the last part is "numerical value :1 not valid for the EDUCATION column).
    Furthermoe, I have problems with list managers too: when I open the popup for some of them and choose the value from the popup window, I get a Javascript error: "Obejct doesn't support this property or method"; some (just some) of the list managers works.
    The strange thing is that if I delete a list manager or a checkbox, another list manager or checkbox starts to work, as if it was a rule about the max total number of list manager/checkboxes.
    I want to highlight that the total number of items in the form is less than 100.
    Thanks a lot in advance for your help.
    Cheers,
    Matteo

    Hi,
    The issue is because Apex actually generates TWO items for each List Manager items and both of these count towards the maximum of 100 items per page. As an example - this is ONE list manager item from my test page:
    &lt;fieldset id="P222_LM1" class="listmanager"&gt;
    &lt;table cellspacing="0" cellpadding="0" border="0" summary=""&gt;
    &lt;tbody&gt;
    &lt;tr&gt;
    &lt;td&gt;
    &lt;noscript&gt;
    JavaScript not supported
    &lt;/noscript&gt;
    &lt;script type="text/javascript"&gt;
    &lt;!--
    function filter_escape(in_value) {
                out_value = escape( in_value );
                return out_value;
            function genList0_p_v99_()
               w = open("wwv_flow_utilities.gen_popup_list" +
                           "?p_filter="  +
                           "&p_name=" + escape('p_v99') +
                           "&p_element_index=" + escape('') +
                           "&p_form_index=" + escape('0') +
                           "&p_max_elements=" + escape('') +
                           "&p_escape_html=" + escape('') +
                           "&p_ok_to_query=" + escape('YES') +
                           "&p_flow_id=" + escape('33642') +
                           "&p_page_id=" + escape('222') +
                           "&p_session_id=" + escape('2926501920944144') +
                           "&p_eval_value=" + escape('') +
                           "&p_translation=" + escape('NO') +
                           "&p_item_id=" + escape('6753181500127769527') +
                           "&p_lov=" + filter_escape('6753181500127769527') +
                           "&p_lov_checksum=5D6157CA388C164818106815D15EFFC6",
                           "winLovList",
                           "Scrollbars=1,resizable=1,width=400,height=450");
               if (w.opener == null)
                 w.opener = self;
               w.focus();
    //--&gt;
    &lt;/script&gt;
    &lt;fieldset id="P222_LM1_ADD_fieldset" class="lov"&gt;
    &lt;table cellspacing="0" cellpadding="0" border="0" id="P222_LM1_ADD_holder" class="lov" summary=""&gt;
    &lt;tbody&gt;
    &lt;tr&gt;
    &lt;td class="lov"&gt;
    &lt;input type="text" id="P222_LM1_ADD" value="" maxlength="2000" size="27" name="p_v99"/&gt;
    &lt;/td&gt;
    &lt;td&gt;
    &lt;a href="javascript:genList0_p_v99_()"&gt;
    &lt;img width="13" height="13" alt="Popup Lov" src="/i/list_gray.gif"/&gt;
    &lt;/a&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
    &lt;/table&gt;
    &lt;/fieldset&gt;
    &lt;/td&gt;
    &lt;td&gt;
    &lt;input type="button" onclick="appendToList(document.forms[0].p_v99.value.toUpperCase(), document.forms[0].p_v02);document.forms[0].p_v99.value=''" value="Add" name=""/&gt;
    &lt;input type="button" onclick="deleteListElement(document.forms[0].p_v02)" value="Remove" name=""/&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td colspan="2"&gt;
    &lt;select id="P222_LM1_LISTMGRDATA" width="225" multiple="multiple" size="10" prompt="" name="p_v02"&gt;
    &lt;option&gt;8021
    &lt;/option&gt;
    &lt;option&gt;8001
    &lt;/option&gt;
    &lt;/select&gt;
    &lt;script type="text/javascript"&gt;
    &lt;!--
    gUtil.select.clean(document.forms[0].p_v02);
    //--&gt;
    &lt;/script&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
    &lt;/table&gt;
    &lt;/fieldset&gt;Note that the popup item is p_v99 and the list item is p_v02.
    Question to the Apex developers:
    Given that the popup item does not really need to be submitted with the page, could this not use a different naming convention?
    Andy

  • Add and Remove rows

    Hi,
    I have 2 tables, and I needed to add/remove some rows from the first table to the second.
    I've followed the tutorial: Link: [Add and Remove from a List|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/927d8c3c-0a01-0010-57b4-e89f505e2bff] and it works great!
    But the user can add two or more times the same row, so I need to avoid that. The user should be able to add every row only once!!
    I thought about some condition on button Add (for example, disable the ADD button if the same row is present in both tables, but it didnt work).
    Any ideas to achieve that?
    Thanks in advance!
    Best Regards
    Marcelo.

    Hi again Ahmed
    I've solved my problem, but now I'm facing a new issue about the same topic. 
    Following your tips, I've found a solution, but now, I need to copy a complete field of a table to the data store.
    For example, my table has 4 field (country, key, name and city), and I need to copy ALL the key values to the data store. So, if I have 4 rows in the table, let's say "key1", "key2", "key3", "key4"
    I've reached a solution, but it involves to walk throught the entire table, selecting every row automatically (I use a spinner) and "copying" every key field of every row to the data store. When I say "copying" I mean adding it to the same virtual field of the data store, that is to say, concatenating the key values one after another.
    The problem arises when the table has more than 100 records, because 100 is the top value that a spinner can reach.
    Any ideas about can bypass that limit?
    Thanks in advance, your help is really appreciated.
    Best regards
    Marcelo

  • Regarding add n remove design

    can someone help me in this:
    i need to have an add and remove button, with two side panels left and right such that if i click add after i select a word, that word would appear on the right panel..
    how should i go about doing that?
    are there any samples?
    thanks :)

    can someone help me in this:
    i need to have an add and remove button, with two
    side panels left and right such that if i click add
    after i select a word, that word would appear on the
    right panel..
    how should i go about doing that? MVC pattern.
    are there any samples? Maybe. Each sample implementing a button and a list will do.

  • List Manager - next doesn't work

    Hi,
    I have added list manager in my form. For some reason, search works but not the 'next' button. Please advice. Thanks,
    Lakshmi

    Lakshmi - 1) Describe every attribute of the item and show the LOV query, 2) put your application on a publicly accessible site so others can inspect it. FYI, I have no trouble with a list manager item in 1.6.1.
    Scott

  • List Manager source problem

    I have a list manager item, and for the source I have a SQL Query that returns multiple rows (from a detail table) and a separate LOV query for the popup portion. <p>
    The problem is, only one value shows up in the list, even though when I run the query in SQL*Plus, it returns the correct multiple values.<p>
    Is the List Manager not supposed to work in this way?<p>
    thanks.

    seems not to work...
    DECLARE
      CURSOR crTest IS
        SELECT to_char(bfe.bezeichnung) bezeichnung
    FROM bsc_file_links bfl,
         bsc_files bfe
    WHERE bfe.id = bfl.bfe_id
    AND bfl.BVN_ID = 216;
      vcResult VARCHAR2(1000);
      recTest VARCHAR2(1000);
    BEGIN
      OPEN crTest;
      FETCH crTest INTO vcResult;
      IF crTest%NOTFOUND THEN
        NULL;
      ELSE
        LOOP
          FETCH crTest INTO recTest;
          EXIT WHEN crTest%NOTFOUND;
          vcResult := vcResult||':'||recTest;
        END LOOP;
      END IF;
      CLOSE crTest;
      dbms_output.put_line(vcResult);
    END;

  • Displaying  list of  items , in  a jsp , using STRUTS--Correct approach

    I have a requiremnet tht on click of a button , a list of items should be displayed on a jsp page , so tht a user can select items from tht list.
    But the problem is tht , the list is very large(Conatins 1500 record).
    So wht approach should i adopt.
    One approach is tht , i have a link on my main.jsp , where user has a link (addItems) , and on clicking this link , another page(Items.jsp), opens up , where i dispaly the list of users , and user here can select multiple items , and then those items will be shown in Main.jsp.
    Is this appraoch correct,
    also plz tell me how can i incorporate previous and next functionality , so tht 20 records per page are shown
    Can anyone tell me how 2 go abt it.
    I m using STRUTS , and weblogic.

    Hiiii
    When u want2 add textboxes dynamically,
    then declare ur proprerty in action form as of type String[]
    <form-bean
    name="userForm"
    type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="name" type="java.lang.String[]"/>
    <form-bean>
    When u add textboxes dynamically , and if the textboxes name is same as that in form bean,
    then automatically this form bean property gets populated.
    If u require further assistance do tell me

  • I cannot add a site to the list of allow micro sites on Flash Player settings manager

    I cannot add a site to the list of allow micro sites on Flash Player settings manager.
    as Adobe says at his help document (http://help.adobe.com/en_US/FlashPlayer/LSM/WS6aa5ec234ff3f285139dc56112e3786b68c-7ff8.htm l):
    Displays a list of previously visited websites that have asked to use the camera or microphone on your computer. You can allow or block the use of your camera and microphone by sites on the list. You can also ask to be prompted for permission to use them. Finally, you can choose to remove sites from the list. Removing a site deletes all settings and data stored for that site in Flash Player.
    The list initially contains only the sites you have already visited. If you want to specify camera and microphone settings for sites you have not yet visited, you can choose to add sites to the list. Once a site is on the list, you can specify whether to always allow camera and microphone use, ask permission, or never allow camera and microphone use by that site.
    I cannot find any button to add a website. Can you help me please.
    Thanks in advanced
    Pedro

    There's a "live" panel here: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager06.htm l

  • Report ID94 specific software registered with Add or Remove Programs = requested software not listed

    Hi All,
    Our company uses SCCM 2007 and we don't really have an SCCM officer here. I kind of try to get things done by googling a lot but for this i can't find a a solution so i open a thread.
    I'm a newbie to SCCM 2007 so I don't know if i'm about to ask a dumb question but here I go.
    I'm trying to pull out a report for the count of computers that run a desktop version of our Ticketing Tool.
    I found the perfect standard report for this in SCCM 2007 which is: Count of instances of specific software registered with Add or Remove Programs.
    in there i have to set two values: 1) the software that i'm willing to count, 2) the collection in which to search.
    for value number 2 I have no problems.
    my problem is in value number 1. When I click the value button to list all known software, he lists all software in a alphabetic way. problem is that it stops at letter "I"... the software i'm looking for starts with an O so it's not listed.
    also if I type the software and then click Values... it replies that it couldn't find the software.
    am I doing something wrong?

    it sound like you are using the filter option with in the old and "crappy" ASP reports. first you should stop using then and only  use the SSRS reports. secondly the filter option will only show the first 1000 rows, there is a reg key to
    allow it to show more.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • How to remove Java Applications from "Add and Remove Programs" list?

    I have deployed my Java applications (both JWS and Applet) via JNLP with allow-offline option enabled and without installer-desc option specified.
    My questions are:
    1. An entry is added to the Add and Remove Programs list after launching the application via JNLP. Is it due to the specification of JNLP or JWS? Is there anyway to prevent this behavior?
    2. I removed my application by clearing the cache via Java Control Panel but the entry for the application is still listed in Add and Remove Programs. How can I remove the entry in the Add and Remove Programs?
    I have tried following methods but neither works:
    1.Go to Add and Remove Programs, and click [remove] button to the right of my application.
    *Warning message like 'Application cannot be uninstalled completely' is thrown.
    2.Follow instructions listed @ [Microsoft Online Support site|http://support.microsoft.com/kb/314481/en-us] to remove my application manually via Windows registry.
    *Couldn't find appropriate registry entry to delete.
    Thanks in advance!

    Hi, guys!
    This issue has been officially approved as a new bug (Bug Id: 6946221) for the JDK 1.6_20(might include any release below) release.
    It will take a couple of days for it to be shown up in the external Bug database. However, once it becomes available for viewing on external Bug database.I would like to encourage your valuable participation to vote on this bug to get it fixed ASAP by the SUN developer teams.
    Java Bug Database @
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6946221|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6946221]
    Voting for the bug @
    [http://bugs.sun.com/bugdatabase/addVote.do?bug_id=6946221|http://bugs.sun.com/bugdatabase/addVote.do?bug_id=6946221]
    Thank you for your cooperation!
    Edited by: Jay-K on Apr 23, 2010 12:14 AM

  • 500 Internal Server Error when clicked on Add/Remove Button

    Hi,
    When i Goto System Management -> Administration -> Mobile Infrastructure -> Device Maintenance -> here search for the device id or just click on the search -> scroll down to find 'Mobile Components' tab -> click on Add/Remove button
    The error iam getting is
    <b>500 Internal Server Error</b>
    java.lang.NullPointerException
        at com.sap.ip.mi.admin.wd.device.DeviceMaintenance.supplyUserList1(DeviceMaintenance.java:794)
        at com.sap.ip.mi.admin.wd.device.wdp.InternalDeviceMaintenance.supplyUserList1(InternalDeviceMaintenance.java:562)
    Any Suggestions or solutions
    Rgds,
    Kiran Joshua

    Nameeta,
    There are no short dumps in the middleware, st22.
    Sathya,
    We r trying to look at the SP level, once done will get back
    But still any suggestions are welcome
    rgds,
    Kiran Joshua

  • UMX - Enabling the Remove button on User Role Management screen

    Hi,
    I tried looking everywhere on how to enable the Remove Button on the UMX Role Screen. Please advice me if anyone knows about this. Appreciate it.
    Navigation
    1 User Management Responsibility
    2. Users tab -> look for any user -> click on update button on the search result
    3. on the Roles tab , you will see a list of role assigned to the user , on the far right , there will be a Remove column with all the icon grey out. (How do i enable this???)

    Laurent wrote:
    Hi,
    I tried looking everywhere on how to enable the Remove Button on the UMX Role Screen. Please advice me if anyone knows about this. Appreciate it.
    Navigation
    1 User Management Responsibility
    2. Users tab -> look for any user -> click on update button on the search result
    3. on the Roles tab , you will see a list of role assigned to the user , on the far right , there will be a Remove column with all the icon grey out. (How do i enable this???)You cannot remove a role and you will have to end-date it (click on the plus sign with the "Show" text > Set "Active To").
    To revoke a role from the user, you must end-date the role. If the role is an inherited role, you can only remove it by removing the role from which it originates in the role inheritance hierarchy. You can view a role's inheritance hierarchy by clicking on the Show hyperlink next to the role.
    Assigning Roles to or Revoking Roles from Users
    http://docs.oracle.com/cd/E18727_01/doc.121/e12843/T156458T156460.htm#366082
    Thanks,
    Hussein

  • How do I get rid of browser virus called Iminent, which installs as add-on, when remove button is disabled?

    I have firefox 20.0.1
    This iminent thing must have ridden in on some download but it is all over the browser trying to put up spammy stuff in facebook, gmail, pinterest. I t may be partially blocked by some other add-ons like adblock-plu or better privacy, but it is there creating spurious toolbars on all my social sites and with little popout side windows.
    I ran Malwarebytes and it found nothing.
    I tried to follow these instructions from http://botcrawl.com/how-to-remove-the-search-iminent-search-the-web-hijacker-virus/#Firefox
    to remove it:
    Step 1:
    Open Firefox, and navigate to Tools -> Add-ons (Ctrl+Shift+A).
    Step 2:
    Select Extensions and find the particular Search Iminent Search The Web Toolbar extension, and click disable and remove.
    BUT the "remove" button was absent.
    I tried to follow these instructions to remove Iminent cookie:
    How to block the Iminent.com cookie
    1.From the Tools menu, select Options
    2.In the upper section of the Options window, click Privacy
    3.In the Cookies tab, click Exceptions
    4. In the new Exceptions – Cookies window, enter Iminent.com in the Address of Website field and click Disable.
    BUT there was no "cookie tab."

    Yes all that happened to me [but on FB as I rarely use twitter] . It was browser hijacking. I even commented about it on FB but no one saw the images except me.

  • Is it possible to move the "Add.." button at contacts on top of the custom label list? I add a lot of custom lables and tired of scrolling down every time.

    Is it possible to move the "Add.." button at contacts on top of the custom label list? I add a lot of custom lables and tired of scrolling down every time.

    No way to move any buttons in iOS devices.

Maybe you are looking for

  • IT 0024 enhancement

    Hello gurus, ive searched various threads and postings in Google, marketplace, SCN, hoe to add custom columns into IT 0024. But with no luck. I managed to add columns in TC: PM01 in List screen. Im also able to see the fields in the screen layout whe

  • What can I do if the mexican distributor don't change my still guaranteed ipad??

    Dear all, I bought an ipad nine months ago. Sudenly the screen became so dark and I can't see anything but a kind of blury lines. I went to the wholesaler (Mac Store Masarik) in Mexico DF, and they were quite rude: "there is a dent in your ipad, Mac

  • Persistence Query language

    hi guys I am using persistence query language, I'm trying to delete an entry from the database table. So far I tried 2 approaches public void destroy(DeviceType deviceType) em.merge(deviceType); em.remove(deviceType); public void delete(int pk) em.cr

  • My Toshiba Will Not Reset. Gets To 36% and freezes

    Hi Guys, Right i've encountered a major problem, i needed to reset my laptop to its factory settings, so therefor i followed out procedures as normal, it started resetting, but when it got to 36% it just stopped froze and shut dwn the laptop. Is anyo

  • Client transport in EP

    Hi Experts, i am new to EP environment, i want to know client creation, client copy and client transport in EP. Whether  it  is same as Basis envinorment or different. Please give me detailed information. Regards, Reddy K