How to show only one element in drop list(common VO)

Hi All,
I'm using 11g adf jdev.
I have a common view object VO. In this VO one attribute is dropdown list , which i commonly used in some jsf pages .
Now in one particular jsf page i want show only one element in the dropdown list .
how can i handle with out distrib'g the common VO.
THANKS IN ADVANCE

BTW, why you want to display only one item in the list.
If you are sure that the list will be having only one item, why don't you have it as inputText/outputText
How do you filter out the item to be displayed in the list? If that filtering is done on listdatasource bound to the list, the list will automatically show only one item(i.e, the filtered item)
HTH
Sireesha

Similar Messages

  • How to Show only One Credit Column at a time

    Hi,
            This is the Query :- it displays  all the credit columns simultaneously
    SELECT OINV.DocDate AS 'Posting date',
                          OCRD.GroupNum AS 'Payment Terms', OCRD.Balance AS 'Amount', OINV.DocTotal AS ' Debit Amount',
                          CASE WHEN OCRD.GroupNum = 7 THEN (OINV.DocTotal - OCRD.BALANCE) ELSE 0 END AS 'Credit 7',
                          CASE WHEN OCRD.GroupNum = 9 THEN (OINV.DocTotal - OCRD.BALANCE) ELSE 0 END AS 'Credi 9',
                          CASE WHEN OCRD.GroupNum = 5 THEN (OINV.DocTotal - OCRD.BALANCE) ELSE 0 END AS 'Credi 5',
    OINV.DocDueDate AS 'Due date ',OINV.Address
    FROM         OCRD INNER JOIN
                          OINV ON OINV.CardCode = OCRD.CardCode
    WHERE (OINV.DocDate  BETWEEN '04/08/11' AND '06/09/11'  AND OINV.CardCode = 'C00356')
    - it displays  all the credit columns simultaneously
    i want if GroupNum =7 then ,it should display the data in Credit 7 Column and rest Credit 5 and Credit 9 should be hide (Credit 5 and Credit 9 columns should not be shown in the data)
    Similarly, if GroupNum =5 then, it should display the data is Credit 5 Column and rest Credit 7 and Credit 9 should be hide
    similarly for GroupNum =9.
    Kindly give me the solution for this problem.
    Regards
    Rahul

    Hi Rahul.....
    Try this.....
    SELECT OINV.DocDate AS 'Posting date',
    OCRD.GroupNum AS 'Payment Terms', OCRD.Balance AS 'Amount', OINV.DocTotal AS ' Debit Amount',
    (Case When OCRD.GroupNum=7 Then (OINV.DocTotal - OCRD.BALANCE)
    Else
    Case When OCRD.GroupNum=9 Then (OINV.DocTotal - OCRD.BALANCE)
    Else
    Case When OCRD.GroupNum=5 Then (OINV.DocTotal - OCRD.BALANCE)
    Else 0
    End End End) As 'Credit',
    OINV.DocDueDate AS 'Due date ',OINV.Address
    FROM OCRD INNER JOIN
    OINV ON OINV.CardCode = OCRD.CardCode
    WHERE (OINV.DocDate BETWEEN '04/08/11' AND '06/09/11' AND OINV.CardCode = 'C00356')
    Regards,
    Rahul

  • When I open up iphoto and click on the events tab then double click on an event, it used to show minis of all the photos in that event.  Now it shows only one photo at a time.  How do I get it back? Can you help?

    When I open up iphoto and click on the events tab then double click on an event, it used to show minis of all the photos in that event.  Now it shows only one photo at a time.  How do I get it back? Can you help?

    On the bottom bar of the window (on the left iPhoto 11, on the right in other versions) note the slider. Drag it left.
    Regards
    TD

  • How do you show only one caller's video display wi...

    How do you show only one caller's video output with four people sharing a video call? i.e. the call originator wants to show a DVD video on a TV screen and the other callers want to view the video on full screen not just one fourth of their screen.

    Thought I'd try this just in case they are stripping out attachments.
    Gary Grow
    6457 Audubon Sq Dr N
    Mobile, AL 36695
    Email: [email protected]
    Cell: (251) 422-8817
    The American Creed by William Tyler Paige
    I believe in the United States of America as a government of the people, by the people, for the people; whose just powers are derived from the consent of the governed, a democracy in a republic, a sovereign Nation of many sovereign States; a perfect union, one and inseparable; established upon those principles of freedom, equality, justice and humanity for which American patriots sacrificed their lives and fortunes. I therefore believe it is my duty to my country to love it, to support its Constitution, to obey its laws, to respect its flag, and to defend it against all enemies.

  • How to make 1D Array but with only one element filled in Real Time

    Hi folks,
    here I am with another question. I want to implement an prediction discrete state space observer which is going to run on a CRIO real time target. I am going to do it just like in the example which comes with LV.
    I have some questions regarding the input and outputs which in the example those are "dummy".
    My model is a SISO model, but the function "Construct SS model" returns parameters (A,B,C,D Matrices) as 2D arrays, so once you connect the cluster model into the Discrete Observer model, it takes y and u as 1D arrays despite of the fact that there is a SISO model.
    I realized that the function I am using in the simulations, uses 1D arrays but with only one element filled:
    Does anyone knows how to implement such 1D arrays in Real Time? I guess the way to do it is preallocating one array of zeros of size 1, and then recirculating it through some SR, and replacing the element with my real input and output, but at the dummy.vi, they are using a simple "build array"
    function.

    Ok, I did it that way. But I am facing another problem right now...
    At some point the Discrete Observer return a NAN array, you will see the code in the code snippet?
    I get rid of that component by component, but the observer gets "stuck" in it. So my Control law is zero... but the state stimate is NAN.
    Also I am attaching the VI.
    I do not know why, since in the simulation program all runs well. any thoughts? Maybe the internal numeric precision of the State Space Model?
    Attachments:
    RT - Pole Placement + Complete Observer.vi ‏40 KB

  • How to show only date in BO webi 3.1 text box

    how to show only date in BO webi 3.1 text box for e.g:-
    01/01/2005  (no time only date)

    hi,
    just check by which format your date is coming
    just create a one variable and check =UserResponse("Transaction Date From (mm/dd/yy)")
    if your output is in format of("mm/dd/yyyy hh:mm:ss a")
    then some format we have to write in todate syntax
    then your final formula for date would be
    =FormatDate(ToDate(UserResponse("Transaction Date From (mm/dd/yy)");"mm/dd/yyyy hh:mm:ss A");"dd/mm/yyyy")

  • All my saved layers disappeared. Shows only one locked black layer.with red sripes

    All my saved layers disappeared. Shows only one locked black layer.with red sripes

    Apple changed the save behaviour several times in the past few versions of MacOsX - there is a good article about this:
    http://www.macobserver.com/tmo/article/os-x-mountain-lion-how-apple-rescued-save-as
    The trouble is, you should (I know, not much of a help to you at this point) always create backups AND work with versions. So save many versions (x1, x1a, x2, x2a, etc), because when you work within one master file you run the risk of these type of accidents and there is always a tiny change your file becomes corrupt for some external reason. You never know. Disk space is cheap, losing your work is often a real hassle, and can become very problematic when dealing with clients.
    So, save many versions, and make backups of your work. And never NEVER open your original files in any other software - always use a duplicate. You never know what that software might do to your files.
    Anyway, have you tried searching for the file name on your mac? Maybe, just maybe there is a duplicate lying around somewhere with the layers intact.

  • I added a custom ringtone . Then later I tried to add another three set  but now after sync . Am not able to get rid of the first one... It's still there as my custom ringtone. But my iPhone in iTunes shows all four... But the phone shows only one...?

    I added a custom ringtone . Then later I tried to add another three set  but now after sync . Am not able to get rid of the first one... It's still there as my custom ringtone. But my iPhone in iTunes shows all four... But the phone shows only one...?

    Paul--you are a life-saver!! Worked great. I did have to look around to make sure I was getting 4.9 instead of 4.7 (even when the file was named 4.9 at techspot.com), but I finally got the right file, did the install as you suggested, and everything is now fine. One note, though, that I haven't seen mentioned in any of this thread: when I first tried to open up iTunes after getting back to 4.9, the following message appeared: "The file iTunes Library.itl cannot be read because it was created by a newer version of iTunes." I merely went to the old .itl file that was created when I did the update to iTunes 5, renamed it, moved it over to my now new 4.9, and iTunes opened fine. My library was a few days out of date, because of the few days' lag from the time I did the iTunes update, but that was easily taken care of, and everything's now working fine. Thanks again!!!

  • How to backup only one tablespace in cold backup noarchivelog mode

    Hi,
    How to backup only one tablespace in cold backup noarchivelog mode
    Reagrds,
    Rushang

    We have to restore all 50 GB database if we fail in scripts meanwhile to start again the data load.
    Out scripts populater only two tablespaces.
    That's why if i take backup of those tabblespace then i have to restore only those tablespace not whole database.
    Regards,
    Rushang

  • Customize the legend of a pie graph to show only one series

    Is there a way to show only one series in the legend though the pie graph displays more than one series?
    Any help is greatly appreciated
    Thanks
    KK

    Here is an example that changes the scale of a graph. I think it is what you are looking for. Post back if it is not.
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]
    Attachments:
    Update_graph_scale.vi ‏40 KB

  • How to deploy only one project from WebCenterSpacesExtensions to WebCenter

    Hello,
    I've been provided a customized WebCenterSpacesExtensions application with 3 custom task flow projects in it.
    I am having trouble finding information on how to deploy only one project at a time. Can someone please tell me how to do this? Is it difficult?
    Thanks in advance.

    Take a look at chapter 53 in webcenter developer's guide which explains the same:
    http://docs.oracle.com/cd/E25054_01/webcenter.1111/e10148/jpsdg_wcsres.htm#BABDBECE
    Thanks,
    Navaneeth

  • How to boot only one group in remote machine from master machine

    Hi,
    I want to know the command to boot entire remote machine from master machine and how to boot only one group for remote machine from master machine.
    Thanks
    Amit

    You can boot the entire remote machine (after booting the Master machine) as follows:
    tmboot -B <lmid of remote machine> -l <lmid of remote machine>.
    For all the available tmboot options see http://download.oracle.com/docs/cd/E18050_01/tuxedo/docs11gr1/rfcm/rfcmd.html#wp1032112
    Regards,
    Malcolm.

  • How to show only key in mdx query

    Hello Experts
    i have mdx query such as :
    SELECT
    [Measures].MEMBERS ON AXIS(0) ,
    NON EMPTY [ZCHANNEL].members
    Properties [ZCHANNEL].[2ZCHANNEL]
    ON AXIS(1)
    FROM ZIC_TPL/ZIC_TPL_DETAIL
    SAP VARIABLES
    [ZVSOCALM] INCLUDING [0CALMONTH].[200605]
    the result from this query are zchannel text and zchannel key
    how to show only zchannel key ?
    really appreciate your help.
    regards
    JeiMing
    Message was edited by: JeiMing Tjiam

    Hi Juice
    Yes, i have already tried setting zchannel as key only in my query
    but the result from mdx query still shown key and text
    Regards
    JeiMing

  • Why can't i send multiple files through airdrop ? , it accepts but shows only one photo

    why can't i send multiple files through airdrop ? , it accepts but shows only one photo

        Hello there Laurengrayce,
    I message all of the time and I want you to do the same, to anyone you would like!  Demmo provided a good suggestion of having this person check their services and ensuring they're setup as a 10-digit number, but I would like to provide some of my own suggestions.
    If they are in fact already setup as a 10-digit number, I would recommend deleting this persons contact from your phone as well as the entire messaging thread (long press and hold on thread to delete).  Readd them to your contact list and try again.
    Please advise if this continues and they've already checked with their provider.
    Thanks,
    MelissaM_VZW
    Follow us on Twitter @vzwsupport

  • My iPhone show only one image Conect USB to iTunes (on PC).What i doing??

    My iPhone show only one image: Conect USB to iTunes (on PC), and I do not restart my iPhone.What i doing?

    Hello 2000Skyfall,
    It seems your device may be stuck in recovery mode. At this point your device may need to be restored. Have you created a backup at any point via iCloud or iTunes? The following article provides details on recovery mode:
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
    Get more help
    Learn what to do if you don't see your device in iTunes for OS X, or in iTunes for Windows.
    If you put your device into recovery mode by mistake, restart it. Or you can wait 15 minutes and your device will exit recovery mode by itself.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    Bobby_D

Maybe you are looking for

  • Adding data to output.

    How can I add data to a spreadsheet rather than creating a new one each time I download it.

  • Can photos in albums from iPhone be organized into the same album on Mac?

    I have set up IFTTT to save photos I am tagged in from Facebook and add them to an album "Facebook tags" on my iPhone. When I sync my iPhone to my Mac, I would like for these photos to also be placed in an album on my Mac called "Facebook tags". Is t

  • Live View & Preview query

    Hi, I'm not sure what is happening or how it can happen. I am building a test site (6 pages, php, text and images only) with horizontal menu. Current problem seems impossible to me but I know there must be a cause and solution. Hoping someone has see

  • Java Studio Enterprise 7 for linux???

    I have just returned from a half day Sun Developer Seminar where the latest studio enterprise was demonstrated and I was most impressed. I am currently an eclipse user and previously used IntelliJ but I could be converted to enterprise 7. But... The

  • Which dual monitor for iMac 21.5" 2010?

    Hey guys, I've had my iMac 21.5" 2010 model for a while now, but now I would like another monitor. It must be: -Around 21.5" -Preffibly LED back lit -Black and/or aluminium -Connect to my iMac Do any of you have any suggestions for good dual monitors