AJAX Report Refresh  a_report- Condition for display not being validated

Hi ,
I have a report which has the following condition for dispaly:
Exists(SQL query returs atleast one row) - SELECT * from temp1The query for the report is : select * from temp1 Now I have a button on the page and on click of the button I call the below Javascript :
function f_insert_Temp_table(pTrans){
      var l_Return = null;
      var get = new htmldb_Get(null,$x('pFlowId').value,
              'APPLICATION_PROCESS=temp_table_insert',206);       // ODP to insert into temp1
      get.add('TRANS_ID_ITEM',pTrans);
      gReturn = get.get('');
     //alert(gReturn);
     //$x_Show('6342610690289435');
     $a_report('6342610690289435','1','15','15');
}Everything executes fine and the report refreshes the rows but the condition used for display doesn't get checked when I call $a_report() ...
I can see the ODP execute successfully and row gets inserted into temp1 which means report condition is satisfied .
If I remove the condition for the report, I can see the report getting refreshed and showing new rows through the $a_Report() call.
Is there something that needs to be added to the script or $a_report call to validate the condition too ?Is there a way I can validate the region condition too ?
Appreciate any suggestions/pointers here. I really do not want to refresh the whole page.
Thanks,
Dippy
Edited by: Dippy on Feb 5, 2010 11:05 AM

Hi Flavio,
Thanks for your support.I figured where I was going completely wrong.
Its just that when the page loads for the first time the temp table is empty and hence the report is not being displayed which simply
means that the report id Im passing into the a_report function is not rendered on the page. Hence no matter what the temp table contains the report id is absent from the page.
I fixed it as follows :
Remove the condition for the report.
Added and item and computed(P_Compute) its value using select count(*) from temp.
Added an onload JS function which does a $x_Show('Report_Region') if P_Compute > 0 or $x_Hide('Report_Region') if P_Compute <0 .
Now in my JS function which has an AJAX call to an ODP does an $x_Show('Report_Region').
Flavioc : the query for my report is simple
select * from tempIt finally dawned upon me that I'm trying to catch hold of an ID that's not rendered.
So one issue is solved now the other part would be figuring out how to make $a_report work with pagination etc .

