WebElements - Having problems putting CR report in WECollapsibleSection

Hi there - 
The user doc indicates putting a WEcontrol in a collaspible section  is possible - I am trying to put a CR report in the section and am having problems.
Here's my code:
WECollapsibleSection (ElementName, {@WE_OppListRiskReport}, OpenText, CloseText, Font, SectionWidth, SectionHeight)
where {@WE_OppListRiskReport} is
stringvar targetpath :=WETargetPath ("rpt","CUID" ,{@WE_OppListRiskPullCUID},"");
(i've also tried other permutations of the placement of WETargetPath)...
When I run my report with the collapsible section and click on the OpenText Link, the section appears, but what appears in it is the Opendoc URL:
/OpenDocument/opendoc/openDocument.jsp?sType=rpt&sIDType=CUID&iDocID=ASHjBo78IzxEj_yzCRYc6uc
I have used the target path to the same CR report in an iFrame and the report displays correctly so I know it can find the report correctly.
Help!
thanks!
Pam
PS.  Just into a week of using WE and loving it!!

Hi Jamie -
I have already encountered issues after I accidentlally copied/pasted code and left  2 physical webelements with the same name.    (hey!  why is that report loading in that frame??)   That wasn't the issue here, but your response made me go through my code with a fine tooth comb to verify that I hadn't done that.
While I was double checking, I did some more experimenting and debugging.  This led me to an interesting discovery. 
As a reminder, I am trying to 'load' crystal reports into iframes onto a Main 'portal' report.  My main report has iframes, collaspible sections, editbox controls and a flyout section with 5 elements.  Loading a report into a frame works fine for the 'independent ' iframes that are placed directly on my main report.   The expected report also loaded on the 'top' element of the FlyoutSection control.  (When I say 'works fine', I mean that the reports loaded into their respective iFrame controls when I open the Main 'portal' report)
The 2 controls that I was having issues with were the CollapsibleSection and the  FlyoutSections (all but the top element.) . 
In each case, I had defined iframes and targeted the iframes with Cystal reports within these controls.  When my main report loaded and I clicked on the 'Show Report' link to open the CollaspibleSection, I could see the outline of the iframe but within it,  was the never ending 'please wait ' window.  The report just never loaded.  I experienced the same thing when I put an iframe on the 2nd 'section' of a FlyoutSection control.   I knew that my code was correct because if I pulled the iframe code out of the control and put it directly on my Main 'portal' report, it worked like a charm.
To me, it seemed as if, despite the 'please wait'  message, the iframe was NOT loading the report.   I was never prompted for parameters and the DB showed no I/O hits to indicate the report was hanging due to performance.      So just for the hell of it, I put a submit button within the content of the FlyoutSectionControl's second section (along with the existing iframe).  All the submit button did was force the report to be loaded into the same iFrame that was already there.  And, to my surprise, after pressing the button, the report loaded.
I tried adding a submit button to the collaspible section as well and that seemed to force the report to load as well.
Of course, this is really clugey.  My expectations are that when I click on the FlyingSectionControl's element headers, the reports wherein would load and, if I click on 'show report', the report will load as the collaspiblesection expands.  I think users will also have the same expections.  It's seems unnecessarily redundant to have a 'Show report' link open up and then the user have to click a button that says 'Do you really want to see the report' before the report will load.
Fundamentally, these 2 controls differ from others because you need to 'click' on them to change their state.  Perhaps this 'click' is interfering with the report loading into the iframe?
I'd love an explanation and also your input into how these controls could be 'preloaded' .
thanks!
-Pam
Here's the code for my collaspible section (that finally worked)  - the only difference from the prior version is the addition of the WeSubmit(btn) function:
stringvar item1:= WETargetPath ("rpt", "CUID", {@CUID_chart}, "weIframe=iframe5"  );
stringvar OpenText:= "Show Chart";
stringvar CloseText:= "HideChart";
stringvar SectionWidth:= "3in";
stringvar SectionHeight:= "2cm";
stringvar insideframe :=WEIFrame ("iframe5", "item1", 400, 200, "yes") ;  <==if I leave out the target path here, the frame shows up empty at first (which is neater than seeing the 'please wait' message box))
stringvar SectionElements:=   WESubmit("chartbtn","Button", "see chart",item1 , font)
+ WEBreak (2)+  insideframe;
stringvar collaspiblegroup := WECollapsibleSection (ElementName, SectionElements, OpenText, CloseText, Font, SectionWidth, SectionHeight);
collaspiblegroup + WEBuilder(collaspiblegroup,2);

