Create a report in a popup (validation needed in back bean before popup)

Hi all,
I am very new to JDev and ADF, I am struggling to generate a report in a popup through the back bean, some validation is needed in the back bean before the popup. When creating the popup window, the url of the popup will be the URL of a servlet I searched the forum and found 2 approaches:
http://thepeninsulasedge.com/frank_nimphius/2007/09/11/adf-faces-showing-reports/
can af:showPopupBehavior work together with action- or launchListener? (approach by Julian Stephen)
But I have a few questions for these approaches:
for first approach:
is “documentURL” in the commandButton_action() the url for the my report servlet,
another thing is that, in this commandButton_action(), it said: return "dialog:open"; But I couldn’t find anywhere in the content that shows dialog, open are component ids? Or I am misunderstood it?
for the second approach:
where is the url for my report servlet put? Is it in the "hints" in the function “popup.show(hints)”?
I can try the second approach first, but for the first approach I really want to know what is the "return dialogLopen" about?
If there are any other means, please let me know!
Your help is highly appreciated!
Shawn

My bad, in the first approach, "dialog:open" is the action string not component ids.

Similar Messages

  • What do i need to back-up before re-installing?

    appreciate any input; other than the obvious, which specific folders/files do i need to back-up before i re-install osX? where can i find my itunes library, imovie& idvd projects and other ilife files? any special software (free :)) i should use or can i just copy these to my external fw drive?
    i tried A&I to fix frontrow but it still fr will not run. now apple service wants to do clean install but i'm worried about losing all my files if i don't back-up the correct/necessary folders/files.
    finally, sorry if a dumb question. but this will mean re-installing all software updates right? thanks!

    Get an external, bootable FireWire HD. Use something like Carbon Copy Cloner, SuperDuper!, SilverKeeper, etc. to make a bootable clone of what's currently on your comupter. Then, after doing an Erase & Install installation, when the computer restarts the first time, use the same username, short name, and password currently on the computer, and then the Migration Assistant, to transfer everything from your clone to your new installation. That will transfer all of your non-Apple applications, their supprot files, and your user stuff to the machine.

  • JSV-Validation discards some backing bean properties

    Hi guys,
    I'm facing a curious problem occuring in my jsf-application. I have a userlist on my page. Every user can be edited (change password, etc) or a new user can be created. When I click the "edit-user"-button, a new page is opened where I can change different properties of this user. When I submit the form, the jsf-validation is beeing called (because I set some properties to attribute "required"). When an error occurs, the action-command returns null and goes back to the page. But not all properties of my backing bean arent set! It seems, that only the properties beeing set to attribute "required" are saved... How can I fix this?
    My jspx-page that creates/updates a user looks like that:
    <h:form>
         <h:inputHidden value="#{userFormBean.userID}" />
         <h:panelGrid border="0" columns="2" style="margin-bottom:15px;">
              <h:outputLabel value="#{msg['ui.user.create.lastname.label']}:" />
              <h:inputText value="#{userFormBean.name}"
                              required="true"
                              label="#{msg['ui.user.create.lastname.label']}" />
              <h:outputLabel value="#{msg['ui.user.create.firstname.label']}:" />
              <h:inputText value="#{userFormBean.firstname}"
                              required="true"
                              label="#{msg['ui.user.create.firstname.label']}" />
              <!-- more properties... -->
         </h:panelGrid>
         <c:if test="#{userFormBean.state == applicationScope.constants.STATE_NEW}">     
              <h:commandButton action="#{userFormBean.createUser}" value="#{msg['ui.user.create.button']}">
                   <f:setPropertyActionListener value="#{applicationScope.constants.STATE_NEW}" target="#{userFormBean.state}"/>
              </h:commandButton>
         </c:if>
         <c:if test="#{userFormBean.state == applicationScope.constants.STATE_UPDATE}">
              <h:commandButton action="#{userFormBean.updateUser}" value="#{msg['ui.user.update.button']}">
                   <f:setPropertyActionListener value="#{applicationScope.constants.STATE_UPDATE}" target="#{userFormBean.state}"/>
              </h:commandButton>
         </c:if>          
    </h:form>     This is my backing bean that does all the logic...
    public String updateUser(){
         try{
              // do some business-logic
         }catch (Exception ex){
              // set error message and return to form
              FacesContext ctx = FacesContext.getCurrentInstance();
              // provide some error-msgs
              return null;
         return "success";
    }I need to save all the properties on my backing bean, especially my "state"-property that decides whether I create a new user or update a given user identified by its id...

    To start, do not mix JSF with JSTL this way. Remove all of those c:if tags and use the JSF 'rendered' attribute instead.
    E.g.
         <c:if test="#{userFormBean.state == applicationScope.constants.STATE_NEW}">     
              <h:commandButton action="#{userFormBean.createUser}" value="#{msg['ui.user.create.button']}">
                   <f:setPropertyActionListener value="#{applicationScope.constants.STATE_NEW}" target="#{userFormBean.state}"/>
              </h:commandButton>
         </c:if>should be
         <h:commandButton action="#{userFormBean.createUser}" value="#{msg['ui.user.create.button']}" rendered="#{userFormBean.state == applicationScope.constants.STATE_NEW}">
              <f:setPropertyActionListener value="#{applicationScope.constants.STATE_NEW}" target="#{userFormBean.state}"/>
         </h:commandButton>Back to your actual problem: I cannot correlate your problem description to the given code snippet. Which non-set values are you talking about?

  • I am running Mac OS X and need to back up before installing Snow Leopard , can I back up to my Time Capsule?

    I am running Mac OS X currently and need to upgrade to Snow Leopard.  First I need to back up my computer.  I have a Time Capsule that automaticallyt backs up Snow Leopard and above but do not have Time Machine on this system.  How can I back up what I an currently running?

    Do I download these?  I am not particularly good at this, so any help would be great.  What I know now is that it is recommended to back up current comuter before installing snow leopard, but I have no idea how to do this.  I know I can go from 10.4.11 directly to Snow Leopard but am afraid I will lose data. 

  • Need to create a report to show values for a particular date range

    I have to create a report, out of which I need two columns : << Customer Value Variance and Churn Score Variance >> to show values only for a custom date range, which will be entered via a dashboard prompt.
    These generic date columns are not present and cannot be added. I have to make use of Pres variables
    What I have currently done is:
    1) Created a prompt with 2 different date columns and passing those values into variables vStartDate and vEndDate. (I don't actually need those 2 column which I have selelcted, but I have taken those so that I can prompt the values in calendar format and pass onto the variables)
    2) Created report with necessary columns, with 2 extra columns (hidden) as vStart Date Column and vEnd Date Column which take the values from the presentation variables defined in the prompt. I have created these columns as then I can reference these in the two required columns if necessary.
    I am already facing error in report after doing this and I am confused how to proceed. Any suggestions?
    Thanks.

    Yes, but it only has one generic Date column, no start date and end date. I can't use that twice in the prompt. Although I can specify it to be 'between', but I'm not sure I can pass values to both variables like that.
    Currently I have used Campaign Start Date and Campaign End Date to enter values in calender format to the variables.

  • How to create a Report from WebDympro

    Hi All,
    I just want to know how I can create a report from WebDynpro? I need to pull data from R/3 using a RFC function module, but I don't know if it exists a software to create reports.
    Thanks in advance
    Alexis Ramirez

    Hi Rich,
    Even i had a similar kind of problem. I wanted to fetch data from BI through the XMLA Connector which are created in Query Designer and then i wanted to fetch these fields and rearrange them and put it in a report format by colouring certain fields. Can the same can be done in WebDynpro.

  • Binding an object tag value / Creating HTML via a backing bean

    I have a task flow that sets some properties in my backbean. I've bound the "classid" of an <object> tag to one of these values. However, the first time i load the JSFF page, the object tag isnt created, but if i refresh the page, its loaded correctly.
    This would lead me to believe that the binding isn't being done before the JSFF is rendered, so the question is. Does anyone know how to fix this? and if not, i have thought about creating a backing bean that would add the <object> tag to the page with the bind value, but have no idea how i would go about this.
    Does anyone know of any good tutorials on adding HTML via a backing bean before the page is rendered?

    After further investigation and talking to a colleague, It seems it might not be binding related, since if I print out the bind in a text field, it displays correctly. I think the problem is because I am trying to inject an object tag (hosts a .NET control) into a fragment, but this is never picked up and rendered. Thus, when I do a full page refresh, the object tag is added and all goes well.
    If I attempt to bind/add a ADF Faces component this way, it works correctly.
    Do you know how to inject code for a fragment?, I am very stuck at the moment - don't have that much knowledge on ADF, so any links/help would be appreciated.
    My scenario is this:
    I am using a task flow that has 2 fragments.
    Fragment 1: set properties - has two input fields and a next button which are bound to a bean that saves the input fields
    Fragment 2: display object tag using step ones properties.

  • Need Package Name to create SAP report in SE38

    Hello there,
    I'm in the process of working through a Unicode conversion on an ECC 6.0 system, and one of the steps is to run report TERM_DELETE_INCORRECT_CHARSET.  We are on a lower Support Pack level then when this report is delivered via OSS Note 1280494, so I need to manually create it in SE38.
    I'm used to creating Z reports and assigning them to our customer packages (Create Object Directory Entry popup box), but not used to assign to an SAP package.  When I pick one that I believe would be appropriate, I receive error "Cannot extend package ***".
    I'm hoping that someone can tell me what the appropriate package would be to get this report in the system so that I can move forward with my conversion.
    Thanks in advance for any assistance,
    Leeanna

    In our system, this is assigned to package STERM. If you cannot use that one, I guess a customer (Z) package would be OK.
    Rob

  • Validations with Service Create Expense Report

    Dear experts.
    I have the following doubt:
    In the service "Create Expense Report" ESS the system call two component different:
    Application: FITE_EXPENSES
    Web Dynpro Component: FITV_FPM
    Window Information: FPM_WINDOW
    View Information: LAYOUT_VIEW
    Configuration ID: FITV_FPM_EXPENSES
    This component show two buttons Start and Cancel, as is displayed in the screen attach.
    And other component is
    Application: FITE_EXPENSES
    Web Dynpro Component: FITE_VC_PRESELECTION
    Window Information: VC_WINDOW
    View Information: PRESELECTION_VIEW
    Configuration ID: FITE_VC_PRESELECTION
    That show the information with "Available Travel Requests / Plans and a listbox with Schema Selection(National Trip and Foreign Trip). as is displayed in the screen attach.
    I need do two validations and I dont know Where Can I do this validations:
    1.When I select the schema National and press the button Start the system must validate that the enduser have selectioned a row of "Available Travel Requests / Plans",  if the enduser not select a row the system have that show a message saying "Please select a row". This message have that be type error.
    2. What is the name of the table and the method that use SAP for get the information that is displayed in the grid "Available Travel Requests / Plans"
    Thanks in advance
    Regards

    Hi Carmen,
    You can add custom code, just like the one for selected row validation. It can have logic such that if a particular trip number is selected, and it has cities of a particular country, the schema, say, 'Domestic' would be chosen. To 'auto-choose' schema, bind the attribute TRIP_SCHEMA of node TRIP_SCHEMA with the value 'Domestic'.
    ABAP Dynpro is a component based model. So, a typically a component is created in such a way that it can be reused at many places. The component FITE_VC_PRESELECTION is for listing already initiated trips, and is rendered in expense report. The same component might be used in other travel web dynpro applications, like FITE_REQUEST, FITE_EXPRESS_EXPENSES, etc. The component FITV_FPM uses many other components for rendering different features of travel. You can think of it as parent-child relationship.
    I am attaching an old book on WDA, which I guess, I downloaded from SDN itself.
    I hope I could clear you doubts.
    couldn't attach the book, as the file extension is not allowed. You can search for WDA resources at SDN, SAP help, or do a simple google search for PDF.

  • I Need to Create a report for batch jobs Based on Subject Area.

    Hi SAP Guru's,
    I need to create a report , that it must show the status of batch jobs Completion Times based on Subject area(SD,MM,FI).
    Please help me in this issue ASAP.
    Thanks in Advance.
    Krishna.

    You may need to activate some additional business content if not already installed but there are a lot BI statistics you can report on. Have a look at this:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/f9bd5b0d40537de10000000a1553f6/frameset.htm

  • Need help on creating a report after defining some criteria

    Hi everybody,
    I have been through some of the ebooks and got the idea of apex.
    To give an example what I would like to do is that I want to open two date picker fields and creating the report between the dates which were defined in the date pickers
    Those date picker field could be on the same page of report or they could be on another page. Once create button is pressed then the report between the defined dates should appear
    Any thoughts?
    Thanks from now

    Okay, two date pickers are date to and date from, logically date to must be equal or after date from, right?
    i defined a validation as pl/sql expressin saying that date to >= date from to the expression field
    there is no problem when I put a former date on date from and a latter date to date to.
    the problem occurs when I put same dates on the date pickers. An interesting point here is that when I put the same dates and click the submit button it gives an error BUT when I push again it works!
    it gives me the rows from the table of the date picker date. is there a problem about the caching and how can I solve it.
    Or, as you recommend you can show me an example on your workspace, that would be helpful as well

  • Getting error while creating form and report on webservice: ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.

    i am using the following description to create a web service reference:
    web reference :REST
    Name :Yahoo Map
    URL :http://local.yahooapis.com/MapsService/V1/mapImage
    HTTP Method: GET
    Basic Authentication: No
    Add Parameter:
    Name       Type
    appid        String
    location    String
    Output Format: XML
    XPath to Output Parameters : /Result
    Output Parameter:
    Name       Path       Type
    Url          /text()      String
    Then i tried to create form and report on webservice:
    Web Service Reference Type: Yahoo Map
    Operation: doREST
    All the fields i keep as default
    I tick the checkbox (url)in report Parameter
    After clicking next whereever required i click create button
    I get the following error
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    Please someone help to solve this as i need to fix it urgently.

    i exported the application from apex.oracle.com and imported it to our environment
    import went fine, but when I ran the IR page I got
    ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
    evidently the problem is a lack of public execute on DBMS_LOB, which is used in the generated IR source.
    while waiting for the DBA to grant privs on DBMS_LOB, changing the dbms_lob.getlength call to length() fixes the IR.
    however, i am not getting the download link on the associated form page... changed templates, that's not the issue -- we'll see if that's a dbms_lob issue as well

  • APEX:Getting error while creating form and report on webservice: ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.

    I am using Apex 4.2.2.00.11
    am using the following description to create a web service reference:
    web reference :REST
    Name :Yahoo Map
    URL :http://local.yahooapis.com/MapsService/V1/mapImage
    HTTP Method: GET
    Basic Authentication: No
    Add Parameter:
    Name       Type
    appid        String
    location    String
    Output Format: XML
    XPath to Output Parameters : /Result
    Output Parameter:
    Name       Path       Type
    Url          /text()      String
    Then i tried to create form and report on webservice:
    Web Service Reference Type: Yahoo Map
    Operation: doREST
    All the fields i keep as default
    I tick the checkbox (url)in report Parameter
    After clicking next whereever required i click create button
    I get the following error
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    Please someone help to solve this as i need to fix it urgently.

    336554,
    Looks like there is a 127-column limit on the number of report columns supported when using that wizard. Do you have more than that?
    57434

  • Need help to create CTC report in HR ABAP

    Hi guys,
    I am new to HR abap, and i need to create annal CTC report. Do you guys have ever work on such requirement plz post me some sample programs.
    Thanks in Advance...

    <h5>Dear Ramkhee,</h5>
    Well I have been working as ABAP-HR since long but no such requirement has came yet but still would like to much more detail what kind of thing you will need in that report.
    But you would need to know bit of ABAP-HR report programming specifically using LDB with Report & Fetching data from the LDB with GET event.
    Anyways for your ready reference:
    1.[ This is the basic Report that help you understand how to write ABAP HR Report|http://gauravpatwari.files.wordpress.com/2009/09/report-ymhcrobjonloan.pdf].
    2. Use this function module: RP_FILL_WAGE_TYPE_TABLE for fetching the wage types with amount from the IT0008.
    eg:-
    DATA: T_PPBWLA LIKE PBWLA OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE'
          EXPORTING
                 BEGDA = sy-datum -
                 ENDDA = sy-datum
                 INFTY = '0008'
                 PERNR = pernr
          TABLES
                 PPBWLA = T_PPBWLA.
    Here begda and endda you can put as per your logic.
    Accordingly you can program.
    <h5>Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com] </h5>
    Edited by: GauravPa on Mar 29, 2010 2:26 PM
    Edited by: GauravPa on Mar 29, 2010 2:29 PM

  • Need help in creating custom reports

    hello,
    I am using EM 10.2.0.2 on windows 32-bit.
    All EM components are installed on a single machine.
    Have installed AGENT 10.1.0.5 for managing targets which are on LINUX 2.1
    Please help me in getting the solution for the following queries:
    (a)I need to create a custom report regarding the CAPACITY MANAGEMENT .
    (b)I have some UDM defined but I am not able to use these UDM while creating custom report.
    (c)Also is there any possibility that we can use views other than REPOSITORY VIEWS. What I meant was : instead of using REPOSITORY VIEWS can we use the tables of the target instances.
    Thanks in advance.

    Same post
    Need help on repository views for creating custom capacity planning reports

Maybe you are looking for

  • How to import the Issues list from an Excel File in Project Server 2013

    Hi, I'm using Project Server 2013. A Project Manager has been playing with the Issues List, deleting some fields, creating new columns and modifying some columns name. The result of this is that I'm getting this error everytime the task Reporting (Pr

  • Missing Area Description (long text) in ESS EhP5

    Our company heavily uses the ESS Area Description (long text) to communicate FAQ's, tips, and other help information on ESS.  We like how this information is directly visible to users on the area pages. We are in the process of upgrading to EhP5 and

  • BI content modules

    Hi Experts, I need the links of the follow modules: CO: CCA, OM, ML FI: AP, AR - TR: TM, FM, CM, BR, LO , - MM: PUR, SRM, BM, IV  LIS Thanks

  • Secess in import procedure

    Dear Friends,                    this is chandra shekar working as a MM consultanat, here i got some problem in secess in import procurement process it is not showing in J1IEX and MIGO before this it is captured well i'm using condition type J1CV for

  • How do I delete all incoming emails

    I am being swamped with emails from all over the community..... Can some one PLEASE advise me on how to delete them PERMANENTLY.I have had a total of 450 and I dont want them.I dont even know how I managed to get them all. PLEASE some one help me....