Making Javascript provide an ID# ?

Hi!
For a Flash navigation bar I need to provide a button ID# instead of linking my button directly to a URL. Other scripting on the page is referring to the button ID to make my page hide/show certain content on button release.
Earlier I was able to have Java script help open a popup window by using this code:
In Flash:
on (release) {
getURL ("Javascript:popup3():");
In HTML
          <script language="JavaScript">
function popup3() {
window.open('http://www.URL.html','','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrol lbars=no,resizable=yes,width=620,height=710,left=10,top=10');
</script>
Question:
Can I use this kind of code to make flash trigger a java script that provids an ID for a Button on release?
If so what would it look like?
Thank you on beforehand.
ggaarde

Hi kglad
Well, that did not work...
Did you test it out?
On each button I placed this code:
on (release) {gotoAndPlay(9)
import flash.external.ExternalInterface;
btn1.onRelease=function(){
ExternalInterface.call("f1");
in the menu script widget i added the other part of your script:
<script type="text/javascript">
$j(document).ready(function() {
// Only apply this script if we are not on the customize page.
if ($j("#jive-widgets-panel").length == 0){
// Assigns class="widget-to-hide" to hide all widgets & assigns each widget a class with its own name.
$j("h4:contains('kickoff')").closest(".jive-widget").addClass("widget-to-hide kickoff-widget");
  $j("h4:contains('analysis')").closest(".jive-widget").addClass("widget-to-hide analysis-widget");
  $j("h4:contains('learn_more_tabs')").closest(".jive-widget").addClass("widget-to-hide learn_more_tabs-widget");
  $j("h4:contains('certification')").closest(".jive-widget").addClass("widget-to-hide certification-widget");
$j("h4:contains('Widget_for_tab_1')").closest(".jive-widget").addClass("widget-to-hide Widget_for_tab_1-widget");
$j("h4:contains('Widget_for_tab_2')").closest(".jive-widget").addClass("widget-to-hide Widget_for_tab_2-widget");
$j("h4:contains('Widget_for_tab_3')").closest(".jive-widget").addClass("widget-to-hide Widget_for_tab_3-widget");
$j("h4:contains('Widget_for_tab_4')").closest(".jive-widget").addClass("widget-to-hide Widget_for_tab_3-widget");
// Hides widgets and displays the Info widget on page-laod
  $j(".widget-to-hide").css("display", "none");
  $j(".secret-shop-widget").css("display", "block");
    $j('.kickoff-widget').css('display', 'block');
$j("h4:contains('CSS')").closest(".jive-widget").css("display", "none");              
$j("h4:contains('menu scripts')").closest(".jive-widget").css("display", "none");                  
</script>
<script type="text/javascript">
// This script allows the Flash naviation to target the hide show script (kglad)
function f1(){
$j('#Image1').click();
function f2(){
$j('#Image2').click();
function f3(){
$j('#Image3').click();
function f4(){
$j('#Image4').click();
</script>
<script type="text/javascript">
// These hide all widgets and the show one widget according to what was clicked in the menu
$j(document).ready(function() {
  $j('#Image1').click(function() {
    $j('.widget-to-hide').css('display', 'none');
    $j('.kickoff-widget').css('display', 'block');
          $j('.arrow').css('visibility', 'hidden');
          $j('.subtext').css('color', '#6a6a6a');
  $j('#Image2').click(function() {
    $j('.widget-to-hide').css('display', 'none');
    $j('.analysis-widget').css('display', 'block');
          $j('.arrow').css('visibility', 'hidden');
          $j('.subtext').css('color', '#6a6a6a');
  $j('#Image3').click(function() {
    $j('.widget-to-hide').css('display', 'none');
    $j('.learn_more_tabs-widget').css('display', 'block');
             $j('.Widget_for_tab_1-widget').css('display', 'block');
               $j('.Widget_for_tab_2-widget').css('display', 'block');
                       $j('.Widget_for_tab_3-widget').css('display', 'block');
                         $j('.Widget_for_tab_4-widget').css('display', 'block');
          $j('.arrow').css('visibility', 'hidden');
          $j('.subtext').css('color', '#6a6a6a');
  $j('#Image4').click(function() {
    $j('.widget-to-hide').css('display', 'none');
    $j('.certification-widget').css('display', 'block');
          $j('.arrow').css('visibility', 'hidden');
          $j('.subtext').css('color', 'white');
// $j('#reporting').click(function() {
//   $j('.widget-to-hide').css('display', 'none');
  //  $j('.reporting-widget').css('display', 'block');
//          $j('.arrow').css('visibility', 'hidden');
//          $j('.subtext').css('color', '#6a6a6a');
</script>
I am wondering if Flash needs a complete URL to the page to interact with the script since it is not tecnically on the page but in an iFrame?
I think maybe your idea with the getURL + a value string would work better?
What do you think?
ggaarde

Similar Messages

  • Need help making javascript thumbnail gallery function in javascript tab menu

    Hello all,
    I have implemented a css/javascript tab menu on one of my html pages thanks to Chris Coyier (http://css-tricks.com/learning-jquery-fading-menu-replacing-content/), and within one of the tabs, which I labeled GALLERY, I am trying to place a thumbnail gallery curtosy of Trent (http://www.twospy.com/galleriffic/).
    Before trying to place it in the menu, I made the gallery on a seperate html page to make sure that I could get it to work.  It does. But when I place it in the menu it shows up on page load under the content of the first tab (labeled TOUR) and not in the gallery tab.  In addition, once I click on the "gallery" tab the other tabs stop showing their content.  I feel like I am missing something obvious. But I just can't figure out what.  If anyone can help I would greatly appreciate it.
    Thanks,
    Natalie
    Below is the code of my whole page:
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Tour template</title>
    <!--TABS-->
    <link rel="stylesheet" type="text/css" href="MenuFader/style.css">
    <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script>
    <script type="text/javascript">
            $(function(){
                $("#tour-button").css({
                    opacity: 0.3
                $("#gallery-button").css({
                    opacity: 0.3
                $("#page-wrap div.button").click(function(){
                    $clicked = $(this);
                    // if the button is not already "transformed" AND is not animated
                    if ($clicked.css("opacity") != "1" && $clicked.is(":not(animated)")) {
                        $clicked.animate({
                            opacity: 1,
                            borderWidth: 5
                        }, 600 );
                        // each button div MUST have a "xx-button" and the target div must have an id "xx"
                        var idToLoad = $clicked.attr("id").split('-');
                        //we search trough the content for the visible div and we fade it out
                        $("#contents").find("div:visible").fadeOut("fast", function(){
                            //once the fade out is completed, we start to fade in the right div
                            $(this).parent().find("#"+idToLoad[0]).fadeIn();
                    //we reset the other buttons to default style
                    $clicked.siblings(".button").animate({
                        opacity: 0.5,
                        borderWidth: 1
                    }, 600 );
    </script>
    <!--End Tabs-->
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <style type="text/css">
    <!--
    #realtor panel {
        width: 1000px;
    body {
        background-color: #282828;
        margin: 0px;
    .style4 {color: #A1A1A1}
    -->
    </style>
    <!-- InstanceBeginEditable name="Gallery" -->
    <title>Example tour page</title>
    <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="Gallery/js/jquery.galleriffic.js"></script>
    <script type="text/javascript" src="Gallery/js/jquery.opacityrollover.js"></script>
    <script type="text/javascript">
                document.write('<style>.noscript { display: none; }</style>');
    </script>
    <link rel="stylesheet" type="text/css" href="Gallery/css/galleriffic-2.css">
    <link rel="stylesheet" type="text/css" href="Gallery/css/basic.css">
    <!-- InstanceEndEditable -->
    </head>
    <!-- InstanceBeginEditable name="body" -->
    <body>
    <div id="realtor panel"><table width="100%" border="0">
      <tr>
        <td width="18%"> <div align="center"></div></td>
        <td width="82%"> </td>
      </tr>
    </table>
    </div>
    <div id="page-wrap">
            <div id="tour-button" class="button">
                <img src="MenuFader/images/TOUR.png" alt="tour" class="button" />
            </div>
            <div id="gallery-button" class="button">
                <img src="MenuFader/images/GALLERY.png" alt="property gallery" class="button" />
            </div>
            <div id="info-button" class="button">
                <img src="MenuFader/images/INFO.png" alt="info" class="button" />
            </div>
            <div id="specs-button" class="button">
                <img src="MenuFader/images/SPECS.png" alt="specs" class="button" />
            </div>
            <div class="clear"></div>
      <div id="contents">
        <div id="tour">
          <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','1270','height','443','src','swf files/Tudor Arms interative floor plan','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','swf files/Tudor Arms interative floor plan' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1270" height="443">
            <param name="movie" value="swf files/Tudor Arms interative floor plan.swf" />
            <param name="quality" value="high" />
            <embed src="swf files/Tudor Arms interative floor plan.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1270" height="443"></embed>
          </object></noscript>
        </div>
        <div id="property gallery">
             <div id="container">
                    <div id="gallery" class="content">
                        <div id="controls" class="controls"></div>
                        <div class="slideshow-container">
                            <div id="slideshow" class="slideshow"></div>
                        </div>
                    </div>
                    <div id="thumbs" class="navigation">
                        <ul class="thumbs noscript">
                            <li>
                                <a class="thumb" href="Gallery/images/example/apt entrance1.jpg">
                                <img src="Gallery/images/example/Tudor thumbs/apt face1.jpg" alt="apt entrance1" />
                                </a>
                           </li>
                          <li>
                                <a class="thumb" href="Gallery/images/example/apt entrance2.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/apt face2.jpg" alt="apt entrance2" />
                                </a>
                          </li>
                          <li>
                                 <a class="thumb" href="Gallery/images/example/apt entrance3.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/apt face3.jpg" alt="apt entrance3" />
                              </a>
                          </li>   
                            <li>
                                 <a class="thumb" href="Gallery/images/example/apt sign.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/apt sign.jpg"  alt="apt sign" />
                              </a>
                          </li>
                          <li>
                                 <a class="thumb" href="Gallery/images/example/entryway1.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/entry.jpg" alt="entry" />
                              </a>
                          </li>
                            <li>
                                 <a class="thumb" href="Gallery/images/example/living room1.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/living1.jpg"  alt="living1" />
                              </a>
                          </li>
                           <li>
                                 <a class="thumb" href="Gallery/images/example/living room2.jpg" >
                                 <img src="Gallery/images/example/Tudor thumbs/living2.jpg" alt="living3" />
                              </a>
                          </li>
                            <li>
                                 <a class="thumb" href="Gallery/images/example/living room3.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/living3.jpg"  alt="living3" />
                              </a>
                          </li>
                          <li>
                                 <a class="thumb" href="Gallery/images/example/dining1.jpg" >
                                 <img src="Gallery/images/example/Tudor thumbs/dining1.jpg"  alt="dining1" />
                              </a>
                          </li>
                            <li>
                                 <a class="thumb" href="Gallery/images/example/Dining2.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/dining2.jpg"  alt="dining2" />
                              </a>
                          </li>
                          <li>
                                 <a class="thumb" href="Gallery/images/example/dining3.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/dining3.jpg" alt="dining3" />
                              </a>
                          </li>
                            <li>
                                 <a class="thumb" href="Gallery/images/example/Kitchen1.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/kitchen1.jpg"  alt="kitchen1" />
                              </a>
                          </li>
                          <li>
                                 <a class="thumb" href="Gallery/images/example/Kitchen2.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/kitchen2.jpg" alt="kitchen2" />
                              </a>
                          </li>
                            <li>
                                 <a class="thumb" href="Gallery/images/example/bedroom1.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/bed1.jpg"  alt="bed1" />
                              </a>
                          </li>
                           <li>
                                 <a class="thumb" href="Gallery/images/example/bedroom2.jpg">
                                <img src="Gallery/images/example/Tudor thumbs/bed2.jpg"  alt="bed2" />
                              </a>
                          </li>
                            <li>
                                 <a class="thumb" href="Gallery/images/example/bedroom3.jpg" >
                                <img src="Gallery/images/example/Tudor thumbs/bed3.jpg"  alt="bed3" />
                              </a>
                          </li>
                            <li>
                                 <a class="thumb" href="Gallery/images/example/bathroom.jpg">
                                <img src="Gallery/images/example/Tudor thumbs/bath.jpg"  alt="bath" />
                              </a>
                            </li>
                        </ul>
                    </div>
                <div style="clear: both;"></div>
            </div>
        </div>
        <div id="info">
            <p class="style4">Content for info</p>
        </div>
        <div id="specs">
            <p class="style4">This content is for specs.</p>
        </div>
      </div>
    </div>
    <!--script for gallery-->
    <script type="text/javascript">
                jQuery(document).ready(function($) {
                    // We only want these styles applied when javascript is enabled
                    $('div.navigation').css({'width' : '400px', 'float' : 'left'});
                    $('div.content').css('display', 'block');
                    // Initially set opacity on thumbs and add
                    // additional styling for hover effect on thumbs
                    var onMouseOutOpacity = 0.67;
                    $('#thumbs ul.thumbs li').opacityrollover({
                        mouseOutOpacity:   onMouseOutOpacity,
                        mouseOverOpacity:  1.0,
                        fadeSpeed:         'fast',
                        exemptionSelector: '.selected'
                    // Initialize Advanced Galleriffic Gallery
                    var gallery = $('#thumbs').galleriffic({
                        delay:                     2500,
                        numThumbs:                 15,
                        preloadAhead:              10,
                        enableTopPager:            true,
                        enableBottomPager:         true,
                        maxPagesToShow:            7,
                        imageContainerSel:         '#slideshow',
                        controlsContainerSel:      '#controls',
                        captionContainerSel:       '#caption',
                        loadingContainerSel:       '#loading',
                        renderSSControls:          true,
                        renderNavControls:         true,
                        playLinkText:              'Play Slideshow',
                        pauseLinkText:             'Pause Slideshow',
                        prevLinkText:              '&lsaquo; Previous Photo',
                        nextLinkText:              'Next Photo &rsaquo;',
                        nextPageLinkText:          'Next &rsaquo;',
                        prevPageLinkText:          '&lsaquo; Prev',
                        enableHistory:             false,
                        autoStart:                 false,
                        syncTransitions:           true,
                        defaultTransitionDuration: 900,
                        onSlideChange:             function(prevIndex, nextIndex) {
                            // 'this' refers to the gallery, which is an extension of $('#thumbs')
                            this.find('ul.thumbs').children()
                                .eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end()
                                .eq(nextIndex).fadeTo('fast', 1.0);
                        onPageTransitionOut:       function(callback) {
                            this.fadeTo('fast', 0.0, callback);
                        onPageTransitionIn:        function() {
                            this.fadeTo('fast', 1.0);
    </script>  
    </body>
    <!-- InstanceEndEditable -->
    <!-- InstanceEnd --></html>

    Sure thing:
    http://www.acresllc.net/TA501001.html

  • Making javascript partially editable in template

    Hello,
    I have a template with a bunch of javascript and I want to define just part of it as an editable region. No matter what my selection is, however, when I select Insert -> Template Objects -> Editable Region, it will make all the javascript (in <head>) editable. If I move the editable region tags by hand, I get an error.
    Is this the expected behavior? Is there any way to make just part of the javascript editable?
    Thanks.

    Is this the expected behavior?
    Yes.
    Is there any way to make just part of the javascript editable?
    No.  It's all or nothing.  Everything between the <script> tags is considered a single entity.  You can't break it apart with Editable regions.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • I have a basic applet method timing problem with Firefox (and Chrome), not IE nor Opera. Works if JavaScript issues windows.alert() prior, fails otherwise.

    I have an applet method, which is invoked from a JavaScript function, that is triggered by the window.onload event. The problem seems to center in the loading of the applet and its methods.
    If I step through the 3 applet acceptance prompts (I chose to use a down-level Java), the applet method is never invoked, nor is an exception raised. How this happens is beyond my understanding.
    As additional information, the Init(), start(), and "desired" Java methods all use the synchronized keyword. This is an attempt to minimize the exposure to a multi-thread environment.
    If I issue a message from JavaScript (via window.alert()) PRIOR to invoking the method, I can get the desired results in special circumstances:
    1) When the alert is presented, Firefox also prompts, SIMULTANEOUSLY, to block/continue the applet (the first of the 3 applet acceptance prompts). I can accept that these are separate threads.
    2a) If I walk through the 3 applet acceptance prompts FIRST, and then hit the OK button on the alert message SECOND, I get the desired results, my applet method executes, and all is well (other than the fact that I would prefer not to have the alert in place at all).
    2b) If I hit the OK button on the alert message FIRST, and then walk through the 3 applet acceptance prompts SECOND, I get the same results as when the page loads WITHOUT the alert, which is the applet method is never invoked, nor is an exception raised. Weird, huh?
    The above problem only occurs when the browser and the applet's URL are loaded for the first time.
    Subsequent invocations (after the page & applet has been loaded initially) do not have the failing symptoms.
    It is my understanding that IE and Firefox (and Chrome and Opera, for that matter) each use the same implementation of JavaScript provided by Microsoft. Please correct me if this information is inaccurate.
    The failing page and it's applet are proprietary; I cannot provide the Internet URL, nor the Java or JavaScript source, to aid in your analysis.

    I can speak to the source code, but have no access to it.
    The current process/thread that invokes an applet method must check to see that the applet is not currently being loaded by another process/thread. If it is being loaded, the current process/thread should block until the load is complete, THEN attempt to invoke the applet method.
    Please forward my concern to a knowledgable developer. The nature of the problem, once identified, can be addressed in a very straightforward manner.

  • Generating a Report from a Servlet in a new Browser using javascript:

    Hi, folks,
    I'm facing an intersting problem:
    I have the servlet below that generates a new browser with a click of a button.
    But if the parameter of the function gera(), have the caracter ' (pics), for example:
    gera( '<img src='name'>' ), the function doesn't work.
    I need to solve that with some urgent...
    Thanks,
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class TesteRel extends HttpServlet {
         public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
    StringBuffer ret = new StringBuffer();
    res.setContentType( "text/plain" );
    PrintWriter out = res.getWriter();
    ret.append( "<html>" );
    ret.append( "<head>" );
    ret.append( "<script>" );
    ret.append( " function gera( text ) {" );
    ret.append( " rel = window.open('toolbar=1, location=0, directories=0, status=1, resizable=0, screenx=0, screeny=0, left=0, top=0, width=970, height=600');" );
    ret.append( " rel.document.open();" );
    ret.append( " rel.document.write('<html><body>');" );
    ret.append( " rel.document.write( texto ) ; ");
    ret.append( " rel.document.write('</body></html>');" );
    ret.append( " rel.document.close();" );
    ret.append( " rel.focus();" );
    ret.append( " }" );
    ret.append( "</script>" );
    ret.append( "</head>" );
              ret.append( "<body>" );
              ret.append( " <h1> Testing an function in javascript that shows an Report in a new Browser:</h1> " );
              ret.append( "<form>" );
              ret.append( " <input type='button' value='Type 3 to close' onclick='javascript:gera( '<img src='bradesco.gif'><br><h1>teste</h1>' ) ;'>" );
              ret.append( "</form>" );
              ret.append( "</body></html>" );
              out.write( ret.toString() );
              out.close();
    }

    You can mix " and ' in javascript provided they are paired in the correct order.
    so try
    gera('<img src="name">')
    Use the escape character \" when including or outputting double quotes from java.

  • Javascript future in Webdynpro (JAVA and ABAP)

    Hi WebDyn Pro's,
    I see many sophisticated capabilities enabled inside Webdynpro for JAVA from use of Javascript.  Further, in many cases, Javascript provides the only solution for the requirements!
    From this forum, I think I hear that Javascript capabilities may be disallowed in future WebDynpro releases by SAP. 
    I have 3 questions related to this:
    1. Why would SAP want to disallow usage of Javascript inside WebDynpro applications?  What is the harm?
    2. Does SAP think that customers should be able to provide these same capabilities without use of Javascript?
    3. Will this same Javascript limitation exist in WebDynpro for ABAP?
    Thanks,
    Kevin

    "Many sophesticated capabilities enabled inside Webdynpro for JAVA from use of Javascript." - that is true
    1. It is to have a standard for development inside, and outside SAP. Otherwise developers will use ... who knows what they will develop... and there have been quality problems in projects that SAP has to deliver - SAP has 30,000 employees, any of whome can develop in their free time. With the current framework, all these issues have been taken into consideration.
    2. SAP and the Webdynpro development team in Walldorf will continue to enhance the webdynpro framework in the forseeable future. There is an alternative if you want to use Javascript. Please use Java Dyn Pages for unlimited java script coding. This can be seen in Portal Development Manual. http://help.sap.com/saphelp_nw04/helpdata/en/fd/01f34026d70b06e10000000a155106/content.htm
    3. Yes it will apply in ABAP. WebDynpro is the common framework that is used for both ABAP and Java. It Java/ABAP independent "so" to say. But it works better with Java right now than ABAP.
    Sumit.

  • How to pass _ti value to javascript's window in Destination URI of Button

    How to pass _ti value to javascript's window in personalization's Destination URI of  a Button.
    In Self-Service HR, under my benefit's final confirmation page, I added a new button,
    when clicked would do a javascript alert saying "You have successfully completed your 2008 Benefit Enrollment Process". After clicking ok button, it takes to a printable page.
    Here is my code in the Destination URI field
    javascript:onClick=alert('You have successfully completed your 2008 Benefit Enrollment Process'); window.location='OA.jsp?page=/oracle/apps/ben/selfservice/enrollment/webui/EnrlConfPG&retainAM=Y&OARF=printable';
    The alert works but after clicking ok, I get error.
    Looks like it is expecting ti value in the URL and if I pass ti value like this, it works
    window.location='OA.jsp?page=/oracle/apps/ben/selfservice/enrollment/webui/EnrlConfPG&retainAM=Y&OARF=printable&_ti=800699419'
    But where do I get the real ti value? instead of hard-coded value, as ti is not constant and it changes for each login or session
    ERROR was:
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:597)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:98)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.ben.selfservice.enrollment.webui.ConfirmationCO.processRequest(ConfirmationCO.java:158)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:98)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at oracle.apps.ben.selfservice.enrollment.webui.ConfirmationCO.processRequest(ConfirmationCO.java:158)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:98)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    Please help!
    Thanks

    Burkepm,
    Two things:
    1)Don't use .showModalDialog api of MSDN library, because its only applicable to modal dialog pages in IE.This api won't work on any other browser. Moreover,u will need to add
    < base target="_self " />
    under <head> tag of pop up page. This is required because imodal window api of javascript provided in MSDN would not be able to recognize its parent window with out this.
    So,its not possible to close the pop up window and submit data to the base page form by submitting the page when we close the pop up.
    You can OAF js function for openeing the pop up window.
    2)Secondly, there is way to invoke js pop window function without setting profiles I have mentioned in my blog.This is basically through bound values, for ehich url is genaradted dybnamically, so there is no MAC key url validation.
    Here is the code u need to use this code in process request.:
    import oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean;
    import oracle.apps.fnd.framework.webui.OABoundValueEmbedURL;
    OAButtonBean btn = (OAButtonBean)webBean.findChildRecursive("<button item id>");
    String page= "/xxx/oracle/apps/XXX/abc/webui/xxxPg&retainAM=Y";
    String destURL = APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP + "?"+ OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT+ "=" + page;
    OABoundValueEmbedURL jsBound = new OABoundValueEmbedURL(btn,"openWindow(self, '", destURL, "' , 'longTipWin', {width:"+900+", height:"+500+"}, true); return false;");
    btn.setAttributeValue(oracle.cabo.ui.UIConstants.ON_CLICK_ATTR, jsBound);
    I hope this helps.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Randomizer help (javascript)

    I am using iweb to create a website to conduct an experiment for a class. I need to link the first page to one of two different pages at random, so as my participants are equally subjected to both experimental conditions. I have tried using the following javascript: <script type="text/javascript" language="JavaScript">
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! <a class="jive-link-external-small" href="http://javascript.internet.com">http://javascript.internet.com</a> -->
    <!-- Begin
    function go_to(url) {
    window.location=url;
    function rand_link() {
    var a;
    a = 1+Math.round(Math.random()*3); ? // a = random number between 1-2
    if (a==1) goto("http://web.me.com/clarajsimpson/Claras_BiologySurvey/Ants.html");
    if (a==2) go_to(" <a class="jive-link-external-small" href="http://web.me.com/clarajsimpson/ClarasBiology_Survey/Sugar_Gliders.html">http://web.me.com/clarajsimpson/Claras_Biolog y_Survey/SugarGliders.html</a>");
    // End -->
    </script>
    <center>
    <form name="myForm"><input type="button" name="myButton" value="click here"></form>
    </center>
    <center>Free JavaScripts provided
    by The JavaScript Source</center>
    however this only creates a small window in the middle of the screen that cannot be made any bigger. Is there any other way I could do this? Thanks, Clara

    however this only creates a small window in the middle of the screen that cannot be made any bigger
    Drag the handles of the Snippet after clicking Apply. Or embed the code in a <div> with style="width: nnpx; height: nnpx;" and other attributes.
    Besides that, I doubt the code will work. The form has no code to trigger the JavaScript and if it has the page will be displayed in the HTML Snippet. Try this :
    parent.window.location=url;
    You may have to learn HTML/CSS/JavaScript.
    But that is not an iWeb issue.
    Message was edited by: Wyodor

  • Customising Ajax Components

    Hello,
    I am trying to customise the ajax auto complete componet provided in Java Studio Creator 2.
    I renamed the ajax-component jar file tio .zip, unzipped the file, modified a java script function in the jar file and re zipped the file and renamed it to a .jar file again.
    However the component does not work anymore complaining that the class required for the jar file could not be found. Meaning that my jar file is not valid. If I put the original unmodified copy of the jar file again, it works fine again.
    All I have done is added a alert message in one of the javascript functions so there is nothing wrong in the javascript. The issue is in making the jar file again. How can I modify the javascripts provided in the ajax component jar file?

    Hello,
    I am trying to customise the ajax auto complete componet provided in Java Studio Creator 2.
    I renamed the ajax-component jar file tio .zip, unzipped the file, modified a java script function in the jar file and re zipped the file and renamed it to a .jar file again.
    However the component does not work anymore complaining that the class required for the jar file could not be found. Meaning that my jar file is not valid. If I put the original unmodified copy of the jar file again, it works fine again.
    All I have done is added a alert message in one of the javascript functions so there is nothing wrong in the javascript. The issue is in making the jar file again. How can I modify the javascripts provided in the ajax component jar file?

  • Mozilla is lying when it says Java Script is unnecessary for the avcrage user.Java script is not working in Firefox 7.01

    I want to roll back to an earlier version Firefox that works with Java Script how can I do this. Where I can download an earlier version? You know what the problems are. I am NOT going to list them. Own up to your errors. You made an incorrect conscious decision to break with Java compatibility.

    Mozilla is not lying about average users, but it shows contempt for experienced users, or those that want to be able to get the more out of their browser, or use it for work or school.
    Java and JavaScript are not the same thing. I trust you are referring to JavaScript problems and a lot of collateral damage associated with the mess.
    # Prohibition on Webpages being able to resize or move windows with JavaScript
    # Prohibition on Users being able to move or resize windows with JavaScript
    # Ignoring the fact that there were already user controls in Tools > Options > Content > Javascript > Advanced
    # Making JavaScript inoperable from Location bar as a command, or in a keyword shortcut that involves moving resizing windows
    # Destroying use of AwesomeBar search, Bookmark searching for bookmarks containing JavaScript, making internal searches very unreliable
    Firefox 8 comes out November the 8th and it nor later versions show any reversal of this mess.
    Firefox 3.6.* should remain safe to use for some time, as corporate users will not put up with nonsense when they support thousands of users.
    For those that really need an older version of Firefox [ftp://ftp.mozilla.org/pub/firefox/releases releases] (all releases, including 4.0.1 and 5.0) or with the latest of [http://www.mozilla.com/en-US/firefox/all-older.html Firefox 3]. Mac OSX 10.4 users can't upgrade to 4.0.1
    When you reinstall a different version, at the end of the install, don't let the install start Firefox for you, rather exit, and then start Firefox in the normal manner to avoid inadvertently creating and using a new profile without your bookmarks, etc.
    What would be better would be to use multiple versions / profiles at the same time, which is certainly beyond average users, particularly when Mozilla has historically and purposely made such things difficult. But if interested see [http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox Using multiple profiles - Firefox - MozillaZine Knowledge Base]

  • Macbook Will Not Boot After Updating Leopard

    I just reinstalled Leopard after having some trouble with my partition tables, and everything ran smoothly and worked fine. After the install I let software update update everything including the 10.5.5 update. It prompted me to reboot, and when I did it got to the grey Apple screen and the thing spun for about 30 seconds before it restarted and did it again. This happened a few times and then I booted from a Leopard disk to look at disk permissions and they seem to be fine. Anyone have any idea why this is happening or how I would fix it?
    Thanks in advance, hope to get this sorted out quickly, I thought I had finally gotten my computer working fine again when I reinstalled Leopard. :P

    At start up, press 'C' to boot directly from a CD/DVD. Or, you can press 'Option' and you should get a list of bootable selections (CD/DVD, external hardrives) that you can boot from - assuming you have something that IS bootable.
    I recently had a problem and ended up reinstalling my OS (via TimeMachine). I also confirmed that you can boot from your original OSX install disk. As part of this process I also discovered I could NOT boot directly FROM the AppleCare provided TechTools Deluxe disk. Supposedly you can boot INTO that disk via a restart but that seems kind of silly to me.
    However, if you have signed up for AppleCare and go to the Apple Support web site, you can download TechTools Deluxe and it can be made bootable by burning the .dmg file via Apple Disk Utilities. I don't understand Apple logic of not making the provided AppleCare TechTools Deluxe disk bootable.

  • Reports output as seperate HTML

    HI all,
    I have a situation I am using reports 6i and XP
    I have a report with 60 pages
    What i need to do is i need to generate report as each page as one html and save it some where
    For example I have 60 pages I need to get output in 60 html pages or save 60 html pages
    Is it possible to do in report
    Any help is appreciated
    Thanks

    Hi
    Sorry I was wrong. In Reports 6.0 onwards, HTML page streaming ia avilable, means that you can display individual pages of your HTML/HTMLCSS report output in the browser, without having to download the entire report. From the first page of the report, you
    can navigate to any page by clicking from page to page or by entering the page number required.
    Thus, HTML page streaming gives navigation controls to the web report. In its simplest form, page streaming is very easy to implement. The parameter PAGESTREAM=YES is used.
    HTML page streaming uses a built-in JavaScript provided by Reports. To implement HTML page streaming, the default JavaScript provided can be used or your own JavaScript can be written.
    To view the built-in JavaScript:
    1. Go to the Report property palette by double clicking in the Report name in the object navigator.
    2. Choose the 'Page navigation control value' property.
    3. Click on the 'more' button; this will open the built-in JavaScript script.
    If you wish to implement your own JavaScript, this file can be updated, or your own script can be referenced by setting the 'Page navigation control type' property to file and putting the filename of your JavaScript in the
    'Page navigation control value.'
    Please refer to Reports documentation on more on Page streaming feature.
    Thanks
    Rohit

  • Dynamic HTML over PeopleSoft?

    Our college Portal site uses a Flash animation to display rotating content relevant to the current semester. My latest project involves presenting users with a static image on the Portal home page if their browser does not have Flash installed.
    After visiting Adobe's site to find a Flash-detection script, I found two versions at Kirupa's site (http://www.kirupa.com/developer/mx/detection.htm). I've used both of the sample javascripts provided on this page. One detects the presence / absence of Flash and redirects the user accordingly (to either a page with a static image, or one with a Flash animation); the other detects and then displays either a Flash animation or a static image on the same page.
    The Flash detection works, but not without issues. The first script accurately detects the presence of Flash, but doesn't display the animation. This may be because the animation is hosted on another server over https, but I doubt it, because the second script (tested with Opera 10.63 as the "non" browser, and with Firefox 3.6.13 and IE 7.0.5730 as the "with" browsers) does properly redirect the user, and the Flash does properly display for those of us with Flash installed.
    The objective is to have the replacement image appear within the context of a single page, rather than to use redirection, so a DHTML script is the desired approach. The Kirupa script uses document.write to write the object and embed tags to the HTML body; with this approach, nothing happens when I view the page in any of the abovementioned browsers. I modified the script to write to the innerText (and then to the innerHTML) of a div element that I created to display the results. Nothing happens in that case either.
    Does PeopleSoft play nice with DHTML? Is this a known issue, or am I just doing something wrong?

    Just a thought -- is the problem because PeopleSoft is cutting off the end of your script? I had that problem trying to store the jQuery javascript library in HTML object in PeopleTools. Fortunately, the part of the javascript that it was cutting off didn't affect me. Back in 2009, I wrote a post about it:
    http://psst0101.wordpress.com/2009/01/12/jquery-and-peoplesoft/
    Jim Marion's solution was to store the javascript in a message catalog instead of an HTML definition.
    http://jjmpsj.blogspot.com/2009/01/serve-thosejavascript-libraries-quickly.html
    I have also created a table dedicated to holding javascript, and I use an iScript similar to Jim Marion's to read out the javascript. The only difference is that I select the javascript text from the database in my custom table rather than reading it from the message catalog.
    Also, if you can break your javascript into multiple parts, you could place it in mutliple HTML definitions. The thing you have to think through is how you are going to migrate your code to production from the environment you are working on. HTML definitions will migrate easily. Message Catalog entries will migrate as long as you are going from database to database. I think you will have to move Pagelets manually and know for the sure the custom table idea. Just don't forget that in your go-live steps.
    Edited by: Stephen Phillips on Feb 8, 2011 5:01 AM

  • Selected state issue with Menu Module V2

    OK so I am getting an issue with Menu Module V2. I have used this before with success but this time I have hit a wall. I possed this question to BC live chat and they bugged out real quick.
    The site in construction is http://www.urbanista.com.au
    What is happening is that in the top right tools nav with the headings Home, Services, People, Contact Us using Menu Module V2. The Heading Services has a drop down and this is where the issue resides. Roll over any of these nav devices and you will see they will highlight orange. Home is already auto activating its Selcted state. Click on Contact Us and it will do the same.  Roll over and click on Services and it appears to have worked. While in Services roll over the drop down again and you will see all links have activated the Selected state. This is the issue. If you view the code of the Services UL you will see only the Services state has been alocated the Slected state. See below:
    <li id="Services" class="selected">
    <a href="/services.htm">Services</a>
    <ul>
    <li id="tools-panningdev">
    <li id="tools-housing">
    <li id="tools-urban-renewal">
    <li id="tools-project-management">
    <li id="tools-feasibility-tools">
    <li id="tools-governance-systems">
    <li id="tools-communications">
    <li id="tools-projects">
    </ul>
    </li>
    The CSS that runs the nav is as follows:
    ul.dropdown {
        font-weight: normal;
        font-family: Arial, Helvetica, sans-serif;
        font-style: normal;
        text-decoration: none;
        ul.dropdown li {
        background-color: transparent;
        color: #999;
        padding-top: 5px;
        padding-right: 10px;
        padding-bottom: 5px;
        padding-left: 10px;
        font-size: 12px;
        ul.dropdown li.hover,
        ul.dropdown li:hover {
        background-color: transparent;
        color: #FFF;
        ul.dropdown a:link,
        ul.dropdown a:visited    {
        color: #FFF;
        text-decoration: none;
        ul.dropdown a:hover        { color: #ff871f; }
        ul.dropdown a:active    {
        color: #b33b00;
        /* -- level mark -- */
        ul.dropdown ul {
        width: 150px;
        margin-top: 1px;
        background-image: url(/images/nav-transparency.png);
        background-repeat: repeat;
        color: #FFF;
        ul.dropdown ul li {
        font-weight: normal;
    ul.dropdown li.selected a {
        color: #ff871f;
    The last entry 'ul.dropdown li.selected a {color: #ff871f;}' is required in order to allocate a Slected State. Without it not Selected state is active and the links al remian white.
    I have tried all manner of combinations and additonal tags with no success. Any suggestions greatly appreciated. I have not modified the default Javascript provided by BC in the system apart from allocating the required ulTagClass as specified. The Javascript in the supplied 'container.html' is as follows:
    <script type="text/javascript" >
        // ids need to be unique per page, use different ones if you are including multiple menus in the same page
        // id of the nav tag, used above
        var divTagId = "myMenu1";
        // desired id for 1st <ul> tag
        var ulTagId = "myMenu1List";
        // desired class for 1st <ul> tag
        var ulTagClass = "dropdown dropdown-vertical";
        if ((null !== ulTagId) && ("" !== ulTagId)) {
            document.getElementById(divTagId).getElementsByTagName("ul")[0].setAttribute("id",ulTagId );
        if ((null !== ulTagClass) && ("" !== ulTagClass)) {
            document.getElementById(divTagId).getElementsByTagName("ul")[0].className = ulTagClass;
        // this will set the selected state
        if ((null !== ulTagId) && ("" !== ulTagId)) {
            catSetSelectedCSSItem(ulTagId);
    </script>
    Lastly this is one of the recomended navs by BC at the following address: http://lwis.net/free-css-drop-down-menu/
    I have used these before with success but for the life of me this has stumped me big time.

    Hi Matthew,
    Having a super quick look at the code I'd say it's because of:
    ul.dropdown li.selected a {
        color: #ff871f;
    This affects all the child elements.
    To override this down the line you could do something like:
    ul.dropdown li.selected ul li a {
        color: #fff;
    This would override the parent link color when selected.
    You could probably then also add:
    ul.dropdown li.selected ul li.selected a {
        color: #ff871f;
    For the dropdown selected states.
    That's a quick look though so don't quote me too much

  • How to hyperlink "Email this site"?

    How can I hyperlink "Email this site" on my webpage? (I have "email me" and "email [another person]" buttons done, but I can't find how the viewer can email the site to a friend.
    I can't find it in the online manual.
    http://web.mac.com/lwm2/mywebpage/Welcome.html

    No need to add the javascript in <head> element, what you need is correctly referencing parent window URL (instead widget9_markup). Copy and paste the following to you HTML Snippet:
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original: Ronnie T. Moore -->
    <!-- Web Site: The JavaScript Source -->
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->
    function initMail(form) {
    text = "Check out this page: " + parent.window.location;
    form.message.value = "Hi " + form.sendto.value + " (" + form.to.value + "):\n\n"
    + text + "\n\nYour Friend,\n" + form.sendername.value + "(" + form.senderemail.value + ")";
    return (form.to.value != "");
    </script>
    <center>
    <form name=emailform method=post action="http://cgi.freedback.com/mail.pl" target="_new" onSubmit="return initMail(this);">
    <input type=hidden name=subject value="** Check Out This Site! **">
    <input type=hidden name=message value="">
    <table>
    <tr><td colspan=2 align=center>Tell a friend about this page!</td></tr>
    <tr><td>Their Name:</td><td><input type=text name=sendto></td></tr>
    <tr><td>Their Email:</td><td><input type=text name=to></td></tr>
    <tr><td>Your Name:</td><td><input type=text name=sendername></td></tr>
    <tr><td>Your Email:</td><td><input type=text name=senderemail></td></tr>
    <tr><td colspan=2 align=center><input type=submit value="Ok!"></td></tr>
    </table>
    </form>
    </center>
    <p><center>
    <font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
    by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
    </center><p>

Maybe you are looking for

  • Need to make a print button in indesign

    hi I need to make a print button in indesign for a brochure. I have made several buttons by using the create button toll but there is no 'print' option in the list of behaviours. can anyone help me with this please. The final output is a pdf and the

  • Adapter Module for receiver IDOC adapter?

    Hi, I have a scenario where i need to do some custom logging in the receiver adapters. For all receiver file adapters, i have written an adapter module which fulfills this custom requirement but how will i do this in the receiver IDOC adapter as its

  • PDF manipulation with CF8

    I usually post questions here, but I wanted to post something cool about CF8 for a change... I was trying to utilize our newly acquired CF8 for dynamically generating invoices from a flex program I wrote. Creating a form and filling in the fields was

  • Try signing into iMessage and FT and I get "an error occurred during activation, try again"

    I get text messages from non iphone users but when someone with an iphone send s me a message, I don't get it. So I checked my settings under imessage and it says I'm not logged in. When I try to login, it says, "An error occurred during activation,

  • Page from a Template - Nav Bars Not Coming Across

    Have Dreamweaver CS4 on XP I have a template that has an absolute placed div for the header box...and just below that a 50 pixel absolute placement div to hold the navigation bar. The nav bars have 8 different buttons and several sub menus. They look