Similar Messages

  • I having problem in XL Reporter

    Hi all
    i having problem in XL Reporter is that
    in report compose i  have selecte two fields from BP tab, one BP and contact person
    if i generate , it ask file name "bp1" in action edit definition, checked use exel temple
    then i entered OK
    following error displayed
    "A required COM add-in program for XL Reporter has not been loaded and prohibits Microsoft Excel from running"
    Please guide , how to solve this
    Prasad

    Read the following solution from SAP for your problem;
    When we open XL Reporter we get an error
    message "A required COM add-in program for XL Reporter has not been loaded
    and prohibits Microsoft Excel from running." when trying to open a report
    definition.
    SOLUTION FOR THE PROBLEM:
    Reason and Prerequisites
    You need to be an administrator on the local machine to add COM add-ins.
    Solution
    The user should be added as a member of the administrator role on the
    local computer the first time you start Excel from XL Reporter the first
    time so that the COM addin are registered, then you can remove the user
    from the administrator group again.
    Manually Loading the XL Reporter Excel COM Add-In
    Symptom
    If you install Microsoft Office after installing the XL Reporter
    application or use another Windows user than the one you used when
    installing XL Reporter, you can get an error message.
    Reason and Prerequisites
    The reason for this is that the report writer COM Add-in has not been
    loaded, which prohibits Microsoft Excel from running.
    Solution
    1. Start Microsoft Excel. If you already have the COM Add-ins command on
    the Tools menu, go to step 7.
    2. In the Tools menu, choose Customize.
    This opens the Customize window.
    3. Choose the Commands tab and select Tools from the Categories pane on
    the left.
    4. In the Command pane on the right, scroll down to the COM Add-ins
    command.
    5. Select the COM Add-ins command, hold down the mouse button, and drag
    COM Add-ins from the Commands pane over to the Tools menu on the Microsoft
    Excel men bar. When the Tools menu commands appear, point to where you
    want the COM Add-ins command to appear on the menu and release the mouse
    button.
    6. To close the Customize window, choose Close.
    7. On the Tools menu, choose the new COM Add-ins option.
    This opens the COM Add-ins window.
    8. In the window, choose Add to open the Add Add-in window.
    9.Select the IXXLReporter.dll file located in the Client directory in the
    XL Reporter program installation area and choose OK.
    10. In the COM Add-ins window, select the XL Reporter checkbox and choose
    OK.

  • Having problem submitting error report to Apple.

    I keep getting the message Submission failed.  Your report could not be submitted. Please try again later.  My email and internet both work so it's not a connection problem.  I have had this problem in the past and just never sent the report.

    Very strange. This doesn't fit my view of the world. Please, tell us if a reinstall worked.
    Otherwise one thing you could try is to open the application package, (Ctrl-click on the application and choose "See Package content".) Navigate to Contents > MacOS and double click on the icon there. That may "remind" MacOS that this is a MacOS X application.

  • Having problems putting iMac to sleep?

    I've noticed lately that I have to click SLEEP two or three time to put my iMac into sleep mode.  Is this the start of a bigger problem and what do I have to do to fix the problem.  Any assistance will be appreciated.

    See if something here helps http://support.apple.com/kb/HT1776?viewlocale=en_US
    I'd also try resetting the SMC http://support.apple.com/kb/HT3964

  • I'm Having Problems Putting Song On My Mp3 Pla

    I have recently bought a Zen nano plus, and after 2 months of using it i can not put songs on it. each time i go to put a song on it, it freezes then i have to hit Ctrl + Alt + Delete to get out of the program. What can i do to fix it's

    Update new firmware

  • Still having problems with images

    I am still having problems putting images into an Oracle 9i database and fetching them back out.
    I think I have finally managed to force a blob image into the database, but can't seem to get it back out into a byte array.
    After many iterations, I have come up with something that might be getting close.
    The code is listed below.
    Everything has been simplified as much as I can.
    The function get_user_picture_func1 returns a single blob for a specified index.
    In this case, I have hardcoded the index = 3 and I think there is an image in the database for that index. (it says there are bytes there anyway).
    The byte array to store the image is defined outside the method fetchImage().
    byte[] imageData;
    When I call fetchImage() I get the following exception:
    Invalid argument(s) in call: getBytes().
    at the line
    imageData = picture.getBytes(zro, k);
    It looks like getBytes has two parameters, Long offset, int length.
    I had diagnostic statements and I confirmed that the statement:
    int k = (int)picture.length(); returned k=4198 (the same size as the image).
    I am at a loss to understand what the exception is trying to tell me.
    I'be been trying to get this to work for a week now and am really getting burned out trying to find anything that works.
    void fetchImage()
    Blob picture;
    String query = "{ ? = call get_user_picture_func1( ? ) }";
    try
    CallableStatement cs = con.prepareCall( query );
    cs.registerOutParameter(1, OracleTypes.BLOB);
    cs.setInt(2,3);
    cs.execute();
    picture = cs.getBlob(1);
    if( picture != null)
    InputStream in = picture.getBinaryStream();
    int k = (int)picture.length();
    imageData = new byte[k];
    long zro = 0;
    imageData = picture.getBytes(zro, k);
    catch( Exception e)
    }

    I have been using my iPad mini with keynote to make slide presentations in  my classes.There has been no problem until I upgraded to Keynote 5.3. Now the refresh rate on the iPad mini is so slow and out of sync with the projected image that I was forced to not use keynote! I have 2 years of work invested that I will have to toss unless this gets fxed. I have not had this problem with this equipment/files before. Only change was upgrade to keynote 5.3. ( Some details: I connect to the projector with a  VGA cable and Apple lightining adaptor to the iPad Mini. All updates current on theiPad Mini.)  Yes I did turn on and off all equipment. And I did check all cable connections. Thanks for any help you may give!

  • Trying to get my fcp project to burn to dvd at the highest quality? Ive used compressor and then tried to put it in dvdsp put its not working. I am having problems with the audio or when i burn it , i cant play the dvd? any help would be appreciated

    Ive used compressor and then tried to put it in dvdsp put its not working. I am having problems with the audio or when i burn it , i cant play the dvd? any help would be appreciated

    I suspect you are attempting to burn an HD DVD, which will not play on a DVD player...
    But if you provide more details such as the settings you are applying in Compressor, then we would be able to provide you more accurate information.
    How are you adding the files to Compressor?
    In FCP, what are your footage properties (command-9) and sequence settings (command-0)

  • Im having problem with my itunes, i tried to put new gift card abunch of time but its always tells me that in put invalid security code.. what should i do now?

    Im having problem with my itunes, i tried to put  new gift card abunch of times but it keep telling me Invalid security code. What should i do now pls. help me, can't update all my apps anymore they dont let me!!

    you have to log in to your account on the computer iTunes and edit your payment information there.
    iTunes Store: Changing Account Information
    http://support.apple.com/kb/HT1918

  • Having problem to install Oracle Portal Forms Reports and Discoverer 11g on Windows Server 2008 64 bit

    Dear All Precious Friends,
    I am having problem while installing Oracle Portal Forms Reports and Discoverer 11g on Windows Server 2008 64 bit,
    I have already installed Oracle Database 11g Release 2 -------
    ----Then i configured JAVA Access bridge
    --------then installed and configured Required Schema using Repository Creation Utility of same version of Database 11g,
    -----------then installed Oracle Business Intelligence 11g version 11.1.1.6.0 which includes Web logic..............I am feeling that i did right at this point...........
    ..............also feeling comfortable after install Oracle Identity and Access Management 11g ..................
    -----------------but don't know how to configure OID to install Oracle Portal Forms Reports and Discoverer 11g...............
    Please help my Oracle Friends
    Your early help will be highly appreciated.
    thanks and regards
    Hassan

    You said, "...+I would like to install Release 2(11.1.1.2.0)+ ...". Be careful. 11.1.1.2.0 is not Release 2. The version for Rel 2 is 11.1.2.0, notice that there is one less "1". Also, there is no way to patch from Release 1 to Release 2.
    In EDelivery, this is what you should find if you search on "Oracle Fusion Middleware" for "Microsoft Windows x64 (64-bit)":
    First look for this link then drill into it:
    Oracle Fusion Middleware 11g Media Pack for Microsoft Windows x64 (64-bit)
    In this section you will find the following:
    This is the full product installation of FMw 11 Release 2 (Forms & Reports)
    Oracle Forms and Reports 11g R2 (11.1.2.0.0) for Microsoft Windows x64 (64-bit) V28761-01
    This is the full product installation of FMw 11 Release 1 (includes Portal, Forms, Reports, and Disco)
    Oracle Portal, Forms, Reports and Discoverer 11g (11.1.1.2.0) for Microsoft Windows x86 (64-bit) (Part 1 of 4) V18785-01
    Oracle Portal, Forms, Reports and Discoverer 11g (11.1.1.2.0) for Microsoft Windows x86 (64-bit) (Part 2 of 4)
    Oracle Portal, Forms, Reports and Discoverer 11g (11.1.1.2.0) for Microsoft Windows x86 (64-bit) (Part 3 of 4)
    Oracle Portal, Forms, Reports and Discoverer 11g (11.1.1.2.0) for Microsoft Windows x86 (64-bit) (Part 4 of 4)
    This is the FMw 11 Release 1 patch set that will bring the above 11.1.1.2.0 installation to 11.1.1.6.  This is NOT a full product installation - just a patch
    Oracle Portal, Forms, Reports and Discoverer 11g Patch Set 5 (11.1.1.6.0) for Microsoft Windows x86 (64-bit) V29850-01
    There are no patch sets for Release 2 as of yet.

  • HT6058 I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly

    I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • Is anybody else having problem trying to put a background pic it won't zoom out?!

    Is anybody else having problem trying to put a background pic it won't zoom out?!

    Hi Daguyuluv2nv!
    I have some information for you that might help you with that issue:
    Reduce screen motion - iPhone User Guide
    http://help.apple.com/iphone/7/#/iph11d9baf58
    You'll want to turn that setting off in your iOS device in order to view your background picture the way you desire. Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • HT1933 I have been charged for downloading Indira Budiman from itunes multiple times, how to report to itunes?  Is anybody else also having problems like this? And also need to know how to block them from charging again?

    I have been charged for downloading Indira Budiman from itunes multiple times, how to report to itunes?  Is anybody else also having problems like this? And also need to know how to block them from charging again?

    I don't know who/what Indira Budiman is, but you can contact iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's an app then does it allow you to make in-app purchases within it ? If it does then you can turn off in-app purchases via Settings > General > Restrictions on your device.

  • Ok so i am having a problem putting my card on my account it keeps saying it is invalid but i dont know why

    ok so i am having a problem putting my card on my account it keeps saying it is invalid but i dont know why

    I had a similar problem.  I think it was caused by deleting an app while it was still running. I should have shut the app down before deleting freom the applications folder.  When I tried to empty trash I received message:
    "The operation can't be competed because the item something.app is in use."
    Go to utilities, open a terminal, change directory to the hidden Trash folder and remove the offending item in use. Example:
    cd ~/.Trash
    sudo rm -rf item
    Next time, maybe try quting iTunes before deleting and see if it makes any difference.
    http://www.macworld.com/article/2025381/mac-troubleshooting-what-to-do-when-the- trash-won-t-empty.html
    Another approach might be to use the iTunes folder named "Automatically Add to iTunes" folder.
    http://support.apple.com/kb/HT3832?viewlocale=en_US&locale=en_US
    -Ed

  • My ipod having problem in putting up songs. and i cant sync the songs. what will i do?

    my ipod having problem in putting up songs. and i cant sync the songs. what will i do?

    back up the device in icloud and restore it back to factory settings after doing so setup as new and see if the issue is still there. If it's not merge your icloud info back into your device by just loging in with your apple id after the the setup is complete.

  • I am having problems with certain websites that require adobe flash player because of the restrictions that apple has put in place. Is there a way to get to sites that require flash player?

    I am having problems with certain websits that require adobe flash player

    Please don't start the 1 millionth thread on this subject, which has been answered over and over and over and over and over and over and over.........Use the search bar and type flash and you'll see thousands of posts on this.

Maybe you are looking for