Prefilter Results of Launch Popup Dialog

I have an equipement inventory table. Contains the name of the equipment, classification of equipment, and location of equipment. However, when I fill in the classification of equipment there is a launch popup dialog. How do show filtered results based on the equipment name?
I have a vo for the equipment inventory called equipmentvo. I have a classification table called classification vo.
How do I filter the results of the classificationvo based on the the name of the equipment( filed in equipment vo)?
thank you

A bit lost in your questions still
However, when I fill in the classification of equipment there is a launch popup dialog. How do show filtered results based on the equipment name?On the launch of the popup, you can re query the questioned VO by passing the parameters.
How do I filter the results of the classificationvo based on the the name of the equipment( filed in equipment vo)?Same here.

Similar Messages

  • Launching DHTML popup dialogs using the external dialogframework

    Hi,
    I saw this article
    http://thepeninsulasedge.com/frank_nimphius/2009/11/13/jdeveloper-11g-r1-ps1-new-feature-launching-dhtml-popup-dialogs-using-the-external-dialogframework/
    and try to follow the example to apply to my requirement.
    The only difference between my requirement and the example is that the launching point of the taskflow as an inline popup is from a page fragment, not from a regular jspx page. I have an exisiting Task Flow A which contains Page Fragment A. There is a button on Page Fragment A which when clicked, launch Task Flow B (which contains Page Fragment B) as an inline popup. When I defined it in Task Flow A to call Task Flow B, set "Run as Dialog" = "true", and "Display Type" = "inline popup", but I saw there is an error in design time: "Task Flow call lookup-configuration-task-flow cannot call bounded taskflow lookupTypes-edit-task-flow as a dialog, since lookupTypes-edit-taskflow refers to page fragment"
    Is there a limitation that a page fragment cannot call another page fragment as an inline popup?
    Please share and advise.
    Thanks.
    -Mina

    Hi Frank,
    Yes, I tried it already by calling a bounded task flow using page fragments, and I saw a red "X" sign on the task flow in the Jdev editor. That's how I come to realize it's not feasible. So looks like I got a confirmation that this is a limitation. In that case, we will try to design our application to either call a taskflow with page fragment as dialog from a jspx page or call a taskflow with jspx page as dialog from a page fragment, but not calling task flow with page fragment as dialog from page fragment.
    Thanks.
    -Mina

  • How to simply display resulting text in a dialog Box

    Is there a way to simply display resulting text in a dialog Box - not a text edit document?
    Doug_

    Thanks that's very helpful
    What I am trying to to is to create a workflow that opens mail and displays iCal TO DO's that I have created throughout the day tagged with the word MAIL so they can be filtered.
    At the moment the ACTIONS are:
    Launch Mail
    Get New Mail
    Find TO DOs in iCal (Who's SUMMERY includes MAIL)
    I get iCal To Do's as a result
    But then...I can find no options to display the iCal Events that result.
    Putting in the Applescript you posted displays a blank dialog box. This tells me that there is no text in the result.
    Yet if I put a SPEAK TEXT in after find TO DOs it dutifully speaks my filtered TO DO's
    I thought I might just try a NEW MAIL MESSAGE action.
    This works great in the workflow. The content of the new mail is the filtered TO DOs.
    But if I save it as an application (the form I need it in), mail simply opens blank when it reached that part of the work flow.
    What would you recommend?
    Thank again for your help,
    Doug_
    Message was edited by: Douglas Suiter
    Message was edited by: Douglas Suiter
    Message was edited by: Douglas Suiter

  • Af:popup dialog width and height

    hi all,
    i want to know how to define popup dialog width and height.
    here is my code.
    <af:popup id="popup1" contentDelivery="lazyUncached"
    launcherVar="source" eventContext="launcher" >
    <af:dialog title="General Details - Standard Statement" type="none" id="AddInstDialog"
    inlineStyle="width:600px;height:400px">
    I do something like in above code.
    but it is not working.
    With Regards,
    WP

    add panelWindow
                          <af:popup id="popup5" contentDelivery="lazyUncached">
                            <af:panelWindow id="panelWindow5" title="Stop" modal="true" inlineStyle="width:369px;height:350px;">

  • How to launch the dialog with a wizard having train component

    Hi
    I have a page with a button and onclicking the button i need to show a dialog wizard( a wizard with 3 pages with the train component to move back and forth)
    I have created a taskflow as a train with 3 pages, but onclicking the button i am not able to launch the dialog as a taskflow.
    Any documentatino on how to achieve the same or some sample application reference is highly appreciated
    Bittu Bansal

    On clicking the button i want to show a popup and that popup drives me through the wizard.
    However i am able to achive the same right now.
    I am calling a popup using showPopupBehaviour and that popup i have created the region where i have embedded the task flow for a train wizard.
    Thanks
    Bittu Bansal

  • Implementation of Popup dialogs in JSF

    Sir,
    We implemented popup windows using dialog:popupwindow from a jsf page.
    From a page a pop up is called . It has 2 buttons , Yes and No. On clicking yes i show go to another page. If I click No i should come back to the same page itself.
    We implemented it in this way.
    From an action button of a page a method is called. In that action method a pop up dialog is called. In the action button we have given a return listerner binding. Pop up window has 2 buttons. Any action will take me to the return listerner method. Here i can do any actions. If i click "Yes" in the popup, I have to do some functionality. But after my operations i want to go to another page which shows i have been successful in my work. If i click "No", i want to remain in my page itself.
    How can i implement this.
    plzzzz help.
    with regards,
    Anila.

    Hi,
    you don't need to programmatically launch the dialog, you can also use the declarative way to do so. The return listener is important thouh. Both buttons yes/no should call
    AdfFacesContext.getCurrentInstane().returnFromDialog();
    this method takes 2 arguments that define return values. The first argument is an Object, the second a HashMap. Both arguments are optional and can be null.
    If you use the first then the call is
    AdfFacesContext.getCurrentInstane().returnFromDialog("yes",null);
    In the return listener you check for the returned object and compare it to "yes". If this is yes, then you can call either
    facesContext.getExternalContext().redirect("/faces/te_page_to_go.jsp");
    or
    facesContext.getViewRoot().setViewId("new_view_id");
    then call
    facesContext.responseComplete();
    Frank

  • ActionListener and actionExpression attribute of button in popup dialog

    Hi,
    I want to programmatically raise a popup dialog with a button bar facet.
    Before popup is shown I programmatically set the actionListener and actionExpression attribute of the
    button in the buttonBar facet of the dialog. This works fine if I just have one button in the buttonBar facet.
    Ie. the actionListener fires and the page navigation occurs after popup closes as a result of user clicking button.
    When I add one additional button to the button bar facet the navigation stops working.
    Anyone familiar with this issue and has an idea to fix it.
    Thanks,
    Kenneth

    No, as mentioned with one button it works fine. So the mechanism used for setting actionListener and action is fine.
    In addition the popup is on a pageTemplate. Just the strange thing is, with one it works with two it doesnt even if I don't
    do anything with it other than drag and drop an extra button in the the buttonBar facet of the dialog.

  • How to launch a dialog box programmatically

    I'm working on my first ADF form and my first Java program (the backing bean) and I need some help with how to launch a dialog box from the backing bean instead of a button.
    Here is the background of what I am doing: I created an ADF form whereby a user chooses an Excel spreadsheet from their local drive and submits it. The backing bean reads through the spread sheet fields, does some validations, etc. then writes out a fixed length file on the weblogic server. This part works fine. But I wanted to add a dialog in after the spreadsheet is read but before the file is written that displays the number of records that were read and give them the option to hit OK to continue or Cancel which will stop execution of the form and maybe display a cancelled msg. Not sure how to do this part. How can I invoke the dialog from the code? Do I still need to have a button to get an action listener, but just not display it on the form? I'm a bit confused on this part. Any advice or examples would be appreciated. Thanks.

    here popup involves
    http://subu-jdeveloper11gadf.blogspot.in/2012/06/checking-application-module-dirtiness.html
        public void DisqualifyListener(DialogEvent dialogEvent) {
            // Add event code here...
            DialogEvent.Outcome outcome = dialogEvent.getOutcome();
            if (outcome == DialogEvent.Outcome.ok)
               RichPopup popup = this.getPp1();
               RichPopup.PopupHints hints = new RichPopup.PopupHints(); //empty hints renders dialog in center of screen
                popup.show(hints);
        }Edited by: ADF7 on Jun 26, 2012 8:57 AM

  • How to display a screen as Popup Dialog box in Module Pool

    Hi All,
    I have a requirement to display a popup dialoge box into module pool.
    i need to display a screen as a popup on the current screen on a button click.I have developed a screen and in atribute tab i have defined the screen type as modal dialog box but  it is displaying previous screen screen is hide i want to display on the same screen as a popup.
    Thanks
    Narendra

    Hi Narendra,
    Try to trigger the popup once it is done with the previous action might be anything.
    i have shown one sample code where after i click on save button when the data is saved successfully
    after that it has to trigger me a popup asking for conformation for the next action.
    A small piece of code
    INSERT INTO ZORMD1 VALUES WA_ZORMD1.
        IF SY-SUBRC = 0.
          G_LOCAL1 = 0.
          MESSAGE S000.  " Data saved successfully and immediately call the popup
    CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
            EXPORTING
      DEFAULTOPTION  = 'Y'
    TEXTLINE1 = 'SUCCESSFULLY SAVED'
              TITEL = 'POPUP FOR conformation'
             START_COLUMN         = 25
             START_ROW            = 10
            CANCEL_DISPLAY       = 'X'
           IMPORTING
    ANSWER  = G_PRINT
    IF G_PRINT = 'J'.
    PERFORM PRINT_OUT.
    ENDIF.
    Do the modification according to your requirement.
    Cheers!!
    VEnk@

  • OK button not visible in popup dialog box.

    Hi,
    There is some problem with the popup dialog boxes that I am using. Sometimes I can see the OK button while sometimes it is not visible.
    Any clue regarding this odd behaviour?
    Many Thanks,
    Anagha

    HI everybody,
    I am also having similar error now.
    IN the standard Dialog box, I am not able to get the button, despite of doing everything properly.
    Please find the code used:
    IWDControllerInfo conInfo= wdThis.wdGetAPI().getControllerInfo();
                                  IWDEventHandlerInfo evntInfo = conInfo.findInEventHandlers("Ok");
                                  IWDConfirmationDialog confDialog =wdComponentAPI.getWindowManager().createConfirmationWindow("Please Enter a search Criteria", evntInfo , "OK");
                                  confDialog.setTitle("Confirmation Window");
                                  confDialog.open();
    I  have created the eventhanler.
    I tried all possible ways but nothing has resolved the issue.
    The only difference is that I need to place this code in custom controller only.

  • Acquire data from a tab delimited file using a popup dialog object on a stamp

    I am trying to import data from a tab delimited file using a popup dialog object on a stamp.  I have purchased the book by Thom Parker--All About PDF Stamps in Acrobat and Paperless Workflows and have been working through the examples in the appendix.
    My problem is understanding how to bring the data into the dialog object from the file.
    I don't want to plagiarize his book--so am electing at this time not to show my code.  The  script is reading the file, just not bringing in the records from the file so that I can select which line to import into the stamp.
    I have typed in the code exactly how the book describes, but when the popup dialog object is selected, there is nothing in the drop-down.  When I click OK, the first record is put on the stamp--except for the fields that I am wanting to appear in the dialog object popup box.
    I have searched the forums, and also the JavaScript reference.  There are examples of the popup dialog object, but none of them show how to import the data from a file--just for the items to be typed in as the list.
    Any help would be greatly appreciated!  i have been trying to work on this for several months now.

    Karl
    Thank you for getting back with me!
    In answer to your questions:
    1. Your trusted function is not a trusted function. Did you put this
    function into a folder level script so that it will get executed at system
    startup?--
         yes--I saved the script as a .js file and put it in the following path (I have Acrobat XI Pro for Windows)
    C:\Documents and Settings\tjohnson\Application Data\Adobe\Acrobat\Privileged\11.0\JavaScripts\GetTabData.js
    2. The script cannot find your tab delimited data file, or it cannot
    extract the data. Did you add the data file in the correct location? The
    location from the script in the book would be c:\mydata\Contacts.txt
    Yes--the file is in the same path as the book.
    Below is my code that references the file.
    var cPath = "/c/mydata/Contacts.txt";
    the slashes in the book go in the direction of the text above--should they go in the direction that you have in your question?
    Also,  the name and email address need to be separated by one Tab character.
    They are. 
    3. The fields need to be named the same way as the columns in the data file (the two names are in the first line of the file).
    My headings are RevByFromTab and EmailFromTab--which match the names of the two fields on the stamp.
    So, check that you are not getting any errors in the JavaScript console
    (Ctrl-J or Cmd-J), and verify that the tab delimited file is in the correct
    location
    When I run in the java script console--and I just run the script on the stamp,
    it says
    TypeError: event.source is null
    17:Console:Exec
    undefined
    When I place the stamp on the page, the popup box is working, but when you click on the down arrow, there is nothing listed.  When I click OK, the RevByFromTab is populated by the first item in the file, but the EmailFromTab field says undefined.
    Thank you
    Message was edited by: tdjohnson7700

  • Best strategy for working with popup dialog/PanelWindow (refbook)?

    In JD 11g I want selecting the value from reference book (which returned from DB). This reference book must show in popup dialog.
    I create bounded task flow with page fragment in which place the query filter and table with values for selecting.
    1. I inserted task flow as region in DIALOG component and place command button "OK" and "Cancel" into DIALOG buttons facet.
    Problem - I cant gain access to binding value (which contain ID of selected row) from fragments page definition.
    I try set the "Data Control Scope" value of task flow to "shared", but this did not help.
    2. I place command button "OK" and "Cancel" into page fragment and inserted task flow as region in panelWindow component. Now I cant gain access to binding value from fragments page definition (of course). But I cant auto-close the panelWindow after pressing buttuns on page fragment.
    Please help to solve a problem!

    Thank you for help, Frank!
    I have many reference books (reftables), which contains much records each (two columns - ID, TITLE). Also I have several tables (main tables), which refer to these reference books (maintable.ID_REF1 -> REF1.ID). On page, where I edit record from one of the main tables, i cant use simple LOV combobox, coz many records from reftable. Also I cant use ADF LOV input / ADF CHOICE LIST coz in input fields shows the ID of ref row (i want - the "title" column, bun cant do it). So I have solved to use the modal dialog / panel window in which include the region with reftable (coz each reftable may use in many page with edit of main tables).

  • Avoid popup dialog in smartforms

    hi all,
    i'm facing a problem, i want to avoid popup dialog in smartforms.
    i have set structure SSFCTRLOP-no_dialog = 'X'. but it still show popup dialog. did i miss something?

    Hi,
    I had the same issue, no need to set device to PRINTER since the underlying function module will default that if blank.
    On debugging the SMARTFORM function module.
    It turns out that the parameter USER_SETTINGS defaults to 'X', which will display the printer dialog popup.
    Changing this setting (USER_SETTING) to ' ' (SPACE) when calling the generated SMARTFORM function module as below then stopped the pop up appearing.
    (The actual issue is that the destination specified was being overwritten with *, so it was looking to the users settings for a printer. Normally LOCAL PRINTER, changing the user_setting to ' ' keeps the printer specified and no need for the printer dialog popup)
    * Get function module name
       CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
         EXPORTING
           formname           = i_formname
         IMPORTING
           fm_name            = l_fm_name
         EXCEPTIONS
           no_form            = 1
           no_function_module = 2
           OTHERS             = 3.
       IF sy-subrc <> 0.
         CASE sy-subrc.
           WHEN 1.
             RAISE no_form.
           WHEN 2.
             RAISE no_function_module.
           WHEN OTHERS.
         ENDCASE.
       ENDIF.
      CALL FUNCTION l_fm_name
         EXPORTING
           control_parameters   = i_ctrl_params
           output_options       = i_output_opts
          user_settings        = ' '                                        <--- *** Set this to SPACE ***
           t_line_items         = it_trolley_items
         IMPORTING
           job_output_options   = l_job_output_options
         EXCEPTIONS
           formatting_error     = 1
           internal_error       = 2
           send_error           = 3
           user_canceled        = 4
           OTHERS               = 5.
    This fixed the issue in my case, every case is different.
    Hope this helps someone, even though this is posted long after the original question.
    Thanks
    Jodh Atwal

  • Close ADF Popup Dialog with html button in Inline Frame

    hi,
    I'm using jdev 11.1.1.2,
    I have a adf popup dialog which contains an Inline Frame(source is a jsp file).I want to close the dialog with a html submit button in the frame page. when the submit button is clicked, auto close the dialog.
    can anyone help in this.
    Thanks

    Try to close the popup from Javascript using a sciptlet similar to the following one:
    var popup = AdfPage.PAGE.findComponent('<yourPopupClientId>');
    if (popup.isPopupVisible()) {
      popup.hide();
    }where <tt><yourPopupClientId></tt> should be replaced with the popup's client ID. The client ID is composed of the popup's ID from the <af:popup> tag preceded with IDs of the eventual parent naming containers where the popup has been declared.
    For example, if the tag is <tt><af:popup id="myPopup"></tt>, then the clientId might be:
    <tt>  myPopup
      container1:myPopup
      container1:container2:myPopup</tt>
    ... and so on, depending on where you have defined the popup in your JSF page (i.e. within which naming containers), you should determine it first.

  • Why the validator can't display the error message on the popup dialog?

    I have input text with a validator and a custom ok button and a cancel button on the popup dialog.When I click the ok button,the validator will validator the input value on the input text,but it just close the popup dialog without display the message firstly.The point is it does validate the value but doesn't display the message.Can anybody help?

    It seems if I use the button which is associated with the dialog the validator works well,but if I use the custom button the error message doesn't display. the environment is 11g.
    the code of the page is :
    <af:form>
    <af:popup id="copyPopupDialog" contentDelivery="lazyUncached">
    <af:dialog title="validator" closeIconVisible="false" type="none">
    <af:inputText id="copyReportsetCode" styleClass="" label="code"
    value="11"
    validator="#{reportSetManagedBean.validatCode}"></af:inputText>
    <f:facet name="buttonBar">
    <af:panelGroupLayout layout="horizontal" halign="right">
    <af:commandButton text="ok"/>
    <af:commandButton text="cancel" immediate="true"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:dialog>
    </af:popup>
    <af:commandButton text="commandButton 1">
    <af:showPopupBehavior popupId="copyPopupDialog"/>
    </af:commandButton>
    </af:form>
    the code of the managedbean is:
    package david;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.validator.ValidatorException;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import java.util.regex.Pattern;
    import javax.faces.application.FacesMessage;
    import javax.faces.application.FacesMessage;
    import javax.faces.application.FacesMessage.Severity;
    public class ReportSetManagedBean {
    public ReportSetManagedBean() {
    public void validatCode(FacesContext facesContext, UIComponent uIComponent,
    Object object) {
    FacesMessage msg = new FacesMessage("eror");
    throw new ValidatorException(msg);
    }

Maybe you are looking for