Similar Messages

  • Release notes for 2.16 states that there was a fix for alerts not being modal. We are using 3.0.6 and are experiencing the same issue; was there a regression to the modal fix. What version needs to be used to make sure that alert messages are modal?

    Release notes for 2.16 states that there was a fix for alerts not being modal. We are using 3.0.6 and are experiencing the same issue; was there a regression to the modal fix. What version needs to be used to make sure that alert messages are modal?

    We are trying to determine why alert boxes are not modal
    The fix states it's for Firefox 2.0 - 3.7a1pre
    We are using 3.0.6 not the current version of 3.6.13.
    Add-on release notes 2.16.1
    https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/versions/
    Repeating 2.16 release notes since 2.16 was not made available for more than a couple of hours
    Fixed bug whereby some alert boxes weren't properly parented/owned. This led to some alerts not being properly modal
    with respect to the window/dialog that issued the alert.

  • Blue Screen with Text re IPOD size not being valid

    Now everytime I reboot, I get a blue screen full of text about the IPOD size not being valid, and I have to hit the reset button to get out of the loop.
    THEN, when I try to just wipe everything off the IPOD and start over/Restore, I get a message that says IPOD manager internal error.

    With the internal memory error message stopping Update, I went online to see if I could manually download the latest update...or any update. Even a previous version.
    But to do that I have to go back to Itunes 7...The only reason I don't like version 7 is that my Ipod contents disappear from the Itunes source window when the Ipod is not connected to the computer.
    Anyone know of a more reliable mp3 player ?
    Thanks for letting me ramble.
    Chip

  • SQL Server Reporting Services Add-In for SharePoint not installing properly

    Environment: Windows Server 2008R2, SQL Server 2012, SharePoint 2013 Enterprise
    When I run the install for SQL Server 2012 Reporting Services Add-in for SharePoint it SHOULD install to c:\program files\common files\Microsoft Shared\Web Server Extensions\14 AND 15. Specifically it should drop a mess of ASPx pages for admin to the \templates\Admin\ReportServer
    folder. In this environment it only pushes them to the 14 folder and not the 15. Any ideas on why this would happen? I have not ever seen this before and it is hosing the install completely.

    Hi Gouranga,
    According to your description, when you install the SQL Server 2012 Reporting Services Add-in for SharePoint 2013, you find the files are installed into the folder for sharepoint 2010(..../14). Right?
    In Reporting Services, Not all features are supported in all combinations of report server, Reporting Services add-in for SharePoint, and SharePoint Products. Please see the linke below:
    Supported Combinations of SharePoint and Reporting Services Server and Add-in (SQL Server 2012)
    As you can see in the link, the SQL Server 2012 Reporting Services Add-in is only for Sharepoint 2010. This the reason why it's installed into the file for sharepoint 2010.
    Reference:
    Where to find the Reporting Services add-in for SharePoint Products (SharePoint 2010 and SharePoint 2013)
    Install or Uninstall the Reporting Services Add-in for SharePoint
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Crystal Reports Excel Export Issue - page footer not being displayed

    We recently converted all Crystal Reports from Visual Studio 2003 to Visual Studio 2005 sp1, .NET 2.0, Crystal Reports for .NET.  I have the latest merge modules from business objects.  All reports & footers worked fine in VS2003 ... but now when I export to PortableDocumentFormat (PDF) or WordForWindows (DOC) the page footers appear correctly.  But, when I export to Excel (XLS) like the code below, the page footers do not appear.  We need to place a disclaimer at the bottom of every page of an exported excel document.  I checked the print preview, and I tested printing the document ... the the footer is not being utilized properly by the Crystal Reports export.
    System.IO.MemoryStream oStream = new System.IO.MemoryStream() ;
    oStream = (System.IO.MemoryStream) report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.Excel) ;
    Response.Clear() ;
    Response.Buffer = true ;
    Response.ContentType = "application/vnd.ms-excel" ;
    Response.BinaryWrite(oStream.ToArray()) ;
    Response.End();
    I have asked the question in msdn forum
    http://forums.msdn.microsoft.com/en-US/vsreportcontrols/thread/0ead9e34-bc45-4062-90dd-17f8f8ebf062

    fyi - if i hadn't mentioned it, problem occurs in all our environments (developer workstation, development server, testing server, production server, etc.)
    on my development workstation i found the file 3 times
    c:\program files\common files\business objects\1.0\bin\crxf_xls.dll
    has file version 9.1.1.557
    c:\program files\common files\business objects\2.7\bin\crxf_xls.dll
    has file version 10.2.0.1093
    c:\program files\common files\business objects\3.0\bin\crxf_xls.dll
    has file version 11.0.0.1937
    on my development server (and our other environment servers too)
    c:\program files\common files\business objects\2.7\bin\crxf_xls.dll
    has file version 10.2.0.1210
    so just from that i notice that the file versions in the 2.7 bin are different from my developer workstation to my development server ... but the issue still occurs in both places.

  • ISO: techniques for resolving "not a valid WDDX packet" errors

    I
    inherited (more honestly - I was drafted into maintaining) a
    large and probably not very well written web app written in
    ColdFusion. My coldfusion experience is minimal - I took a course
    back in the 4.0 days, and really didn't have much need to deal with
    it until now.
    Anyways, the inherited application, when attempting to
    display one particular record, outputs the message that the field
    being displayed "is not a valid WDDX packet". I've gone to the
    database entry for this record, dumped the contents (which is a
    couple thousand bytes of XML).
    How can I figure out what in the data is wrong, so that I can
    hack a solution into place?

    The site in question is a workflow/purchase request
    application. The applicant fills in the details, and the coldfusion
    bundles up the structure as wddx and wites it out to a database.
    Then, later, when the next person in the work flow needs to read
    the details, the database record is retrieved, the xml interpreted
    and the structure filled in, and then they can add details, provide
    approval or disapproval, update the record, and the request moves
    on to the next step in the work flow.
    Just as you suggested, my first thought was to get at the
    data in question to see if I could determine what the problem is. I
    have tried the url 'directly' - it is the only URL I have for the
    operation. All I get, as I mentioned before, is a coldfusion
    message about the data not being a valid wddx packet.
    What I need is some method of determining to what coldfusion
    is specifically objecting.

  • Why is skype for web not being developed for linux?

    i tried to get the skype extention for chrome on linux. and well i got that icon error. so i tried to work arround the error and was seccessful in getting the plugin installed. but the actual skype for web aplication doesn't seem to want to utilize the skype calling extention even after using a user agent to trick the skype for web page into thinking i am using chrome on windows. i end up hacing to install the windows plugin. and the skype for web page doesn't like to use the Skype Calling extention.but anyway  iwanted to know why the skype for web plugin is not being compiled for linux. i see no reason why someone couldn't just compile the plugin for linux with the already existing code. i would be willing to volunteer to compile the plugin and release the plugin for linux.

    Hi and welcome to the Skype Community,
    Skype for Web is currently a Beta version with support for calling via the plugin being limited to popular browsers on Windows and Mac. Unfortunately supporting calling on Chrome for Linux requires a bit more than simply recompiling the plugin. Going forward we are looking to add more features and allow calling on even more platforms, potentially even Linux.

  • My serial number is not being validated

    The serial number is C02G50EDDRJL.  It is printed on the back of the ocmputer and is not being accepted as validated to get on support chat.

    While Apple runs and maintains these forums, they are user to user, so you are very unlikely to get a response from an Apple employee here.
    Try contacting Apple Support.

  • Text input box for displaying notes

    How can I use a text input box so delegates can write notes in which then appear on other pages as they work through the course.
    Ken

    It seems you would be able to do this with user variables, in which you store the content retrieved from the Text Entry Box. Later on (other slides) you can use this content by adding it to a Text Caption. Beware: I'm not sure about the amount of characters that can be stored.

  • Definitive thread for iphone not being recognized in itunes in PCs

    I have the problem many have mentioned that the iphone is not recognized by itunes at all.
    I have tried completely uninstalling iTunes, quicktime, anything apple, and deleting the folders.
    I have tried messing with the plugs, different USB ports.
    I have seen the apple support page on this issue and tried everything, I have also seen the page about ipods having this problem which advised turning off power management on USB ports.
    I have tried it all.
    I know my phone and cables are probably fine because everything works perfectly on my desktop, which is configured the same as the problem computer (an HP laptop running XP Pro with all current updates except IE 7).
    Please don't tell me to buy a mac, I didn't buy the iphone just to be forced into converting overnight to the apple religion.
    I have read every thread about this issue and it seems everyone has solved their problem except me so I had to start a thread.
    I haven't had the time to sit for Apple support on the phone yet but I will do that this weekend hopefully, can't imagine what the fix can be but I will report back here if I get it.
    Any helpful suggestions are greatly appreciated.
    My laptop is just 2 years old and it does have USB 2.0.

    When you plug it in, Windows should at least recognize it as the iPhone camera and ask what program you want to run. It displays a list, none of which are iTunes. Does this happen when you plug it in? At least that would eliminate the question of the cables and whether or not the computer itself sees it.
    Now as to iTunes, it should be open when you connect. I know that helps to get it recognized. Also, the same issue I recall having was that I had not upgraded iTunes to 7.3.0 and it would not recognize it without that version.
    Isn't there also something about Authorizing/Deauthorizing something under the Advanced section of iTunes? I've never understood this, but it must do something.

  • External Display not being found

    Hey i posted this under macbook display but no one really goes in there so can you guys help??
    Hi recently i borrowed a friends official apple mini-dvi to video adapter to watch a movie with my macbook. He uses the cable with his iMac. I tried plugging it in, the screen flashes blue then nothing appears on the tv. no picture nothing. i tried restarting with it plugged in, restart without, putting it to sleep plugging it in then waking it and nothing works. so i thought maybe the cable is broken. so i go to my friend and we hook it up the same way i was with his iMac and it works so we unplug his and plug it in to mine and it still does not work. HELP???

    Your display may not be on the "approved" list, or was removed from it.
    Apple's new MacBook lines includes a form of digital copy protection that will prevent protected media, such as DRM-infused iTunes movies, from playing back on devices that aren't compliant with the new priority protection measures.
    The Intel-developed technology is called High-bandwidth Digital Content Protection (HDCP) and aims to prevent copying of digital audio and video content as it travels across a variety of display connectors, even if such copying is not in violation of fair use laws.
    Among the connectors supported by the technology are the Mini DisplayPort found on Apple's latest MacBook, MacBook Pro, and MacBook Air, in addition to others such as Digital Visual Interface (DVI), High-Definition Multimedia Interface (HDMI), Gigabit Video Interface (GVIF), and Unified Display Interface (UDI).
    Apple has apparently acquired a license for the technology and is now using it across its DisplayPort-enabled MacBook lines to to prevent transmission of purchased iTunes content (and some DVDs) to devices that don't include support for HDCP.

  • Dreamweaver CS6 on Mac - Retina Display not being used properly.

    Hello. I have just installed the CS6 Dreamweaver trial [which I intend on purchasing eventually] and supposedly it is Retina display compatible. However, the fonts and in-program graphics look like crap for lack of a better word. I have checked the "Get info" panel and the box that says "Open in low-resolution" is checked and grayed out so I cannot change the setting. How to I get the program to use Retina properly? It is a fresh install, fully updated, and I haven't changed a single setting, I literally installed it 20 minutes ago. Any help on this is appreciated. Thanks!
    Currently running OSX Mountain Lion 10.8.2

    Dreamweaver CS6 is not retina ready. Dreamweaver CS6 Cloud version is. Depending on which version you get depends on what you see.  If you are not trying the Cloud subscription then what you are seeing is what you will get until CS6.5 or 7 of the traditional licenses.

  • Email notification for MeetingPlace not being received

    Client has MeetingPlace 7.1.1 installed. Outlook email notification for MeetingPlace stopped working.
    Problem symptom:  When users try to schedule a meeting from web server page, both scheduler and invitee do not receive email notifcaiton in their email account.  But email notification for MeetingPlace works when users schedule meeting from MeetingPlace for Outlook Plug-in regardlessly.
    I've run a test with client, meeting creation is successful. But as soon as user finishs creation meeting, email notification is "Queued for delivery" in Email Notification Report in MeetingPlace App Admin page. I checked all possible settings in MeetingPlace Administration page, nothing looks wrong - correct email address account and type in user profile; SMTP server is properly configured and passes tha test; SMTP server is up and runnin. 
    I'm stumped after deep research online, did not go anywhere. Can someone point out where could possible go wrong and how to fix this issue??
    Fei

    Email notification works differently depending on where the scheduling is done. When done from Outlook your Outlook client sends the request directly to Exchange. When scheduling from the web the invite is held in a mailbox on the Application Server and periodically the system tries to send the email to its mailbox on Exchange.  Since the issues is with meetings scheduled via the web interface there is an issue with MP talking to Exchange.  I assume the users scheduling from the web have Outlook selected in their profile. This is the first place to check. Next I would look at the Outlook settings in MP. Make sure the MP mailbox is still in Exchange and that the user name and password is correct for the Exchange mailbox. This is usually where the issue is. Also make sure that SSL has not become a requirement to talk with Exchange.
    Let me know if you have any questions.
    John

  • Wait for Event not being picked up by workflow

    Hi,
    We have a purchase order workflow that has a parallel branch with a wait for event of 'Released' on it. The theory is that if a PO is released the workflow will finish. We have a situation where POs are created then released straight away by an idoc. In the event log we can see the release step created event and it correctly starts the workflow however the released event follows at exactly the same time and the workflow does not seem to notice this so it sends a released PO to a user to be released. I hope this makes sense. Can anyone think of a reason why this might be happening? Does it need a slight delay between the two events?  In SWEINST the linkage is active and when I look at the entry for one of these POs it tales me to the correct workflow.
    Thanks
    Rob

    Hi,
    You could possibly create a check function module for the event. In the check function module you check some specific variable (if there is something you can use) - for example if the event was created by a certain user or if the PO is a certain type(?). Then if your condition is fulfilled, you raise an exception and no event will be triggered => no workflow.
    This is just one possible solution.
    Regards,
    Karri

  • Java displays not being redirected to the DISPLAY environment variable

    I am running Solaris 8 and am using java se 1.4.1.
    I have a java application that is running in the background on BOX 1. It needs to use the JOptionPane.showmessage() function.
    When I remote onto Box 1 from Box 2, and run the java application, the message boxes from the JOptionPane.showmessage() are displayed on Box 1 instead of getting redirected to box 2. I know that the display setting are ok, since I can start other applications and get the displays sent to box 2.
    Is this a java bug?
    thanks
    Ben

    Hi Balus,
    Thank you for your reply, yes the response is absolutely empty just an empty page like:
    <html><body></body></html>In the logs I can see the normal trace about the error but nothing else.
    I found a "solution" that is working fine but I'm not sure if is the best to do, basically
    I'm throwing again the ServletException generated in the JSP an then is working:
    void autoForward(String forwardTo, HttpServletRequest request,
                HttpServletResponse response, ServletContext servContext,int errorCode)
                throws ServletException {
            try {
                addErrors(request,errorCode);
                RequestDispatcher dispatcher = servContext.getRequestDispatcher(forwardTo);
                dispatcher.forward(request, response);
            } catch (ServletException ex) {
                throw new ServletException(ExceptionUtils.getRootCause(ex));

Maybe you are looking for