Pass value of column when report has only one row

Hello everyone,
Sorry for not being very accurate with the title of the thread.Here's my situation:
I have an item that, when modified(key pressed) refreshes an interactive report. All the report column have link to a javascript function, so when the user clicks the row it passes a value to another item on the page.
To be more specific it goes like this: the user enters a numer in the item, and as he presses a key the report is shrinked down based on the number that it's made.(asynchronous search like google)
Here's my problem:
I have made all this working(using dynamic actions and a little javascript), but, for the sake of making it user-friendly i want that when the report is shrunk to only one line, the value of a column in that line to be auto-passed to a page item.(or a javascript function)
Thanks a lot!
Kind Regards,
Cearnau Dan
PS: APEX 4

I am currently work on something similar, sort of, unless it's not.
Anyway, the first function called by the action, onChange in my case, returns a count of items. If there is an exact match, meaning a one is returned, the function branches one way. Otherwise, it branches another way.
In the case of an exact match, I run some other JS/AJAX to populate other details on the line. If not an exact match, in my case, I show a <div id="searchCriteria"> for the user to refine their search or accept what they typed in the first box and get a list of all possible matches. Obviously yours would behave differently.
Hope this helps,
Gregory

Similar Messages

  • Issue with Selection Listener when the table has only one row

    Hi All ,
    I have developed a table in which I am using Selection Listener to perform some task when any row is selected.
    It is working fine when I have more than 1 row in the table, but when I have only one row in the table , the selection listener do not call the corresponding method in bean.
    I understand that selection event will be raised only when the row is changed, but in the use case when only one row is there, what should be done to make the selection listener work ?
    In the selection listener I have written code to make the selected row as current row , and perform the required task.
    Please suggest a way out for this situation.
    Thanks in advance.

    Hi,
    try removing this attr from table
    selectedRowKeys="#{bindings.xxx_VO1.collectionModel.selectedRow}"

  • Security Filter fails when level has only one member

    Hi.
    This is Essbase version 9.3. I have a forecast app\db to allow users enter\modify the forecast of the different products. The Product Dimension has the following hierarchy.
    All Products
    Planner 1
    Supplier A
    Product_A1
    Product_A2Supplier B
    Product_B1
    Product is the lowest level, level 0, or Gen 4.
    I need to allow the "Planner 1" to write only to his products, where the member is "My Scenario" from Scenario Dimension, and where the UDA's for the month is Forecast. The same planner can't write to the "All Products", "Planner" and "Supplier" levels.
    I have created the following filter:
    None: "All Products"
    Read: @IDESCENDANTS("Planner 1")
    Write: @REMOVE(@LIST(@DESCENDANTS("Planner 1")),@LIST(@LEVMBRS ("Planner 1", 1))), "My Scenario",@UDA("Time","FORECAST")
    Basically, this is the portion most relevant of the filter: @REMOVE(@LIST(@DESCENDANTS("Planner 1")),@LIST(@LEVMBRS ("Planner 1", 1)))
    where
    @LIST(@DESCENDANTS("Planner 1") = List of descendants members from Planner 1, excluding Planner 1. = "FIRST LIST"
    @LIST(@LEVMBRS ("Planner 1", 1)) = List of level 1 members from Product Dimension. = "SECOND LIST"
    @REMOVE will remove values or members in the "SECOND LIST" from the "FIRST LIST".
    This filter works perfectly but it has a little\big exception...
    Based on the example, the filter works fine for Supllier A. Meaning that the user can modifiy the forecast for the products under Supplier A (Product_A1 and Product_A2), and the user can't modify the upper levels, "Supplier A", "Planner 1", "All Products". This is GOOD!
    Now. For Supplier B, Essbase will allow write back to the Product_B1, OK. But will also allow write back to Supplier B, the upper level.
    So. When the supplier has only one product, Essbase presents this exception that allows write to the upper level. This happens everywhere a supplier has only one product. When there are more than one product per supplier, the filter works as expected.
    Is there a missing piece in my filter? Is there a different, better approach to accomplish this?
    Thanks.

    It's probably an implied share problem. That is, because Supplier B has only one child it is treated as a shared member. You can use the "never share" storage property setting to avoid that problem.

  • Missing rows / output only one row in a Report after applying patchset 2

    Hi.
    We use Reports Builder for 10g R2. We had the problem with our AS 10g R2 on windows 2003, that some reports creates duplicate rows when it is a ASCII report (desformat = delimited), see Bug 3340546.
    Now we apply Patchset 2 on a local machine, to test the functionality. It fix the problem (look in metalink doc ID 398955.1 under "2.12 Oracle Reports Developer Bugs")-
    But now most csv reports creates only one row instead of multiple rows.
    We run reports on our local machine with OC4N and local started Form (via Forms Builder) to generate the reports (local started report server) from DevSuite).
    When we start the reports with desformat=delimited the txt-file has only the header row and one data row (instead of multiple ones).
    And when we generate the same report with desformat=delimiteddata it looks fine and generates all rows as expected.
    We found neither here in the forum or in metalink knowledge base nor on the internet.
    Have you any suggestions for us how to fix this problem?
    Using delimiteddata is now acceptable solution for us, because delimited is easier to use.
    Thanks for your help!

    Hey folks.
    We have solved the problem. :)
    We applied PatchSet2 for 10gR2. But we don´t know how the csv-report outputs only 1 data-row instead of several rows.
    Than we create a similar report (with the same sql-query) as a new one with the reports builder assistant.
    This one works pretty fine. So we looked for the attributes and see the "max. number datasets for each site" and it was in the new one set to 0 and in our old one set to 1.
    So we change this and ... the old one works pretty fine! :)
    So the problem is, that this attribute does not had any consequences in the old version. But since we update with PatchSet 2 it respect this attribute but we don´t "see" it.
    Hope this helps others.

  • Display only one row for distinct columns and with multiple rows their valu

    Hi,
    I have a table having some similar rows for some columns and multiple different rows for some other columns
    i.e
    o_mobile_no o_doc_date o_status d_mobile_no d_doc_date d_status
    9825000111 01-jan-06 'a' 980515464 01-feb-06 c
    9825000111 01-jan-06 'a' 991543154 02-feb-06 d
    9825000111 01-jan-06 'a' 154845545 10-mar-06 a
    What i want is to display only one row for above distinct row along with multiple non distinct colums
    ie
    o_mobile_no o_doc_date o_status d_mobile_no d_doc_date d_status
    9825000111 01-jan-06 'a' 980515464 01-feb-06 c
    991543154 02-feb-06 d
    154845545 10-mar-06 a
    regards,
    Kumar

    Re: SQL Help

  • 3D Axis System (bar type) doesn't work when there is only one z-channel

    Hello,
    I have a problem with a 3D Axis System, bar type.
    Everything works fine as long as the y-channel contains more than one value (meaning there is more than one z-channel too).
    But when my y-channel has only one value, and there is only one z-channel, the axis system goes blank (there is just an empty white field with a thin outline).
    I don't understand why it doesn't work that way. The length of my one z-channel is the same length as my x-channel, as it should be.

    HI, 
    could you describe your hardware and software setup?
    If this is possible please attache your project.
    Roman Rolnik
    Application Engineer
    NI Germany

  • I added a new post to my iTunes U course and it is not showing up on one of my student's iPads.  She has only one Apple ID on the iPad. Any assistance is appreciated.

    A new post to my iTunes U course shows up in my course both on my Mac and my iPad Air, as well as on other students' iPads, but for one single student.  We have closed the app and forced shutdown.  Student recently added more icloud space, but that is all.  iPad is up-to-date in terms of iOS and iTunesU app.  The student has only one Apple ID associated with her iPad.
    We have reposted two more times.  The second time the post showed up for a few seconds, but then disappeared.  It does not show up under any other section (assignments, discussions, etc).  Any assistance is greatly appreciated.

    Have you contacted Apple support?
    I don't know if these will work, but you could have the student try the following:
    logout of his or her iTunes U (i.e., iTunes Store) account using Settings
    force-quit iTunes U
    relaunch iTunes U
    sign in to the newly launched app when prompted
    I hope that helps!

  • I will be using a HDMI cable to connect an Apple TV box and a Comcast cable TV box to my TV. My TV has only one HDMI port.

    I will be using a HDMI cable to connect an Apple TV box and a Comcast cable TV box to my TV. My TV has only one HDMI port.
    To do this I will need a 2x1 HDMI splitter or a 2x1 HDMI auto switch (preferred).
    ?Is there any Apple TV HDMI port voltage?
    When using a HDMI auto switch to connect two devices to a HDMI TV, the
    Auto switch cable box only works for components that do not output continuous voltage over HDMI port when turned off.
    Do you know of any other solutions? Componets? Actual expierances?
    Full text below.
    Cable : HDMI switches expand the number of available HDMI ports on a high definition television allowing connection of cable boxes, Blu-ray players, and game consoles. A side benefit is that cable clutter is also eliminated by running a single HDMI cable to your HDTV from a switch and relocating the HDMI ports to a concealed location. The problem with most HDMI switches is that you have to either get up to push a button, or hunt for the remote control, to switch sources. The true mark of any great switching component is an ability to perform its function and remain transparent in its operation. This automatic HDMI switch is a plug-and-play away from offering everything you are looking for in an HDMI switch. Select a single output from up to three devices for signal delivery to your HDTV. Smart operation provides complete control for connect-and-forget operation. Powering on a device gives it output priority over the other devices. By powering down the device in use, output priority is returned to the last powered on device. Note: Auto switch function only works for components that do not output continuous voltage over HDMI port when turned off.
    Here is a typical HDMI 3-in 1-Out HDMI Auto Switch
    http://www.google.com/products/catalog?q=hdmi+auto+splitter&rls=com.microsoft:en -us&oe=UTF-8&startIndex=&startPage=1&rlz=1I7GGLF_en&um=1&ie=UTF-8&tbm=shop&cid=1 0340892278237558532&sa=X&ei=fTPmTtOiHuXq0gGc3sHfBQ&ved=0CHsQ8wIwAA#
    Thanks for any help. Sincerely,
    HDMI auto switch?

    Hi Erico,
    I tried what you said again but without success. I even updated the driver so that that audio driver is the same as the graphics driver i.e.. NVIDIA but this has not helped either:
    Do you have any other ideas?
    Many many thanks,
    Louise

  • Search help dialog when there is only one entry

    Hi experts,
    I am developing a Webdynpro app and I can't find the way of skiping the search help dialog when there is only one entry on the result, just like in SE37 when you put the function name with * and it automatically puts the only ocurrence in the field with no dialog for selection. Right now my application is working correctly but it alwas show the dialog even when there is only one entry on the result.
    Thanks in advance!
    Daniel
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on May 4, 2011 2:35 PM

    Hi,,
    Use OVS to  achieve this., when u press start search select the values from table into internal table (lt_object_list)
    n = lines( lt_object_list ).  " this gives the number of records in internal table..
    if n = 1.
    set_attribute(  ) .. to the input field.
    else.
    co phase 3.
    call popup window to display objects
    endif.
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • After reverting to Firefox 3.6 I have lost the ability to close a webpage (down to an empty tab) when I have only one tab open. Where did the little "x" go on the single tab???

    I like to be able to close the webpage I am viewing when I am finished, when there is only one tab open, so that Firefox is empty when I next want to browse the web. After upgrading to 5.0 and finding I hated it, I downgraded back to 3.6 and now the little "x" on the single tab is gone. It still appears when I have multiple tabs open, but not when there is just one. What happened? How do I get it back?

    Thank you, but I already have "always show tabs bar" set.
    Also, I have two computers and the other is running the exact same version of Firefox, and the exact same theme, but it does not have this problem.
    To make sure I'm being clear: there is an "x" on each tab that allows me to close it when I have multiple tabs open. When I have only one tab open, there is no "x"; so in order to close the webpage I have to open another empty tab, and then close the first. My other computer has the "x" to close the tab visible even when there is only one tab so that I can close the page and have an empty (marked "(untitled)" tab). Please help!

  • I am no longer able to use a keyboard shortcut to close a window when there is only one window open.

    I can use Command+W when there are multiple tabs open to close one window at a time, but not when there is only one window remaining. It's driving me crazy because I have to click on the red dot. It won't close with File > Close either. Nothing changed (that I know of) from last week to this that would cause this. It works fine in safe mode but I can't figure out what's conflicting. Also, I've tried reinstalling Firefox but that did nothing. Help?

    Problem solved! It's the Evernote add-on. They updated something on November 6. I've disabled it until that quirk is fixed. Thanks.

  • Why does fix capitalization work when there is only one space after the period in pages 09?

    why does fix capitalization work when there is only one space after the period in pages 09?  For example:  "Turn on 3rd St. After the traffic light."  There is only one space after the period in "St."  shouldn't it only auto correct after TWO spaces..??  the word After, should be after..

    You may also use a noBreak space after the period at the end of the abbreviation.
    If I remember well, in such case the capitalization will not apply.
    Yvan KOENIG (VALLAURIS, France) mercredi 27 avril 2011 23:34:46

  • The 16G IPOD catalog entry should have in bold THIS THING HAS ONLY ONE CAMERA.  I bought one for my dad thinking it was same as the last one i bought.  my fault, but also theirs.

    I just ordered a new 16G iPod touch for my dad.  the bigger models said they had an hd camera, so i assumed this one did not BUT AT LEAST HAD A REAR FACING CAMERA.
    So it arrives and he says it only has one camera and I say of course it has two cameras.
    it turns out just a front-facing camera (so i guess thats what Facetime camera meant).
    so now he wants to return it
    be careful ordering. my fault, but also theirs.  it's like selling a car without a windshield.  their should be a giant sign that says, this thing has only one windshield

    Disagree for three reasons:
    1) this is a KEY feature that was removed from prior models.  removing something that cutomers depend upon requires more than burying in a cryptic spec.
    2) even spec does not use clear generic terms like "front-facing camera" "rear-facing camera" or "has one camera" - instead it used Apple-terms like Facetime camera and isite camera, which on a casual glance appears like just upgrade/downgrade camera version.  16g model says facetime camera, and cell next to it it says isite camera (instead of also showing both models have facetime camera on the same row) and that's not a proper comparison grid, comparing  apples to apples, so to speak...
    3) you presume every person that orders finds this page (which i contend is not clear).  i don't want to spend an hour learning what apple-jargon translates to "this model has only  one camera"
    No reply needed.  Just posting for awareness.  I am guessing there will be more dissatisfaction and returns for this product, so just giving you feedback.

  • Create a business model when we have only one source table

    Hi,
    How to create a business model when we have only one source table in Physical layer
    Regards
    Swathi

    This is very much possible and feasible. Its called as Single Table model. Good example is SA System Subject Area where we just have a single physical source. No need to create Alias in Physical. Simply use the same table twice in BMM with one Logical Table as Dummy Fact..Like say Count of Users (aggregated). Then apply normal Complex join in BMM and present in presentation layer.
    http://gerardnico.com/wiki/dat/obiee/single_table_model
    http://gerardnico.com/wiki/dat/obiee/sasystem

  • Why does it say More. . . in email address line when there is only one email address?

    When receiving an email, why does it say 'More. . .' in the To email address line when there is only one email address? It looks like there is more than one recipient when there is actually just one. 

    Have you rebooted since the deletions.  That will empty a number of caches and may restore the freed up space. Also open the iPhoto Library package with the Finder as shown in this screenshot
    locate the iPod Photo Cache folder and delete its contents.  Make no other changes to the contents of the iPHoto LIbrary Package.
    OT

Maybe you are looking for

  • Issue with tableview data storing

    Hi, We are using MVC model, it has view-model-main controller and sub controller. I am displaying 4 columns on the tableview where 2 columns are editable. when i click update button on the screen i have called do_handle_event method on sub controller

  • XML: SAX vs. DOM vs. jDom etc.

    Is there any reason to use SAX or DOM? I mean is jdom always the best choice? Some information?

  • I've installed ios5 on my iphone4 and now all the applications (app store

    Hello, I've installed iOS5 on my iphone 4 and now all the applications (app store, books..) are in deutsch instead of french even if all my parameters are in french. I leave in Swiss, french part. Thanks for your help.

  • Output side by side.....!!!!

    Hi, Can we show output side by side? In ALV or Classic we pass the values of internal table and it shows output row wise,is it possible to show it side by side? Selection Screen should be on BNK. If user inputs BNK : 001-012 the all three sets of val

  • Last photo's thumbnail is not displaying

    Last photo's thumbnail is not displaying when i enter the camera app.When you enter the camera at the lower left pont there is a thumbnail  of your last photo. Instead there just a black box where the photo should be.