Home » Developer & Programmer » JDeveloper, Java & XML » Use Ocx in jsf page using javascript (jdeveloper 11g, windows xp)
Use Ocx in jsf page using javascript [message #467642] Mon, 26 July 2010 06:29
nesta
Messages: 1
Registered: July 2010
Location: COTE D'IVOIRE
Junior Member

hello,
i would like to know how could i integrate ocx object in adf page

i do this but it doesn't work

....
<f:view>


<f:verbatim>
<OBJECT ID="Ranger"
CLASSID="CLSID:1C5C9095-05A8-11D4-9AF9-00104B23E2B1">
</OBJECT>
</f:verbatim>


<af:document id="d1">
<af:form id="f1">
<af:pageTemplate viewId="/tempCompens.jspx" id="pt1">



<af:resource type="javascript">


function returnstatut()
{// var mavar = event.getsource();

alert(Ranger.GetTransportStateString());
}


</af:resource>



<f:facet name="temp">
<af:panelSplitter id="ps1">
<f:facet name="first">
<af:panelGroupLayout id="pgl1" layout="vertical">
<af:spacer width="10" height="10" id="s2"/>
<af:commandButton text="Start" id="cb1"/>
<af:spacer width="10" height="10" id="s1"/>

<af:commandButton text="Status" id="cb2">
<af:clientListener method="returnstatut" type="click"/>

</af:commandButton>
....


Could you help me please!!
Previous Topic: How to call a Reports11g though Java coding ?
Next Topic: problem in dbms_XMLDom
Goto Forum:
  


Current Time: Thu Oct 30 12:09:33 CDT 2014

Total time taken to generate the page: 0.10383 seconds