Replacing the "No rows returned" message in Portlets

Hi all,
How to remove (or replace) the default message that comes in each Portlet if the query doesnot return anything ? By default the Portlet shows the message "No rows returned" , how to customize it or remove it.
Ayman

It's not possible to replace this message, but you can do a such workaround :
if your portlet (s) are built from SQL query, change it so :
select a1,a2,a3 from table ...
UNION
select null a1,null a2,null a3 from dual
In this case your query is not empty, so you're able to bide the mentioned message.
Hope, it helps.
Izabella.

Similar Messages

  • Custom "no row returned" message

    hi all,
    is there a way to change the "no row returned " message in the report?
    I want to translate it in french!
    thks for help

    You can try to do such thing : create your query like
    select a1 f1,a2 f2, ... from table
    UNION
    select null f1,null f2,... from dual
    In this case if you don't have real records you get an empty record, so the mentioned message diappears.

  • I cannot install a previously purchased version of acrobat 9 pro downloaded from the site.  Returns message at final install steps "invalid serial number." I had copied it and pasted it directly from "My Adobe".  What to do?

    I cannot install a previously purchased version of acrobat 9 pro downloaded from the site.  Returns message at final install steps "invalid serial number." I had copied it and pasted it directly from "My Adobe".  What to do?

    Hi hgratz,
    Considering 'invalid serial number' error for Acrobat 9, I would suggest you to please refer the KB doc link mentioned below:
    Error "Invalid serial number" | Acrobat 9 | CS4
    Let me know if that helps.
    Regards,
    Anubha

  • Error 8 while upload the program : row 425 message

    Can any one answer this ?
    I am not using Any lower case letters any special characteristics in the flat file.
    But still i am getting the same error "Error 8 while upload the program : row 425 message "
    Thanks

    hi padma
    or chk this
    In case of the flat file datasource, when you assign flat file source system again, the system assign IS to the old transfer structure! Because of the same DS name.
    There are 2 remedies.
    1. Log off the system. During the current session the system may keep deleted IO, TRs, URs etc and propose them again. Log off should wipe deleted objects.
    2. If the #1 didn't help. - Recreate an infosource with a new name. Create all other structures as needed.
    reg
    ashwin

  • Replacing the "No Items Found" message with Javascript

    On this page http://www.sedonamagoretreat.org/test in the second "Program Dates" box in the righthand sidebar, I'm attempting to implement a script I found to replace the "No items found" message with a custom html file.
    The javascript is here: http://www.sedonamagoretreat.org/js/no-items-found.js and the html file used to replace the message is here: http://www.sedonamagoretreat.org/prog-dates-alternate-content.
    I'm sure it's an easy fix and I'm just overlooking something...any suggestions to get this script working are welcome - thanks!
    Linda

    If it still doesn't work after you move the script then you might need to update your script to the following:
    $(document).ready(function() {
         $.each($("."+webapp_wrapper_div), function() {
                   if($("." + webapp_wrapper_div).html().indexOf("No items found.") != -1) {
                             $.get(alternate_page_html, function(data) {
                                       $("." + webapp_wrapper_div).append('<div id="ajax-temp" style="display: none;"></div>');
                                       $("#ajax-temp").html(data);
                                       $("." + webapp_wrapper_div).html($("#ajax-temp #" + alternate_page_div).html());
    All I did was wrap the if statement in an $.each() function so that it does this to each instance of your web app item list. 
    Also, you should probably change your variable for "alternate_page_html" to "/prog-dates-alternate-content" so that this would work on pages that are in a folder in your site.  Without the "/" this might only work on pages that are on the first-level of your site. If you tried this on a page at "/about/contact" then your get request without the "/" would be trying to get "/about/prog-dates-alternate-content" which doesn't exist.

  • No row returned message

    Hi,
    I have a report that some times doesn't have results.
    When it happens, I get a message "No row returned"...is it possible to change or delete this message?
    many thanks in advance,
    Miguel

    If you have metalink access, here is the note you want to read:
    183131.1. "How to Customize the Message "No Row Returned" from a Report".
    Hope it solves your problem.

  • "No rows returned" message in reports don't change with language

    I need to change this message to another language, where I can do it.
    thanks to help me.

    I am working in the version Portal 3.0.9.8.0. the language that I am using is Spanish, but the messages did not change automaticamente with the change of language. I need to change the message " No row returned " to Spanish.

  • BUG - First create actually replaces the first row of the table

    I would like to be able to add new rows to a table and bound the create function to the button. The issue I encounter is the first time I press the button it instead actually changes the first row to be the newly inserted row instead of adding a new row. I have attached the code for my button below, it is very strange. Am I doing something incorrectly? I have the table I'm inserting into bound to the page and I can see the row actually get replaced even though all I am calling is a create method. Is this a bug? Any help would be appreciated. Code is below, I am simply setting the values for the create method prior to the call to the operationbinding:
    public String appendButton_action() {
    BindingContainer bindings;
    bindings = getBindings();
    FacesContext ctx = FacesContext.getCurrentInstance();
    Application app = ctx.getApplication();
    ctx = FacesContext.getCurrentInstance();
    app = ctx.getApplication();
    ValueBinding bind = app.createValueBinding("#{processScope.runId}");
    String runId = (String) bind.getValue(ctx).toString();
    bind = app.createValueBinding("#{bindings.RunId.inputValue}");
    bind.setValue(ctx, runId);
    bind = app.createValueBinding("#{processScope.ConfigurationId}");
    String configId = (String) bind.getValue(ctx).toString();
    bind = app.createValueBinding("#{bindings.ConfigId.inputValue}");
    bind.setValue(ctx, configId);
    OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("Create");
    operationBinding.execute();
    operationBinding = (OperationBinding)bindings.getOperationBinding("Commit");
    operationBinding.execute();
    return null;
    }

    I am very disturbed that nobody cares there is a bug in ADF using Oracle BC's. Can somebody respond? It should be impossible to run a create method and get an update on the database without something being wrong in the persistence layer. I understand this is an in-depth question but there should be some resource available to resolve actual issues or at least provide some insight.

  • Pick the last row returned from query

    hii...
    i have a query thats returns...
    SQL> WITH tbl_zone AS (
      2       SELECT to_date('02/03/2010', 'DD/MM/YYYY') close_date FROM dual UNION ALL
      3       SELECT to_date('03/03/2010', 'DD/MM/YYYY') FROM dual UNION ALL
      4       SELECT to_date('04/03/2010', 'DD/MM/YYYY') FROM dual UNION ALL
      5       SELECT to_date('09/03/2010', 'DD/MM/YYYY') FROM dual UNION ALL
      6       SELECT to_date('11/03/2010', 'DD/MM/YYYY') FROM dual)
      7    SELECT  TRUNC(close_date, 'IW') close_date
      8   from tbl_zone t
      9   ORDER BY 1 DESC;
    CLOSE_DATE
    08/03/2010
    08/03/2010
    01/03/2010
    01/03/2010
    01/03/2010i want the query to return just i row and that should be the greatest date
    in the above example
    the query should return single row out of the 2 greatest dates, 08/03/2010.
    CLOSE_DATE
    08/03/2010Please any one suggest...

    How about row_number()
    SQL> with tbl_zone as (
      2       select to_date('02/03/2010', 'dd/mm/yyyy') close_date from dual union all
      3       select to_date('03/03/2010', 'dd/mm/yyyy') from dual union all
      4       select to_date('04/03/2010', 'dd/mm/yyyy') from dual union all
      5       select to_date('09/03/2010', 'dd/mm/yyyy') from dual union all
      6       select to_date('11/03/2010', 'dd/mm/yyyy') from dual
      7       )
      8  --
      9  --
    10  --
    11  select close_date
    12  from ( select trunc(close_date, 'iw') close_date
    13         ,      row_number() over ( order by close_date desc)  rn
    14         from   tbl_zone t
    15       )      
    16  where rn=1;
    CLOSE_DATE
    08-03-2010 00:00:00

  • How to change the "1 row inserted" message in a Form

    I DEVELOPED A FORM THAT BASICALLY ALLOWS USERS TO INSERT RECORDS IN A TABLE.
    AFTER THE "INSERT" BUTTON IS CLICKED, THE ROW IS INSERTED AND A MESSAGE SAYING "1 ROW INSERTED" IS DISPLAYED.
    I WOULD LIKE TO REPLACE THAT TEXT BY SOMETHING ELSE... SOME SORT OF EXPLANATION TO THE USER.
    MAYBE I WOULD ALSO LIKE TO REDIRECT THE USER TO ANOTHER SCREEN (NOT SURE YET) .
    HOW CAN I ACCOMPLISH THIS?
    ANY HELP WILL BE GREATLY APPRECIATED...
    TKS!!!

    tks dmitry!
    i have not tried yet but i am sure it will work.
    also, i found a posting regarding how to redirect the user to another screen.
    is there any good documentation somewhere on Portal APPLICATIONS development?
    Tks again...
    null

  • No rows returned in the BIS views

    I am new to Discoverer. I had connected to Financials Intelligence responsibility using discoverer desktop. When I tried to create a workbook in General Ledger Business Area to display the GL accounts, I get no rows returned message. I get the same message for any kind of report I try to create not only in GL business area but also in any of the seeded business areas provided by the Oracle. I can query it in toad and see the data but it is not retrieved in discoverer. what could be the problem? is there any profile options to be setup for my username or am I missing something?
    Any help is greatly appreciated
    Thanks

    Here's the metalink note for those interested.
    It's basically laying out all the steps to setup the info in Oracle Apps as alluded to by Simon and then perform a complete refresh of the BIS views in the database, bring in the new .eex file for changes, etc.
    Russ
    ===========================================================
    Applies to: Oracle Discoverer - Version: 10.1.2.48.18
    This problem can occur on any platform.
    Oracle Applications 11.5.10.2
    Oracle Applications Concurrent Manager SymptomsUnable to retrieve any data on standard General Ledger (GL) business areas and standard workbooks after migrating the EUL from Discoverer 4.1 to 10.1.2 and upgrading Oracle Applications to 11.5.10.2.
    These same workbooks and business areas worked fine before the upgrade to Discoverer 10.1.2.
    A custom business area and custom workbooks return data, but none of the standard pre-seeded "BIS" or "Financials Intelligence General Ledger (GL) business areas return data when testing in Discoverer Plus, Viewer or Desktop.
    ChangesMigrated the Discoverer EUL and Oracle Application Server environment from Discoverer 4.1.48.08 to 10.1.2.48.18. CauseIncomplete setup of Oracle E-Business Suite and Discoverer environment for Business Intelligence (BIS) and/or Financials Intelligence, including missing profile options for Oracle Applications Administrator and custom Super User responsibility.
    SolutionTo implement the solution, please execute the following steps:
    1. Login to Oracle Applications Systems Administration function as SYSADMIN user and set the profile option as described below:
    a. Profile > System
    b. Check the 'Site', 'Responsibility' and 'Profiles with No Values' checkboxes
    c. Enter "Applications Administration' in 'Responsibility' field
    d. Enter FII: GL BIS Discoverer access (if it does not display the profile option, please try wildcard option "FII%GL%BIS%" )
    e. Then in the next screen, select 'Yes' from LOV under 'Site' and 'Responsibility' column
    f. Save the settings
    g. Again repeat the same steps for custom responsibility "My_Company General Ledger Super User"
    2. Complete/confirm the following steps from Note 313418.1, Section 6, Post Installation Tasks
    a) Step 4. Regenerate your Business Views - done throughNote 313418.1, Section 6, Post Installation Tasks
    a) Step 4. Regenerate your Business Views - done through Oracle Applications Concurrent Manager as SYSADMIN user with the "Business Views Setup" responsibility.
    b) Recommend all steps under 4 and steps under 5
    c) Step 8. Refresh the Discoverer 10.1.2 End User Layer - via SYSADMIN user/responsibility - as described in note
    d) Step 9 -> Need to make sure Applications Administrator responsibility has all
    security and access to the EUL and business areas. Be sure to grant to responsibility
    rather than SYSADMIN user since the "Applications Administrator" responsibility is used to perform Discoverer Administration tasks.
    $ORACLE_HOME/bin/eulapi \
    -CONNECT <EUL schema>/<password>@<db> \
    -GRANT_PRIVILEGE \
    -ROLE "Applications Administrator" \
    -PRIVILEGE all_admin_privs
    $ORACLE_HOME/bin/eulapi \
    -CONNECT <EUL schema>/<password>@<db> \
    -GRANT_PRIVILEGE \
    -ROLE "Applications Administrator" \
    -PRIVILEGE all_user_privs
    AND
    $ORACLE_HOME/bin/eulapi \
    -CONNECT <EUL schema>/<password>@<db> \
    -GRANT_PRIVILEGE \
    - ROLE "Applications Administrator" \
    -BUSINESS_AREA_ADMIN_ACCESS % \
    -WILDCARD \
    -LOG <log file name>
    Note: The above commands need to be in one continuous line. For Unix/Linux, you may separate lines with continuation character "\"
    3. Once all steps have been completed, the standard General Ledger (GL) workbooks and newly created workbooks based on standard GL usiness areas will return data.
    Note: If you are unsure if you are encountering this specific issue, it is always beneficial to test the data via SQL using the same Oracle E-Business Suite user and responsibility.
    The following reference will guide you how to accomplish this:
    Note 279736.1 'How To Run SQL From An Apps Mode Discoverer Workbook In SQL*PLUS'
    ReferencesNote 313418.1 - Using Discoverer 10.1.2 with Oracle E-Business Suite 11i
    Note 279736.1 - How To Run SQL From An Apps Mode Discoverer Workbook In SQL*PLUS
    Keywords'BUSINESS~AREA' 'PROFILES-SYSTEM' 'FII~~GL~BIS~DISCOVERER~ACCESS' 'DISCOVERER~4.1.48.08' 'BUSINESS~VIEWS' 'UPGRADE~TO~11.5.10.2' 'PROFILES-SYSTEM' 'UPGRADE~TO~10.1.2'
    --------------------------------------------------------------------------------

  • Explain rows returned in a plan for group by

    I have a (select statement) that returns 18 rows.
    wrap a nested select with a group by around it
    select col_a, col_b from
    (select statement)
    group by col_a, col_b
    still returns 18 rows as expected
    explain it and I see the 18 rows returned at Id 2 and the hash group by and select showing 1 rows.
    | Id  | Operation                                   | Name                           | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |                             
    |   0 | SELECT STATEMENT                            |                                |     1 |    95 |       | 90897  (75)| 00:00:02 |       |       |                             
    |   1 |  HASH GROUP BY                              |                                |     1 |    95 |       | 90897  (75)| 00:00:02 |       |       |                             
    |   2 |   VIEW                                      |                                |    18 |  1710 |       | 90896  (75)| 00:00:02 |       |       |        reason Im asking is I rewrote the SQL in the inner statement for tuning purposes and I still get 18 rows as expected but now I have 2 rows returned to hash group by.
    | Id  | Operation                                  | Name                           | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |                              
    |   0 | SELECT STATEMENT                           |                                |     2 |   190 |       | 82657  (80)| 00:00:02 |       |       |                              
    |   1 |  HASH GROUP BY                             |                                |     2 |   190 |       | 82657  (80)| 00:00:02 |       |       |                              
    |   2 |   VIEW                                     |                                |    18 |  1710 |       | 82656  (80)| 00:00:02 |       |       |                              
    ..In terms of the above plans what does "rows" mean for the hash group by.

    Purvesh K wrote:
    961469 wrote:
    reason Im asking is I rewrote the SQL in the inner statement for tuning purposes and I still get 18 rows as expected but now I have 2 rows returned to hash group by.And in fact, how many rows does your entire query return?
    Does the output of two of your queries differ?
    If they do not, then I do not see any issue.No, the output doesnt differ, and its not a problem for me, just something I wanted explained.
    >
    >
    From the Cost and the Rows, posted in Explain plan, it looks like some different plan is being used.Yes, there is, I rewrote it, but only on the inner select statement but I don't have a question on that. If take the inner select statement from both I get the 18 rows correctly.
    Were the statistics pertaining to the tables in use, collected between execution of two queries?no but that last select is only on the outer select, ie shouldnt be affected by the stats, anyway, The queries are run straight after each other.
    I will suggest to read the {message:id=3292438} and post the relevant details.
    Also, do not forget to mention the Table/Index details (actual and with statistics) and the Query.I can, buts its VERY lengthy as theres a lot of nested tables/views and for me not relevant as if I run the inner select on both queries the datasets match. I was hoping for a simpler answer like Ajays which was my understanding of it too but as the outer select and group by hasnt changed, I cant understand the difference in the rows.
    thanks for your reply though.
    >
    How many columns you specified in group by function before & after query modification I thought this too and was my understanding but the group by clause hasnt changed, only the inner select.
    Edited by: 961469 on Jan 3, 2013 7:42 AM

  • How to get the last row

    I have 10 rows in my table and I have to retrive last row using rownum.
    For this I use
    SELECT * from <table_name>
    where rownum<=10
    minus
    SELECT * from <table_name>
    where rownum<=9
    The result is no rows selected
    In the same case if I use
    SELECT rownum from <table_name>
    Where rownum <= 10
    minus
    SELECT rownum from <table_name>
    where rownum <=9
    The result is 10
    Why this happend.
    If the result is 10, then why the row whose rowid is 10 is not retrived

    All
    Please bear in mind that ROWNUM is an attribute of the query NOT the table. The last row returned by an unORDERed SELECT statement may be the most recently inserted row but is not guaranteed to be so.
    The only way of assuring yourself of returning the most recent row is either to timestamp all your tables with a date_created column or to use a primary key with an ascending value.
    rgds, APC

  • Can't catch the matrix row for Deleting Rows

    Hi,
    I've already read related topics but couldn't solve the problem.
    I catch the Delete Row menu event 1293, but then I can't save the deleted row in an array since it's no longer listed as a selected row.
    All the matrix rows return
    oMatrix.IsRowSelected(i) = False after catching that 1293 event.  
    Trying BeforeAction True or false didn't solve that problem.
    What am I missing ?

    it sounds like a bug.
    here is workaround: in oMatrix-itempress event try to store selected rowIndex in your variable - so, when you catch 1293-menuEvent you'll know which row you should save - it'll be value of your variable.

  • Getting the first row of a result set

    I need to get the first row returned from a select query that looks like this:
    SELECT DISTINCT parm1 FROM table1 WHERE parm1 > 10 ORDER BY parm1
    Can someone please show me how to do this?
    Alex

    Because you're only getting one row you don't need to bother with a DISTINCT clause. You'll need to order your data first and then nab the first row from that result set.
    SELECT parm1
      FROM (SELECT   parm1
                FROM table1
               WHERE parm1 > 10
            ORDER BY parm1)
    WHERE ROWNUM <= 1;

Maybe you are looking for

  • External Hard drive no longer showing up

    Hi all, hope you can help. I have an external hard drive that I use as a TIme Machine Drive, the other day my wife decided I was wasting electricy by having the hard drive on, si se turned it off without ejecting it, thanks love. Now the Hard drive w

  • When I open a web page I've built on my computer, the music doesn't play. It will play if I open it in IE.

    I build web pages on my computer and before I updated Firefox I could hear the music when I opened the page. Since I updated Firefox the music will not play. If I open the page in IE the music plays fine. When I go to my website on the internet, the

  • Generic classes and inheritance

    I am in the midst of converting some database object code over to split the data from the database functionality, and I am coming into issues with generics. I have three bean classes: abstract public class Payment {   // common fields and their get/s

  • Please help! Screen Capture resolution for Flash

    Hi, When I screen capture [using RoBo ScreenCapture] either web pages off the Net, or dialog boxes of programs [I'm using Flash for a presentation instead of PP] the images are pixelated or fuzzy or well, not good enough. Let me explain In using RoBo

  • ORA-01034: Oracle not avaialbe

    hi, i have recently downloaded oracle release 2 (10.2.0.1.0) for Microsoft Windows database. its connected once. but since next time showing errors: ORA-01034: Oracle not available. ORA-27101: shared memory realm does not exist. i am abc... to oracle