How to use Java Script in jspx pages of ADF Faces?

I wanna invoke an Applet in a jspx using Java Script...
How can I do this? :)

check my other post..that's to know how to use js in jsf pages...not to invoke applet..
Re: how to Add inline JavaScript to a Page 11G

Similar Messages

  • How to use java script when popups are blocked in browser

    How to use java script when popups are blocked in browser

    Not. When people install a popup blocker they don't WANT popups, so stop trying to force them down their throats.

  • How to use Java Script in Oracle Forms 10g

    Hello,
    Appreciate if anyone could help me using Java Script in Oracle Forms 10g?
    Thanks
    GM

    Thank you for your reply. I was reading on the metalink that we could use the to call the java script from oracle Forms 10g (Doc ID 265863.1)
    Example:
    WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.oracle.com","","location=no,toolbar=no,menubar=no,status=no,"));self.close()','_blank');
    I tried it but it did not open the any window as it claims. Am I missing anything? Is there any IE related setting which I need to modify for the above to work?
    Regards
    GM

  • How to use java script in jsf?

    my requirement is
    i have to pass the id of the component to the java script function .that component is inside data table.
    how to solve this problem?

    following code is the generated html code.
    see it is generating duplicate ids : check it
    this is the id repeating 3 times "helper:table1:table14:0:command5"
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
    <script>
    function showHideNavigation(item) {
    var temp = document.getElementById("plexIndex");
    taskImg = document.getElementById(item.id.substring(0, item.id.lastIndexOf(':')) + ':image'+item.id.substring(item.id.length-1));
    taskDiv = document.getElementById(item.id.substring(0, item.id.lastIndexOf(':')) + ':child_div'+item.id.substring(item.id.length-1));
              if (taskDiv.style.display == "block" ) {
                   taskDiv.rendered = "true";
                   taskDiv.style.display = "none";
    taskImg.src = "../images/arrow_collapsed.gif";
    } else {
                   taskDiv.style.display = "block";
                   taskDiv.rendered = "false";
         taskImg.src = "../images/arrow_expanded.gif";
    </script>
    <head>
    </head>
         <form id="helper" method="post" action="/datatabledemo-app/pages/WLMHome.faces" enctype="application/x-www-form-urlencoded">
         <div id="helper:div0" style="margin-left:0.3em;">
                        <a id="helper:command0" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><img id="helper:image0" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />plexes</a>
         </div>
         <div id="helper:child_div0" style="display : none">
         <table id="helper:table1" width="100%">
    <tbody>
    <tr>
    <td><span id="plexIndex" title="helper:table1:0:column1"></span><div id="helper:table1:0:div2" style="margin-left:0.9em;"><a id="helper:table1:0:command1" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><img id="helper:table1:0:image1" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" /><span id="helper:table1:0:t1">plex1</span></a></div><div id="helper:table1:0:child_div1" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><div id="helper:table1:0:div4" style="margin-left:2.1em;"><a id="helper:table1:0:command2" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><img id="helper:table1:0:image2" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />attributes</a></div><div id="helper:table1:0:child_div2" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><table id="helper:table1:table12" width="100%">
    <thead>
    <tr>
    <th scope="col"><span id="helper:table1:table12:text2" style="margin-left:2.4em;">Attribute Name</span></th>
    <th scope="col"><span style="margin-left:2.1em;">Attribute Value</span></th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><span style="margin-left:3.0em;">session_scale_1</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">session_scale_2</span></td>
    <td><span style="margin-left:3.0em;">2.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">load_scale_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">load_scale_2</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">load_limit</span></td>
    <td><span style="margin-left:3.0em;">600.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">connection_scale</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_limit_1</span></td>
    <td><span style="margin-left:3.0em;">5</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_limit_2</span></td>
    <td><span style="margin-left:3.0em;">10</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_adjustment</span></td>
    <td><span style="margin-left:3.0em;">0.10</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_scale_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_scale_2</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">known_adjustment</span></td>
    <td><span style="margin-left:3.0em;">0.05</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">known_scale_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">known_scale_2</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">normalise_scale</span></td>
    <td><span style="margin-left:3.0em;">0.00833</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">equal_delta</span></td>
    <td><span style="margin-left:3.0em;">0.0001</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_adjustment_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_adjustment_2</span></td>
    <td><span style="margin-left:3.0em;">10.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_adjustment_3</span></td>
    <td><span style="margin-left:3.0em;">100.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_adjustment_4</span></td>
    <td><span style="margin-left:3.0em;">1000.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_adjustment_5</span></td>
    <td><span style="margin-left:3.0em;">10000.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_timeout</span></td>
    <td><span style="margin-left:3.0em;">120.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">score_limit</span></td>
    <td><span style="margin-left:3.0em;">5000.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">retry_limit</span></td>
    <td><span style="margin-left:3.0em;">2</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">reselection_limit</span></td>
    <td><span style="margin-left:3.0em;">2</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">wcm_resend_timeout</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">wcm_retry_timeout</span></td>
    <td><span style="margin-left:3.0em;">10.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">wcm_retry_limit_1</span></td>
    <td><span style="margin-left:3.0em;">5</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">wcm_retry_limit_2</span></td>
    <td><span style="margin-left:3.0em;">1</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">wcm_fail_timeout</span></td>
    <td><span style="margin-left:3.0em;">600.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">autoinstall_load</span></td>
    <td><span style="margin-left:3.0em;">3.0</span></td>
    </tr>
    </tbody>
    </table>
    </div><div id="helper:table1:0:div6" style="margin-left:2.1em;"><a id="helper:table1:0:command3" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><img id="helper:table1:0:image3" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />groups</a></div><div id="helper:table1:0:child_div3" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><table id="helper:table1:table13" width="100%">
    <thead>
    <tr><th colspan="1" scope="colgroup">Group Value</th></tr>
    </thead>
    <tbody>
    <tr>
    <td><span style="margin-left:3.0em;">type1</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">type2</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">type3</span></td>
    </tr>
    </tbody>
    </table>
    </div><div id="helper:table1:0:div8" style="margin-left:2.1em;"><a id="helper:table1:0:command4" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><img id="helper:table1:0:image4" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />programs</a></div><div id="helper:table1:0:child_div4" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><table id="helper:table1:table14" width="100%">
    <tbody>
    <tr>
    <td><div id="helper:table1:table14:0:div10" style="margin-left:2.7em;"><a id="helper:table1:table14:0:command5" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><span id="program" title="helper:table1:table14:0:command5"></span><img id="helper:table1:table14:0:image5" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" /><span id="helper:table1:table14:0:t2">called1</span></a></div><div id="helper:table1:table14:0:child_div5" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><table id="helper:table1:table14:table141" width="100%">
    <thead>
    <tr>
    <th scope="col"><span style="margin-left:2.4em;">Attribute Name</span></th>
    <th scope="col"><span style="margin-left:2.1em;">Attribute Value</span></th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:0:coloumn41"></span><span style="margin-left:3.0em;">load</span></td>
    <td><span style="margin-left:3.0em;">0.25</span></td>
    </tr>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:1:coloumn41"></span><span style="margin-left:3.0em;">dynamic</span></td>
    <td><span style="margin-left:3.0em;">yes</span></td>
    </tr>
    </tbody>
    </table>
    </div></td>
    </tr>
    <tr>
    <td><div id="helper:table1:table14:1:div10" style="margin-left:2.7em;"><a id="helper:table1:table14:1:command5" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><span id="program" title="helper:table1:table14:1:command5"></span><img id="helper:table1:table14:1:image5" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" /><span id="helper:table1:table14:1:t2">called2</span></a></div><div id="helper:table1:table14:1:child_div5" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><table id="helper:table1:table14:table141" width="100%">
    <thead>
    <tr>
    <th scope="col"><span style="margin-left:2.4em;">Attribute Name</span></th>
    <th scope="col"><span style="margin-left:2.1em;">Attribute Value</span></th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:0:coloumn41"></span><span style="margin-left:3.0em;">load</span></td>
    <td><span style="margin-left:3.0em;">0.25</span></td>
    </tr>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:1:coloumn41"></span><span style="margin-left:3.0em;">dynamic</span></td>
    <td><span style="margin-left:3.0em;">yes</span></td>
    </tr>
    </tbody>
    </table>
    </div></td>
    </tr>
    <tr>
    <td><div id="helper:table1:table14:2:div10" style="margin-left:2.7em;"><a id="helper:table1:table14:2:command5" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><span id="program" title="helper:table1:table14:2:command5"></span><img id="helper:table1:table14:2:image5" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" /><span id="helper:table1:table14:2:t2">called3</span></a></div><div id="helper:table1:table14:2:child_div5" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><table id="helper:table1:table14:table141" width="100%">
    <thead>
    <tr>
    <th scope="col"><span style="margin-left:2.4em;">Attribute Name</span></th>
    <th scope="col"><span style="margin-left:2.1em;">Attribute Value</span></th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:0:coloumn41"></span><span style="margin-left:3.0em;">load</span></td>
    <td><span style="margin-left:3.0em;">0.25</span></td>
    </tr>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:1:coloumn41"></span><span style="margin-left:3.0em;">dynamic</span></td>
    <td><span style="margin-left:3.0em;">yes</span></td>
    </tr>
    </tbody>
    </table>
    </div></td>
    </tr>
    </tbody>
    </table>
    </div><div id="helper:table1:0:div12" style="margin-left:2.1em;"><a id="helper:table1:0:command6" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><img id="helper:table1:0:image6" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />transactions</a></div><div id="helper:table1:0:child_div6" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><table id="helper:table1:table15" width="100%">
    <tbody>
    <tr>
    <td><span style="margin-left:3.0em;">TRN1</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">TRN2</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">TRN3</span></td>
    </tr>
    </tbody>
    </table>
    </div><div id="helper:table1:0:div14" style="margin-left:2.1em;"><a id="helper:table1:0:command7" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><img id="helper:table1:0:image7" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />nodes</a></div><div id="helper:table1:0:child_div7" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><table id="helper:table1:table151" width="100%">
    <tbody>
    <tr>
    <td><span style="margin-left:3.0em;">argon.in.ibm.com</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">alina.in.ibm.com</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">ampere.in.ibm.com</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">txdt32.in.ibm.com</span></td>
    </tr>
    </tbody>
    </table>
    </div></div></td>
    </tr>
    <tr>
    <td><span id="plexIndex" title="helper:table1:1:column1"></span><div id="helper:table1:1:div2" style="margin-left:0.9em;"><a id="helper:table1:1:command1" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><img id="helper:table1:1:image1" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" /><span id="helper:table1:1:t1">plex2</span></a></div><div id="helper:table1:1:child_div1" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><div id="helper:table1:1:div4" style="margin-left:2.1em;"><a id="helper:table1:1:command2" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><img id="helper:table1:1:image2" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />attributes</a></div><div id="helper:table1:1:child_div2" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><table id="helper:table1:table12" width="100%">
    <thead>
    <tr>
    <th scope="col"><span id="helper:table1:table12:text2" style="margin-left:2.4em;">Attribute Name</span></th>
    <th scope="col"><span style="margin-left:2.1em;">Attribute Value</span></th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><span style="margin-left:3.0em;">session_scale_1</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">session_scale_2</span></td>
    <td><span style="margin-left:3.0em;">2.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">load_scale_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">load_scale_2</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">load_limit</span></td>
    <td><span style="margin-left:3.0em;">600.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">connection_scale</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_limit_1</span></td>
    <td><span style="margin-left:3.0em;">5</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_limit_2</span></td>
    <td><span style="margin-left:3.0em;">10</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_adjustment</span></td>
    <td><span style="margin-left:3.0em;">0.10</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_scale_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_scale_2</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">known_adjustment</span></td>
    <td><span style="margin-left:3.0em;">0.05</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">known_scale_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">known_scale_2</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">normalise_scale</span></td>
    <td><span style="margin-left:3.0em;">0.00833</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">equal_delta</span></td>
    <td><span style="margin-left:3.0em;">0.0001</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_adjustment_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_adjustment_2</span></td>
    <td><span style="margin-left:3.0em;">10.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_adjustment_3</span></td>
    <td><span style="margin-left:3.0em;">100.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_adjustment_4</span></td>
    <td><span style="margin-left:3.0em;">1000.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_adjustment_5</span></td>
    <td><span style="margin-left:3.0em;">10000.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">health_timeout</span></td>
    <td><span style="margin-left:3.0em;">120.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">score_limit</span></td>
    <td><span style="margin-left:3.0em;">5000.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">retry_limit</span></td>
    <td><span style="margin-left:3.0em;">2</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">reselection_limit</span></td>
    <td><span style="margin-left:3.0em;">2</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">wcm_resend_timeout</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">wcm_retry_timeout</span></td>
    <td><span style="margin-left:3.0em;">10.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">wcm_retry_limit_1</span></td>
    <td><span style="margin-left:3.0em;">5</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">wcm_retry_limit_2</span></td>
    <td><span style="margin-left:3.0em;">1</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">wcm_fail_timeout</span></td>
    <td><span style="margin-left:3.0em;">600.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">autoinstall_load</span></td>
    <td><span style="margin-left:3.0em;">3.0</span></td>
    </tr>
    </tbody>
    </table>
    </div><div id="helper:table1:1:div6" style="margin-left:2.1em;"><a id="helper:table1:1:command3" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><img id="helper:table1:1:image3" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />groups</a></div><div id="helper:table1:1:child_div3" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><table id="helper:table1:table13" width="100%">
    <thead>
    <tr><th colspan="1" scope="colgroup">Group Value</th></tr>
    </thead>
    <tbody>
    <tr>
    <td><span style="margin-left:3.0em;">type1</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">type2</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">type3</span></td>
    </tr>
    </tbody>
    </table>
    </div><div id="helper:table1:1:div8" style="margin-left:2.1em;"><a id="helper:table1:1:command4" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><img id="helper:table1:1:image4" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />programs</a></div><div id="helper:table1:1:child_div4" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><table id="helper:table1:table14" width="100%">
    <tbody>
    <tr>
    <td><div id="helper:table1:table14:0:div10" style="margin-left:2.7em;"><a id="helper:table1:table14:0:command5" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><span id="program" title="helper:table1:table14:0:command5"></span><img id="helper:table1:table14:0:image5" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" /><span id="helper:table1:table14:0:t2">called1</span></a></div><div id="helper:table1:table14:0:child_div5" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><table id="helper:table1:table14:table141" width="100%">
    <thead>
    <tr>
    <th scope="col"><span style="margin-left:2.4em;">Attribute Name</span></th>
    <th scope="col"><span style="margin-left:2.1em;">Attribute Value</span></th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:0:coloumn41"></span><span style="margin-left:3.0em;">load</span></td>
    <td><span style="margin-left:3.0em;">0.25</span></td>
    </tr>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:1:coloumn41"></span><span style="margin-left:3.0em;">dynamic</span></td>
    <td><span style="margin-left:3.0em;">yes</span></td>
    </tr>
    </tbody>
    </table>
    </div></td>
    </tr>
    <tr>
    <td><div id="helper:table1:table14:1:div10" style="margin-left:2.7em;"><a id="helper:table1:table14:1:command5" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><span id="program" title="helper:table1:table14:1:command5"></span><img id="helper:table1:table14:1:image5" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" /><span id="helper:table1:table14:1:t2">called2</span></a></div><div id="helper:table1:table14:1:child_div5" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><table id="helper:table1:table14:table141" width="100%">
    <thead>
    <tr>
    <th scope="col"><span style="margin-left:2.4em;">Attribute Name</span></th>
    <th scope="col"><span style="margin-left:2.1em;">Attribute Value</span></th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:0:coloumn41"></span><span style="margin-left:3.0em;">load</span></td>
    <td><span style="margin-left:3.0em;">0.25</span></td>
    </tr>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:1:coloumn41"></span><span style="margin-left:3.0em;">dynamic</span></td>
    <td><span style="margin-left:3.0em;">yes</span></td>
    </tr>
    </tbody>
    </table>
    </div></td>
    </tr>
    <tr>
    <td><div id="helper:table1:table14:2:div10" style="margin-left:2.7em;"><a id="helper:table1:table14:2:command5" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><span id="program" title="helper:table1:table14:2:command5"></span><img id="helper:table1:table14:2:image5" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" /><span id="helper:table1:table14:2:t2">called3</span></a></div><div id="helper:table1:table14:2:child_div5" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><table id="helper:table1:table14:table141" width="100%">
    <thead>
    <tr>
    <th scope="col"><span style="margin-left:2.4em;">Attribute Name</span></th>
    <th scope="col"><span style="margin-left:2.1em;">Attribute Value</span></th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:0:coloumn41"></span><span style="margin-left:3.0em;">load</span></td>
    <td><span style="margin-left:3.0em;">0.25</span></td>
    </tr>
    <tr>
    <td><span id="program" title="helper:table1:table14:table141:1:coloumn41"></span><span style="margin-left:3.0em;">dynamic</span></td>
    <td><span style="margin-left:3.0em;">yes</span></td>
    </tr>
    </tbody>
    </table>
    </div></td>
    </tr>
    </tbody>
    </table>
    </div><div id="helper:table1:1:div12" style="margin-left:2.1em;"><a id="helper:table1:1:command6" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><img id="helper:table1:1:image6" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />transactions</a></div><div id="helper:table1:1:child_div6" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><table id="helper:table1:table15" width="100%">
    <tbody>
    <tr>
    <td><span style="margin-left:3.0em;">TRN1</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">TRN2</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">TRN3</span></td>
    </tr>
    </tbody>
    </table>
    </div><div id="helper:table1:1:div14" style="margin-left:2.1em;"><a id="helper:table1:1:command7" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><img id="helper:table1:1:image7" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />nodes</a></div><div id="helper:table1:1:child_div7" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><table id="helper:table1:table151" width="100%">
    <tbody>
    <tr>
    <td><span style="margin-left:3.0em;">argon.in.ibm.com</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">alina.in.ibm.com</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">ampere.in.ibm.com</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">txdt32.in.ibm.com</span></td>
    </tr>
    </tbody>
    </table>
    </div></div></td>
    </tr>
    <tr>
    <td><span id="plexIndex" title="helper:table1:2:column1"></span><div id="helper:table1:2:div2" style="margin-left:0.9em;"><a id="helper:table1:2:command1" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><img id="helper:table1:2:image1" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" /><span id="helper:table1:2:t1">plex3</span></a></div><div id="helper:table1:2:child_div1" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><div id="helper:table1:2:div4" style="margin-left:2.1em;"><a id="helper:table1:2:command2" href="#" onclick="javascript:showHideNavigation(this)" style="color: rgb(0, 0, 0); text-decoration: none; display : block;"><img id="helper:table1:2:image2" src="../images/arrow_collapsed.gif" alt="Expand / Collapse" style="border : 0;" />attributes</a></div><div id="helper:table1:2:child_div2" style="color: rgb(0, 0, 0); text-decoration: none; display : block"><table id="helper:table1:table12" width="100%">
    <thead>
    <tr>
    <th scope="col"><span id="helper:table1:table12:text2" style="margin-left:2.4em;">Attribute Name</span></th>
    <th scope="col"><span style="margin-left:2.1em;">Attribute Value</span></th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><span style="margin-left:3.0em;">session_scale_1</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">session_scale_2</span></td>
    <td><span style="margin-left:3.0em;">2.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">load_scale_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">load_scale_2</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">load_limit</span></td>
    <td><span style="margin-left:3.0em;">600.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">connection_scale</span></td>
    <td><span style="margin-left:3.0em;">1.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_limit_1</span></td>
    <td><span style="margin-left:3.0em;">5</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_limit_2</span></td>
    <td><span style="margin-left:3.0em;">10</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_adjustment</span></td>
    <td><span style="margin-left:3.0em;">0.10</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_scale_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">same_scale_2</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">known_adjustment</span></td>
    <td><span style="margin-left:3.0em;">0.05</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">known_scale_1</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">known_scale_2</span></td>
    <td><span style="margin-left:3.0em;">0.0</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">normalise_scale</span></td>
    <td><span style="margin-left:3.0em;">0.00833</span></td>
    </tr>
    <tr>
    <td><span style="margin-left:3.0em;">equal_delta</span></td>
    <td><span style="margin-left:3.0em;">0.0

  • How to use java script on click of JSF TAB

    Hello Guies...
    I want to use some java script on the click of JSF Tab.
    Any suggestion will be appriciated....
    Regard
    Roshan

    Put it in the 'onclick' attribute?
    What is that "JSF Tab" you're talking about? If you're talking about a tabbed panel, please also specify the name of the component. There are lot of JSF implementations for tabbed panels, for example Tomahawk, Icefaces, ADF, IBM, Odyssey, etc.

  • How to use java script in  sun stdio crator  jsf

    in sun stdio creator
    Checkbox cb;
    cb=new checkbox();
    ch. markforDeletion.setOnChange("submit()");
    it is giving identifier excepted .
    how to use setOnChange and other functio
    with regards
    shannu sarma

    in sun stdio creator
    Checkbox cb;
    cb=new checkbox();
    ch. markforDeletion.setOnChange("submit()");
    it is giving identifier excepted .
    how to use setOnChange and other functio
    with regards
    shannu sarma

  • Calling a css user created method from jspx page in ADF faces

    Hi all,
    Can anyone help me out to solve an issue calling a css user created method from a jspx page.
    Note: The css method is not the default css method. It needs to be called using 'styleClass' attribute in any tag.
    Thanks
    Neha

    Hi,
    I am not an expert in CSS so I don't know what a css method is. However, CSS can be applied to components via EL accessing a managed bean that returns the sytle text
    Frank

  • How to use java class in jsp page of JSPProvider?

    Hello everybody.
    I created simple JSPProvider channel with portal amconsole and named it "jspprov1". Then I created "jspprov"1 directory under "/ets/opt/SUNWps/desktop/sampleportal". I put "index.jsp" in it. And it worked until I add this line into "index.jsp": <% @page import="jspprov1package.aclass1" %>. Then I created directory "jspprov1package" under "/ets/opt/SUNWps/desktop/classes" and put "aclass1.class" into it and into "/ets/opt/SUNWps/desktop/classes" itself. I created "aclass1.class" on the other machine (with no installed portal) in j2sdk1.4.1_02: "javac aclass1.java". The text of this class is simple:
    "package jspprov1package;
    public class aclass1{
    public int int_field = 10;
    But the page still don't work. It writes on the portal desktop "ERROR: Content is not available".
    Does anybody know why this happened?

    Sorry, there were mistakes in jsp page and java files.
    I maked the channel "show exceptions" and found them out.

  • Jdev11g: How to use a Ord.image data type with ADF Faces 11g

    Where to find an example about Ord.image data type with ADF Faces 11g preview3

    Hi,
    such a sample doesn't yet exist.
    Frank
    Btw.: The Jdeveloper 11 forum is JDeveloper and OC4J 11g Technology Preview

  • How to pass values to variables in WAD 7.0 using java script

    Hi.,
    My requirement is based on WAD 7.0.
    The sales value has to displayed in WAD using graph with various chart types.
    I have created variables for plant and material group in a query.
    I have created drop down box for plant with all plants in it, check box for material group and a Submit button in WAD in FORM tag of HTML coding.
    Once all the values are set in drop down box, checkbox and if the user clicks on submit button, the values has to captured by the variables for which I have created and the graph has to be aligned to the new values in variables.
    Kindly help me how to use java script to get the values from FORM and pass it to variables.
    Regards,
    Selva

    Hi Selva,
    You do not need to use Javascript for this. Instead you can achieve this by using API Commands in WAD 7.0.
    Please configure Action on the ButtonGroup webitem to use 'Commands'.
    ->Choose Command 'Set Variables Values / SET_VARIABLES_STATE' under Commands for Web Templates
    ->Set Display Variable Screen setting to OFF
    ->Choose Query Variable for Plant, Select Variable Type as 'Binding Type', Binding Type as 'Data Provider Selection', Data Provider as the one you have assigned to the Dropdown webitem, Characteristic as 0PLANT or as that assigned to the Dropdown webitem
    ->Repeat above steps for Query Variable Material Group
    Now when you make a selection from the Dropdown webitems, the Chart output will change accordingly. Let me know if this helps.
    --Priya

  • How to  use  Stylesheet (XSL) with JSPX ?

    Hi!
    How to use XSL stylesheets with JSPX pages?
    I want use an xsl transformations with jspx pages, I tried using the following syntax, but it didn't work....
    <?xml version='1.0' stylesheet type="text/xsl" href="mathml.xsl" encoding='UTF-8'?>
    <tr:html xmlns="http://www.w3.org/1999/xhtml">
    what is the best way to use xslt with jspx pages?
    Thanking you in advance,
    Samba

    Thanks Ric,
    But My problem is not solved..
    I'm getting the transformation working in plain HTML
    The file given below :
    <?xml-stylesheet type="text/xsl" href="mathml.xsl"?>
    <!--
    Copyright David Carlisle 2001, 2002.
    Use and distribution of this code are permitted under the terms of the <a
    href="http://www.w3.org/Consortium/Legal/copyright-software-19980720"
    W3C Software Notice and License</a>.-->
    <html xmlns="http://www.w3.org/1999/xhtml"
    >
    <head>
    <title>Content MathML Examples</title>
    </head>
    <body>
    <div style="border-style:solid; border-width:1px; margin: 1em 1em 1em 1em; padding: 1em 1em 1em 1em;color:gold;background:grey;">
    <pre><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>]]>
    </pre>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>
    </div>
    </body>
    </html>But the same thing is not working when put in jspx page..
    And I tried to use JSTL as you have suggested :
    But the content is not getting transformed.
    Here is the jspx page :
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:x="http://java.sun.com/jsp/jstl/xml"
              xmlns:m="http://www.w3.org/1998/Math/MathML"
              xmlns:xh="http://www.w3.org/1999/xhtml">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document binding="#{backing_xsltTest.document1}" id="document1">
    <div style="border-style:solid; border-width:1px; margin: 1em 1em 1em 1em; padding: 1em 1em 1em 1em;color:gold;background:grey;">
    <f:verbatim>
    <pre><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>]]>
    </pre>
    </f:verbatim>
    <c:import var ="mathml" url="/mathml.xsl"/>
    <x:transform  xslt="${mathml}">
    <math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>
    </x:transform>
    </div>
          <af:form binding="#{backing_xsltTest.form1}" id="form1">
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_xsltTest-->
    </jsp:root>Can you please suggest where I'm doing wrong?
    Thanking you in advance,
    Samba

  • Using java scripts for pdf

    I am trying to find a sort of tutorial on how to use java scripts for pdf files, particularly in setting up repetitive links between several pdf files.

    Here is a very nice website that has tons and tons of stuff for pdf using java script. Enjoy!
    http://www.planetpdf.com/forumarchive/forum34.htm

  • How & where to use Java script to create new button in object detail page

    Hi All,
    I want to create "New/Add button" in object detail page. If i am not wrong i need to use java script for that but could you please let me know how & where to use Java script to create new button in object detail page in CRMOD.
    Thanks in advance.
    Regards,
    Manish

    Any related object on the detail page should have an "Add" or "New" or both buttons by default - This is vanilla functionality and will do the required action.
    If you want to modify this behaviour and do something tricky you will potentially have to go for javascript. You should add the javascript on a custom web tab on that Object.
    Admin --> Application Customization --> Contact -->Contact Web Applet
    Now, add your javascript in the code area, after you select the type = HTML for this web applet, expose this web applet on the Contact detail layout and your javascript will be invoked whenever this page is loaded.
    Check this online document to see how javascript can be embedded in CRM on Demand http://helponmyproject.com/TTOCOD/
    Cheers!
    Royston

  • How to pass parameters to a page invoked using java script.--- Very Urgent.

    Hello,
    I have an advanced Table in my page. In the first column there is a
    messageChoice. In the second column there is link item.On the link item i have set the following value for destination uri.
    javascript:var a=window.open('OA.jsp?page=/AutoSales/oracle/apps/per/auto/webui/AutoSurrogatesPG&retainAM=Y','a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no,resizable=yes,scrollbar=yes'); a.focus();
    The user selects a value from the message choice and when he clicks on the link item, the value selected from the list should go to the new page invoked using java script as a parameter. I need the value selected from choice to generates few fields in the new page. I have preferred java script because i need the base page and a model window should open. I have tried using setForwardUrl() and setting '_blank' and new window for target frame property on the link item. But it isnt working. The new page is opening in the same window.
    I have also tried putting the value in a session.
    Please help with any kind of suggestions or solutions.
    Thank you.

    Uma,
    You need to
    - Have a PPR Action on the messageChoice (this would trigger a form submit to populate the underlying View Attribute)
    - Either
    - Retrive the value from the View Attribute in the pop-up page (as I could see that you are retaining the AM)
    - Use a SPEL in the link (on the modal page) to use the value from the View Attribute as the parameter value (in the form ${oa.current.<ViewAttributeName>)
    HTH

  • Adobe Form : detect page break using java script

    Hi,
    How can we detect a page break at a runtime using java script? I need to display a data in internal table at header and unique for a document number. i've 10 order list which has multiple items, each of the orders are printed in a new page and i wanted to know this event using a java script which could help me to add some additional logic at header.....pls can someone help on this?

    Hello Prabhu,
         From your doubt, what I understand is that, You have designed a header in Master Page. You need to fill this header using the Item table which is already designed in the design view(body page). Means you want to fill the Item details(which are in body page) into the header(which is in the master page).
    To read the contents from body page into master page, you need to write Javascript code on the header fields(which is in the master page) in the Layout Ready Event.
    For example, if you want to fill the field Order_description in header(master page) from the column Order_Description which is in the Item table(body page)
    In the form layout, select the order_description field and in the event READY LAYOUT write the below JavaScript code.
    var currpage = xfa.layout.page(this);------> Get the current page
    var fields = 0;------> Variable to store the number of fields in that page.
    fields = xfa.layout.pageContent(currpage-1, "field", 0); ------> Get the number of fields
    for ( i=0; i<= fields.length-1; i++ ) ------> Loop on each field on the page
        if ( fields.name == "ORDER_DESCRIPTION" ) ------> Check if the corresponding field is in the Item table
             this.rawValue = fields.item(i).rawValue; ------> Assign that value in the Header field
    Repeat the same steps for other fields in the Header. This will work for all Purchase Orders spanned across multiple pages.

Maybe you are looking for