How to execute from multiple inputs

Using Jdev 11.1.1.2, windows, ejb3.0 with annotations,
scenerio
i have a method that I need to execute. I have two values.
first value is coming from a parameter that is being passed in
second value is coming from a Select One Choice drop-down box
Both values are in the session. I need to execute when an item is selected from the drop down.
This execute statement will populate a table.
If I were doing this in a servlet I would just use the request.getParameter for the parameter and use the method.(intnumber) of the value in the drop-down and have a submit button that would execute it.
Any assistance is greatly appreciated.

I also have created data controls that I have dropped on to my jspx page.

Similar Messages

  • How to submit data from multiple Input Ports in single SUBMIT button  click

    Hi,
    I am in SPS8.
    What exactly steps I need to perform to submit data from multiple Input Ports.
    I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
    I debugged the VC application in SPS8.
    While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
    form are being passed to the BAPI, But not the Table Form data.
    If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
    Essentially I need to submit both of them in one SUBMIT button.
    Thanks,
    Ramakrishna

    Ramakrishna,
    From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
    That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
    1/ Automatic Source
    2/ SKIP_ITEMS_WITH_ERROR
    On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
    Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
    Hope this helps,
    Cheers,
    Scott

  • General question: How to execute a batch input using different user name?

    Hi everyone,
    I would be very grateful if someone could tell me how to execute a batch input from source code using a differente username so the batch input is executed with different permissions.
    For example, I log on with:
    Username: A
    , but I'd like to execute a batch input using the rights and permissions of user B.
    Thanks in advance and best regards.
    Ben.

    If you are calling the BDC in a program, create a job to run the program and specify the user you want each program to run under.

  • How to Read from Standard Input?

    Hi,
    I am new to Java. Been reading the tutorial, but still unable to find How to read from standard Input.
    Can anyone help? Thanks.
    Here is my simple & error code:
    public class test
    public static void main(String[] args)
    char filename[];
    int i=0;
    System.out.print("Type in a filename to read: ");
    while ( System.in(filename) != -1 )
    i++;
    System.out.print(filename);
    RP

    import java.io.*;
    public class forum{
         public static void main(String args[]) throws IOException
    InputStreamReader is = new InputStreamReader(System.in);
    BufferedReader br = new BufferedReader(is);
    String input = "";
    do
    try
    System.out.println("Enter command: ");
    input = br.readLine();
    catch ( IOException io ) {}
    } while (!input.equals("exit"));
    [code\]
    package to import is java.io.*;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How do I setup Multiple Inputs on a single card into multiple tracks (devices) in Adobe Audition?

    With a single Audigy 2 Card, how do I setup to record from two of the inputs (line-in and mic) into separate tracks in Adobe Audition 1.5?
    I am trying to get the different inputs to list as different devices in Adobe Audition 1.5 so that I can record to multiple tracks simultaneously with different input.
    Is it possible?
    Any help is appreciated.
    Thank you

    I need to know the same thing when using an Audigy2 ZS Platinum Pro. Neither the users manual nor the website provide anything more technical than how to hook up speakers wires.
    If you cannot multitrack from the multiple inputs, is the IEE 1394 (firewire) port capable of 6 pin connection to a Yamaha digital mixer with an MLan digital I/O card. If so, will the 16in/16out from the MLan pass through and be recognized by Adobe Audition?
    Thanks

  • How can I have multiple inputs into the selector terminal of a case structure

    Hi everyone
    I have a question on how to wire multiple inputs in to the selector terminal of a case structure. 
    Currently, I have three switches, each switch determines different case. So if I switch the switch 1 is on, the numeric indicator will show 1. If the switch 2 is on, the numeric indicator will show 2, so on and so forth. However, the selector terminal will not allow me to wire multiply inputs into the case structure, I tried Bundle by Name, Bundle and Array to Cluster, but they did not work. I set the case structure with 3 cases, they are 1, 2 and 3.
    Could someone help me please. I have attach an image and the VI of the work I did so far.
    I have another question, is there a function which can toggle other switches to off when there is a switch has been toggled on.
    Thank you very much
    Tommy
    Attachments:
    Trial - Case Structure.vi ‏7 KB

    Tommy, attached find a cheeseball way of doing this that has given me a LOT of mileage over the years.  IT lends itself nicely to a couple of really good practices that NI recommend, but I have given you the bare-bones to "see under the hood".  
    The recommended practices:
    1. You can make this a nice tight sub-vi where you can put it into a core library of routines that you'll use over the years, even extending the logic to look only for changes, etc.
    2.  If you are thinking about Front Panel design considerations, you'll want to use arrays of controls where possible, as that's a nice neat way of containerizing your switch for both the FP and Block Diagram.
    Have fun.  I have TONS of these types of things, so feel free to PM me if you have any other needs.
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI
    Attachments:
    Boolean Switch Logic.vi ‏11 KB

  • How do I get multiple inputs?

    Hi. I have Logic Pro 9 installed on my Macbook and on my iMac. I have tried to use a 12 channel mixing desk as the inputs for recording, but it will only ever allow me to select 2 inputs. This is on my Macbook only, I don't have the same problem on my iMac.  Previously I have a 2 input device (an Apogee Duet) and used this on both computers. When I connect the mixing desk (Yamaha MG166cx-usb via the firewire to USB connector, it shows up in the preferences and allows me to select it as the input and output device under preferences, audio, devices, core audio option. If I add a new audio track, it will only still show me the option of selecting input 1 or input 2. If I do the same on my iMac, it will show multiple inputs. I have uninstalled my previous audio device, and also uninstalled Logic, moved to trash, downloaded again, but the same symptoms are there.

    Yes. Of course I read the manual. It quite clearly shows in Cubase, which I haven't installed and don't use 4 stereo and 8 monoaural tracks. It's on page 11 of the hard copy manual. I have however just set up a blank project and tried recording from different channels on the mixer. (1 and 5). I can record either one individually, but only two channels simulaneously, but no more than two channels it seems. Are you saying this is all I ever will achieve with this desk? Seems a bit pointless almost to sell a desk with multiple channels yet only lets you record two of them with one of it's selling points - a USB connection facility. It's not the reason I bought the desk by the way, I use an Apogee Duet to record at home, I just wanted to be able to set up and record each individual channel during a live performance via the PA and then clean up and mix properly at home. Guess I'm not going to get far on that front

  • How to select from multiple addresses of account in IC Web Client

    Hi all,
    We are implementing a B2C scenario for IC Web Client. We have customers with multiple addresses. However, when we search the acount, only standard address comes to screen.  We want to be able select the related address, and then confirm the acount with that address.
    Is there any way to customize the Web Client in order to be able to select from multiple addresses of the acount?
    Thanks in advance.
    Edited by: Danisman Danisman on Aug 31, 2010 2:52 PM

    Thanks for the answer. Yes, we are using 7.0 but in the account identification screen, there is no personalize button ( I assume you are suggesting adding an addres block by using that button, right?).
    We checked the necessary customizing : there is an entry for fucntional profile PERSONALIZATION : ALL_ENABLED.
    Should we do something else to show the button?
    Thanks again.

  • How to bind/pass multiple input parameters to sql query in BPEL Process

    Hi,
    I have a requirement to invoke a query on a database table to fetch the records based on the few input values or bind variables?
    I have created a Partner link using the DBAdapter service and have used custom SQL, how can i bind and pass multiple bind/input parameters for these queries.
    foreg: if i have to query employee records based on name , desgination and age, these three params would be my input parameter that i will pass when i invoke the BPEL process, bow how can i pass these parameters to the partner link using DBADAPTER service.
    Please help
    Regards

    If the parameter-value is not known beforehand and cannot be determined based on the process instance data at that time, there are 2 options. Either invoke the PL/SQL procedure you named using a DB adapter service to get the value and pass it to the other DB adapter service. Or create a single service (e.g. PL/SQL procedure) that determines the parameter value, executes the query and returns the result. However, this is more a design issue. Does it makes sense to combine these actions in a separate service and use it or are these actions not related? You furthermore state that additional (DB adapter) services make the process heavier. Do you have strict requirements on the time process-instances may run or other such requirements? If not, I think the design-choice on whether combining these actions in a single service should have more priority.

  • How to go from multiple chapters ONE timeline to the menu

    Recently had to convert a VHS to a DVD, where the file given to me was 1 Mpeg of the entire VHS capture. Not only that, but there were many interstitial segments which they didn`t want shown on the dvd. Last but not least, the order of sections on the VHS was random, whereas the DVD menu was alphabetical.
    No matter what I did to the timeline/segments/chapter markers/menu directions, you`d select an item from the menu, it would play the right item from the [start] chapter marker, but then would totally ignore the [end] chapter marker (and it`s [end action] on the timeline and menu), and carry on playing whatever was left on the timeline (including all the stuff I didn`t want to be seen by the viewer).
    Yes, I know the best way is to have been given multiple clips, edited the way they wanted them... but we don`t always get what we want, so have to work with what we`re given.
    BUT, it IS possible to have people see only the bits you want them to see (selected from the menu) and then send them back to the menu (highlighted on the next item in the menu), from the one timline:
    - Import your mpeg as a timeline.
    - Add all your chapter markers (one at the start of the section and one at the end). It`s a good idea to name them, so you know where to drag links to later.
    - At the [start] chapter marker of a segment in the timeline, select the [end action] and point it to the menu. This is optional, as apparently it ignores this anyway, but I like to make doubly sure of things with Encore :)
    - On the menu item for that segment, point the [link] to the [start] chapter marker on the timeline.
    All pretty normal so far, but here`s the trick to get it to go where you want it to go, without playing the whole timeline after it`s supposed to have gone back to the menu.
    - Still working from the menu, point the [override] for that segment, to the next item on the menu.
    - select the imported movie timeline in the 'project' window, and then press the [Set.....] button in the properties window, and change the remote control button`s to 'Custom' and make sure next/previous chapter, and fast-forward/rewind are de-selected. If they`re left selected then no matter what you do, the viewer can ff or next chapter, and they`ll see all the things you don`t want them to see. Leave pause/play and Title/Menu selected.
    Hope this is helpful to some of you....
    Storm

    >Well, it was ignoring the chapter end-actions
    Absent overrides or user-induced navigational errors (like setting the end action for chapter 3 when you want the program to return to the menu after chapter 2 plays), I don't see how this is possible.
    A chapter end action, properly set, will execute during timeline playback when the chapter
    finishes playing. I know this sounds obvious and elementary, but it is a very easy concept to overlook. I am not assuming incompetence, just unfamiliarity. :)
    >If you could direct me to some tutorials on how to use Chapter End Playlists and Chapter Playlists to do this I`d appreciate it. I went through the manual and tried it but it didn`t work for me, and could only find people saying 'do things with chapter playlists' without going into detail on how to do it, when I searched the forums
    If you can squeeze $17 - $25 into your budget, my book (The Focal Easy Guide to Adobe Encore DVD 2.0) has step-by-step instructions and colorful illustrations on how to set up a Chapter Playlist and how to properly set up Chapter End Actions.
    To show my objectivity (and not get booted out of the forum for self-advertising), Adobe has published one of their Classroom in a Book series that covers Encore 2.0. Either way, you should have a reference handy when using complex programs like the ones that are part of the Adobe Production Studio.
    -Jeff

  • How to load from multiple sources to multiple destination dynamically

    I have more than hundred tables  in a different server (lets say on a sql server 1). I have to perform load,by getting change records copy of those hundred tables with the some condition in to sql server 2 destination. I know how to perform data
    flow task in SSIS to extract data from a source and load it in a destination. With more than hundred tables, I would need to create more than hundred data flow tasks which is very time consuming. So I have heard about from source to destination dynamically
    by looping through and creating variables. Now, how do I do this? Remeber, those hundred tables do having similar column names in both soruce and destination server. How can I perform this initial load faster without using multiple data flow task in SSIS.
    Please, help! Thank you!

    Ok , if the schema of both the source and destination is same , you can just perform an import and export tool and then it can be saved as an SSIS package. If this needs to be separately developed in an SSIS package, the logic can be :
    1 - Get the list of tables using sysobjects or metadata table where all the table list is maintained.
    2 - Loop through those tables using for each loop.
    3 - Inside the for each loop , use a script to access the source connection ( OLEDB source table name) and the destination connection (OLEDB destination table name).
    4 - Assign the source table connectoin dynamically to the variable fecthed from for each loop above.
    5 - You can also use expressions for the OLEDB source table name and OLEDB destination name inside the data flow task.
    6 - At the end the data flow task which is explained above will be used.
    Script task and the data flow task will be used inside the for each loop , above which all the objects list will be fetched using execute sql task using a SELECT and assigned to Object variable.
    Simplest will be Import and Export.
    Happy to help! Thanks. Regards and good Wishes, Deepak. http://deepaksqlmsbusinessintelligence.blogspot.com/

  • Design Question: Creating One Object Type From Multiple Inputs

    Hi,
    I'm attempting to expand my brain a bit and come up with a more elegant solution to a design I created a few years ago. In simple terms, I have a data object (Request) which can be created based on data in a text file or from data previously persisted in a database record using the Request object and associated DAO. Typically, the text file is initiating a "new" Request object to be persisted, and reading from the database is done to update or view previously submitted Request objects. Note that I have no ability to change the original input method of the text file.
    In my original design I basically lumped everything into the Request class using multiple constructors which made for a messy jumble and a very long class. Different parsing routines were needed when data was read from the file vs. reading it from the database. I was considering refactoring the code to use a factory class but this doesn't seem to follow the typical Abstract Factory or Factory Method design patterns. In my design I keep ending up with something like:
    public class RequestFactory {
        public Request createRequestFromFile(File file) {...build up the request object...}
        public Request createRequestFromDbRecord(int recordId) {...build up the request object...}
    }And I would change the constructor in my Request class to private and remove all of the parsing and construction methods.
    Now, I can definitely make this work but I'm not sure I'm really doing much except taking the creation garbage (there's a lot of parsing of multiple-value fields that needs to be done) out of the actual Request class. So my question is basically, do I have a better approach I'm not seeing or is this type of factory "appropriate"? I mean, would someone come along later and look at my code and think I was crazy? I'm still trying to wrap my head around some ways to use factories in my own projects so I'm probably not thinking clearly.
    Thanks!
    Pablo

    Thanks for the feedback. About your suggestions on dealing with the different loading methods, I think that's where I keep getting disconnected, at least as far as using an abstract factory is concerned.
    Extending your example code a bit using option one, I would guess I end up with something like this:
    public interface RequestFactory {
      Request createRequest(RequestSource source) throws RequestCreationException;
    public class DatabaseRequestFactory implements RequestFactory {
      public Request createRequest(RequestSource source) throws RequestCreationException {
        // do some stuff
    }The part I can't figure out is how to define the RequestSource (or RequestId in your example). It would seem that if I'm going to define member variables in RequestSource like SourceFile or RecordId it would be just as correct to skip the interface and just use two concrete classes like this:
    public class FileRequestFactory {
      Request createRequest(File file) throws RequestCreationException {
        // process file and create request
    public class DatabaseRequestFactory {
      public Request createRequest(int recordId) throws RequestCreationException {
        // load record and create request
    }I guess where I keep stumbling is a) the value of the interface and b) if I do use an interface, how to have a generic object passed to createRequest() that can refer to either a file location or a record ID. This concept is pretty clear when the creation requirements for each concrete factory are the same, but when the construction uses such disparate data sources for creation I can't seem to wrap my head around the differences.
    Your third suggestion is probably the easiest for me to understand but it seems like it would be a bit contrived. In the end it may make the most sense if I am going to go with that type of approach since I still don't really understand how to implement the first two options.
    Thanks again for your input.
    Pablo
    Edited by: Pablo_Vadear on Dec 15, 2009 6:11 AM

  • How to Read from multiple channels

    Dear Sir
    I am acquiring data using FP-RTD-122 using OPC Client software. I ahve made one socket for that and i am using command
    CWDataSocket1.AccessMode = cwdsReadAutoUpdate
    CWDataSocket1.URL = "opc://localhost/National Instruments.OPCFieldPoint/FP Res\FP-RTD-122 @1\Channel 0"
    CWDataSocket1.Connect
    v = CWDataSocket1.Data.Value
    where v is a variant type.But this is 8-channel RTD so how can i read values from all channels using single socket connection Because at presnt i have to use 8 sockets for all eight channels.

    At least as of FieldPoint 4.0 and earlier (I do not know about 4.0.1 or later), the OPC Server did not support multiple channel analog items. Thus to read all eight channels of a FP-RTD-122 module, you would need 8 separate socket connections. For discrete modules (boolean), the "All" tag, is treated as a single 8 or 16 bit number.
    Regards,
    Aaron

  • Loading a table from multiple input files using sqlldr

    Hi,
    For my project i need to load into a table by joining two input files using sqlldr. For example,
    I have a file1, which has values
    name,salary,ssn
    and file2 which has values for
    ssn,location,country
    now i need to load these values into a table say employee_information by joining both input files. both input files can be joined using ssn as common field.
    Any idea how to do this??
    Thanks in advance
    Satya.

    Hi,
    What is the size of the files. If possible mail me the sample files, And the structure of table. Is the <ssn> from first file and second will have seperate columns in the table or we have to merge it.
    SKM

  • How to select from multiple output tables in the SAP Data Source

    Hi,
    We're using the SAP Data Source to display SAP data in our portal from the Bapi: BAPI_INFORECORD_GETLIST. When defining the Bapi Meta Data we can select data from one of the two output tables (INFORECORD_GENERAL and INFORECORD_PURCHORG). But we want to select data from both tables (some columns we want to show are in INFORECORD_GENERAL and some are in INFORECORD_PURCHORG) .
    How can we do this ?
    With regards,
    Ramon van der Weiden

    You can query multiple TimesTen databases, but your original question was about joining tables from two databases, which is not supported.
    Using Cache Connect to Oracle to query an Oracle database is not distributed. It's still one single Oracle database you are querying. You cannot join a table in the TimesTen database with a table in the Oracle database, this is not allowed.
    If you are willing to share your business requiremens, we can take a look and see what solution might work for you. Would you like to discuss this offline?
    Susan

Maybe you are looking for

  • How to install XI and the Pre-requisties for the same?

    Hi ! I want to install XI in my system. Can anyone tell me what are the prerequisties before installing XI and also the installation procedures .. Thnx, Laawanya

  • How to open the Transported model Object in the Target Portal Story Board

    Hi All, How To Transport Applications Modeled in Visual Composer from NetWeaver 2004s to NetWeaver 2004 I have transported one VC model from Development  portal to Testing Portal. But Once i transported , under the PortalContent -> Visual Composer ->

  • Videos dont get transfered correctly from version 6 to 7

    How come I installed iTunes 7 but I cant see my videos that i bought in iTunes 5. All I see when I turn on the video it is a green screen that is freaking out, and when I put my mouse on the video screen it turns all black. Can some one please help,

  • Quality rejection reports

    dear all please tell me t-codes and reports for material rejected or rework from quality managenent. what are the standard reports available in sap for quality inspection results analysis? Prashant

  • "N-Square" Box effects Please Help!

    I am curious about the box or square effect. It breaks up a video into separate boxes, is there a way to have different video clips playing in each box? It seems like it doesn't do much more than the basics, but I just started using this program. Tha