The value of a menu drop-down can be used in a SQL query?

I use JDeveloper11g to develop a web application that displays data from a database table. To do this, I created the business of Table (entity) component that represents one of the tables in the database. I then use a component panelCollection to display the data in the tables.

Assuming that the SQL of this entity is as follows:
SELECT test.field1 FROM test WHERE test.field2 = :MyVariable
I can sort the value : MyVariable equal to the value selected by a user of a component of selectOneChoice ?

http://www.YouTube.com/watch?v=LAWSfO-7xR8

http://www.YouTube.com/watch?v=VfBG3TcCEmI

Tags: Java

Similar Questions

  • A drop-down list can do the calculation based on the value selected in a drop down list?

    Form Acrobat X Pro Adobe

    Can I have a drop down list create a calculation based on the value selected in the menu drop-down?

    We have a set lunch and want the user to choose to be "A lunch', 'Lunch B'"C Lunch"or"just the milk. "

    It is for each of the 5 days of the week. There are therefore 5 drop downs, which have all the same 4 above choice.

    If the user chooses among the 3 lunches and then put $2.00 in the total box at the end of the line. If 'Just the milk' may put 0.50 in the box.

    The total area at the end of the line must keep a record of all 5 days and give a total.

    So if someone chooses lunch A LUN, sea and Sun and just milk for Tuesday and Thursday and then the total for this week must be $7,00

    Is it possible by using code or something?

    I did it in Excel, but we need it is an Adobe pdf file.

    TIA

    OK the total box has a 10 all the time to make it look like $ 2.00 for

    everything.

    Before even that I chose something there are 10 in the box.

    I am a newbie to Adobe scripting Total used VB/A .NET etc ' 1980

    However.

    Can you do any debugging in code?

    Initialize the sum

    var sum = 0;

    Make a loop on the drop-down list boxes and add the cost of the invoice sum

    for (var i = 1; i)< 6;="" i="" +="1)">

    Sum += getField("Week1Day"_+_i).value == 'just milk? 0.50: 2,00;

    }

    Set this field to the amount

    Event.Value = sum;

  • Error message based on the text in a menu drop-down...

    So I have a simple numeric field and a drop-down text box (with, say, the values of 'Blue', 'Red' and 'Green'.)

    I want to set a minimum and maximum (say between 5 and 20) on the number of value field and send an error if the user enters a number outside this range. BUT the beach can be different depending on whether the user selects blue, red or green on the menu drop down.

    So for blue, the beach can be 5-20; for the Green and Red 7-22, 10-25.

    SO if the user chooses the blue then enters a 4 or a 21, there will be an error message pushing a value of 5-20.

    It is, in a Word.

    Any help I could get would be great. Thanks in advance.

    Thank you

    T.

    You want to apply exactly the same code for other areas? If so, it would be better to place it in a function at the level of the doc and call from each of them. Regarding their reset, it's like this:

    this.resetForm (["Text1", "Text2", "Text3"]);

  • Does not not on the website of phone menu drop-down

    I am currently working on a version of phone of my new site, and for some reason any the drop down sub menus do not appear in the navigation bar. Is anyone able to suggest where I go wrong?

    Hi Contemporary_Dave,

    Go to the options menu panel and check what type of menu. (For phone use)

    If it's 'Top level Pages' and then selecting 'All pages' in the menu drop-down will begin showing the submenus as well.

    In case the menu type is "Manual" then you create the submenu for each menu item or create a menu with the type of menu in the form of 'all pages '.

    Kind regards

    Vivek

  • After you have reinstalled Firefox 11, I don't have a button in the toolbar to display my favorites in the form of a menu drop-down.

    I recently reinstalled Firefox 11. I have more option of a drop down button bookmark in my default toolset. The Bookmarks button available only creates a sidebar instead.

    You see only the bookmarks Menu button if the menu bar is hidden (view > toolbars or Firefox > Options).

    If the bookmarks toolbar is visible then the bookmarks Menu button appears on the bookmarks toolbar, among other items in the toolbar of bookmarks (bookmarks).

    If the bookmarks Menu button appears on the right side of the Navigation bar.

    See also:

  • Is it possible to have the accordion of top boxes smaller than the content of a menu drop-down?

    I am trying to create a drop-down list for my desktop site. The problem is the roll over area covers the other links (on us and facilities). Is there a way to make the box expanded content or the first dropdown to be narrower than the content area? Or is there a better way to implement?

    Thanks in advance!

    Screen Shot 2015-09-04 at 9.44.20 PM.png

    Have you tried composition of the ToolTip? In the composition of the balloon, the size of the trigger and target are not interrelated.

    And you can also hide the target area once you have finished the design by unchecking 'Lightbox see the part when editing'

    The only thing missing here is the transition as ToolTip composition has an effect of discoloration.

    Concerning

    Vivek

  • Changing the value of a water drop down dynamically... Its urgent

    Hi all

    I need to change a drop down value dynamically.

    In the account overview page slot-> account-> status.

    We have a personalized page where the account status will change according to certain criteria.
    I am able to get this status changed on custom page Standard.

    We have a requirement where we need to change the 'Status' value as 'Active' or 'Inactive' in 'HzPuiActCreateUpdateRN', based on the State spent page custom field to a standard page.


    Please help me on this. Its urgency.


    Thank you
    Hey

    1. you must use
    oamessagechoicebean.setValue (pageContext, s1);

    Suggestions:
    2. use more user-friendly variable names. ActStatusBean or activeStatusBean is better than oamessagechoicebean.

    3 equals() checks for null, so

    If ((s1! = null) & ("Y".equals (s1) "))

    Statement above could be rewritten in the form
    if("Y".) Equals (S1))

    -Prince
    http://princekapoor82.blogspot.com

  • Prevent "Enter them the Proxy details" popup menu drop-down

    I use CC on a Mac in a school.  The school network uses a proxy, which means that CC Desktop cannot have a permanent internet connection.  If she needs to authenticate with servers to prove that my license exists, I attached the internet connection from my phone with the Mac to get online temporarily. The rest of the time, I have to settle with Office CC not being able to go online...

    Every 4 to 5 minutes menu CC bureau place the clock falls from a window asking proxy username and password.  It's really, really annoying because it immediately becomes the active window and everything I made in other applications is interrupted.  For example, while I'm typing this message, he jumped down and half of my sentence ended in the user name field.  How he stop asking my username and password?  Even if I enter the correct details, he denies them (probably because the port is blocked, or something technical like that).

    I want to disable this:

    Screen Shot 2015-04-30 at 13.39.18.png

    I've recently updated the Adobe desktop application using the internet connection from my phone (which doesn't use proxy) and after the update, I've seen these settings in the menu.  I had not seen these parameters before, so I guess that's something that adobe added with the update.  Now, the desktop application does not load when one of the Adobe start applications, so I don't get a proxy request!  Also, I came across a thread creative cloud & authentication proxy servers? which addresses have been released by your network administrator. That should help...  This thread addresses are below.

    Good luck!

    https://na1mbls.licenses.Adobe.com

    https://IMS-NA1.adobelogin.com

    https://adobeid-NA1.Services.Adobe.com

    https://na1r.Services.Adobe.com

    http://activate.Adobe.com

    https://activate.Adobe.com

    http://Adobe.activate.com

    https://Adobe.activate.com

    1. ccmdls.Adobe.com:443

    IMS - na1.adobelogin.com:443na1r.services.adobe.com:443prod - rel - ffc - ccm.oobesaas.adobe.com:443

    1. LM.licenses.adobe.com:443

    www-DU1.adobe.com

  • Fill in the fields in a menu drop-down

    Hello world

    I managed to fill in a field in a context menu, but what I'm trying to do is:

    a context menu with groups, for each group a series of names & surnames

    If "name 1 1' is selected for example

    the two fields would be filled separately by "family name 1' and «name 1'"»

    what I've done so far: http://cjoint.com/13dc/CLfpNDrfwDA_test.pdf

    could you please help me understand what could be the solution

    Thank you very much

    This is the kind of thing I thought. It is coded for clarity, not efficiency, but it should help you get started.

    Script mouse upward to a button

    var aParams =]

    {cName: "Lincoln", oSubMenu: []}

    {cName: "Abraham", return: "Abraham |"} Lincoln"},

    {cName: "Mary Todd," return: ' Mary Todd | "} Lincoln"},

    {cName: "Robert Todd" back: "Robert Todd |"} Lincoln"},

    {cName: "Edward Baker", return: "Edward Baker |"} Lincoln"},

    {cName: "William Wallace", return: "William Wallace |"} Lincoln"},

    {cName: 'Thomas' return: "Thomas |"} Lincoln"}

    ]

    },

    {cName: "Buffett", oSubMenu: []}

    {cName: "Jimmy", return: "Jimmy |"} Buffett"},

    {cName: 'Jane', return: "Jane |"} Buffett"},

    {cName: 'Savannah Jane,' return: "Savannah Jane |"} Buffett"},

    {cName: "Sarah Delaney", return: "Sarah Delaney |"} Buffett"},

    {cName: "Cameron Marley", return: "Cameron Marley |"} Buffett"}

    ]

    }

    ];

    Prompt the user to select a name

    RESP = app.popUpMenuEx.apply (app, aParams) var;

    Fill in the fields with the values selected

    If {(RESP)

    var names = resp.split("|");

    getField("name").value = names [0];

    getField("surname").value = names [1];

    } else {}

    getField("name").value = "";

    getField("surname").value = "";

    }

  • Problem to find the LUT processing log menu drop-down.

    I installed the utility LUT and can see utility LUT in the effects pane. I downloaded a free sample LUT of the Falcon and saved it on my desktop. It is in the cube, MGA and forms of 3DL.

    How can I get the LUT file is available from FCPX. I check the journal dealing with lower menu in "info" and it lists blackmagic, canon and sony but my READ of the Falcon does not appear.

    Any ideas?

    Get you in the "LUT Utility" filter.  Apply it to an element, in the Inspector, it will allow you to load an external file of LUT.

  • Why is there not a help icon (?) in the window of my Menu? How can I use to update Firefox?

    It isn't even a button greyed out, if I open with one another program that shows an update is available I get redirected to a page of language selection. AND I can not upload a screenshot simple gif to this page!

    If you go to "about firefox" on the Help menu, it will trigger a check for updates.

  • Windows text disappears when I open a menu drop-down

    original title: TEXT disappears

    When I point to any word in the dialog boxes or need to choose all the options in a menu drop down, my text disappears and the text box is white.  Please help me fis this annoying problem.

    Hi YvetteKing,

    Thank you to contact the community Microsoft and we will be happy to help you with your concern.

    According to the description, I understand that, while you select a word or drop-down box the text box disappears and becomes white.

    He would be grateful if you can answer this question in order to help you further.

    Have you made changes on the computer before this problem?

    I would suggest trying the following steps and check if it helps.

    a. right click on computer.

    b. Select advanced in the left pane system settings.

    c. Select the running parameters.

    d. in respect of Visual effects, remove control "Use Drop Shadows for the desktop icon labels".

    Thanks for posting the question in the Microsoft Community. If you need others with this problem please do not hesitate to join us.

  • Added command "Combined" for Windows 7 Pro declining Acrobat menu drop-down

    How can I add the 'combine' order in my dropdown Windows Acrobat 9 Pro? He was there and is very useful for downloading and file management.  I would just select the files that I wanted out of any Windows to combine and convert to .pdf folder and select 'Combine' in the drop-down window. The window of "Combine" Acrobat open with my selected files in place ready to go forward with the combination. Do not know how the order disappeared in menu drop down but I want to go back!

    I guess my question would apply to the addition of any command to a drop-down list menu Windows.
    Thank you very much!

    Hello

    The question you have posted is related to Adobe acrobat and would be better suited to the Adobe community. Please visit the link below to find a community that will support what ask you:

    http://forums.Adobe.com/community/Acrobat

  • If the default value in the menu drop-down Dynamics

    Hello

    I created a menu drop-down simple which can be used to edit an existing record or create a new record.

    When you create a new record, I would like to than the drop down menu to display "Unspecified" by default. Could someone help me with this?

    'Unspecified' option in the drop down should view record ID 11 in my database table called "names".

    Here is what my code looks like this day.

    Db queries:

    < CFQUERY DATASOURCE = "DATA" NAME = "get" >
    SELECT *.
    Names
    by name
    < / CFQUERY >


    < CFQUERY DATASOURCE = 'DATA' NAME = 'quo' >
    SELECT *.
    LEAVE quotes
    WHERE quoteID = #quoteID #.
    < / CFQUERY >

    This part is for the registration of existing database:

    < select name = "frn_ID" >
    < cfoutput query = "get" >
    < option value = "#id #" < cfif id is quo.frn_ID > selected < / cfif > > #name # < / option >
    < / cfoutput >
    < / select >

    Here is where I would like the ID with a default value of 11 to display:

    < cfelse >
    < select name = "frn_ID" >
    < cfoutput query = "get" >
    < option value = "#id #" > #name # < / option >
    < / cfoutput >
    < / select >

    < / cfif >

    Thanks for any help with this!

    Luke

    Step 1 - make certain if/else treatments to create a variable, call the ThisOne, who will be the id of the option of your choice is selected.

    Step 2: use this variable in the selected attribute to a cfselect tag.

  • The bookmarksdrop in the menu drop-down is too big, as it covers the greater part of my screen - how can I make it smaller.

    Whenever I select the menu drop down Favorites, it is so big that it covers the major part of my screen. Then, when I go to a folder in the drop-down menu, if I stop to any other folder, it opens and is so great that the menu drop-down or completely covered. This is VERY irritating and I never had this problem before moving on to Firefox 5.0. How do I don't cure it?
    I use a MacBook with a 13 "screen

    It is probably because you have one or more bookmarks with a long title.

    The width of a column in the list of bookmarks is in the current versions of Firefox automatically adjusted the bookmark with the longest name.

    You can check the names of the bookmarks and the longer more short.

Maybe you are looking for

  • Mac Mini server RAID spoil

    This follows a previous thread of mine.  Previously, the Mac mini server (2009, 3.1 I think) would not start.  The Apple logo and the spinning wheel seems forever. I found the boot disk and a USB optical drive and so I went in disk utility.  I got th

  • HP ENVY 750-167c Desktop: I just bought this PC can support this new video card?

    We just bought this PC http://support.hp.com/us-en/document/c04812516 We have installed a gtx 750 Ti and its drivers and it worked very well. After a few months, so we decided to move to a 970 gtx so we had a CX500 of Corsair power supply. I installe

  • 3000 k100 Windows 7 64 bit

    The motherboard will be able to read 8 GB or am I stuck with the 4 GB. Thank you for your time.

  • Is my laptop LED or LCD?

    I have a HP Pavilion Notebook PC g6-1122sl have I not LED or LCD

  • How to add a field to a position fixed in Blackberry?

    I'm curious to see if it is possible to display a field in a fixed position on the screen and at the bottom most layer if another Manager or field painted on it, except the bottom of the screen. As if this field is added to the background of the scre