Calling Ajax from ADF tags
Hi,
I posted a problem on calling ajax from ADF tag.
The link is
Calling Ajax from ADF tags
please can any body look into the issue and help me out.
thanks
Manjunath
Edited by: user10568495 on Feb 11, 2009 1:22 AM
Thanks for the suggestion, i will be following up the original thread.
thnx
Manjunath
Edited by: user10568495 on Feb 11, 2009 1:58 AM
Similar Messages
-
How to call webservices from ADF page
Hi,
I am using ADFBC.
I want to call webservices from ADF page.please give examples of sample program on how to call a web service from the ADF pages.please give examples.
please help me.
Thanks,http://marianne-horsch-adf.blogspot.com/2011/03/how-to-create-web-service-based-adf.html
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/70-dependent-listboxes-using-ws-286107.pdf
http://www.oracleimg.com/technetwork/developer-tools/jdev/adfcomplexwstypes-101013.html
http://technology.amis.nl/blog/9726/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components
http://oracamp.com/passing-parameters-between-web-services-and-jsf-pages -
Hi,
Please let me know how can I call JQuery from adf. I am using <h:inputText> or <af:inputText> field for entering the date filed.
In my case, I want to set the sysdate as the value to one filed. Also, i need to check the dates enterd. Please help me to do it. Tried it with several ways, but not getting the correct.Hi,
Hope following will useful
http://saumoinak.blogspot.com/2011/02/using-jquery-in-adf-pages.html
http://jdevadf.oracle.com/adf-richclient-demo/components/inputDate.jspx -
It is posible to call js from adf ?
Hi ,
It is posible to call a javascript function from ADF in .jsp web page ?
I want to make onclick = doChange; event on checkbox in Edit form page
i know that i can call a function from Onclick , but i want that event onclick is called from adf .
document.getElementById('%AcceptedBySupplier').onclick = doChange;
document.getElementById('%AcceptedBySupplier').setAttribute( "onClick", "javascript: doChange();" )Hi.
you can use af_clientListener with EventType click
http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_clientListener.html -
Hi,
I have implemented a prtototype in JHeadStart/ADF. In my database there is a package with procedures and functions i want to call from my application.
As i read in Dev.guide and blogs i could use StoredProcedureCall. But it is a part of the TopLink and my application does not recognize this package.
Am i on the rigth way? Do i need to install TopLink in addition to ADF?
Thanks for help.
Br NadjaTry the JHeadstart, JDeveloper, or JDBC forum.
You need to use JDBC CallableStatement for this. Check the Oracle RDBMS JDBC Developer's Guide for details.
--olaf -
Calling function from html tag in dynamic textfield
Hi!
Tried several approaches for making this happen, but can't seem to do it. I could really use an example of how to do this in my particular case, since I'm not exactly a code - guru.....
I have a sprite menu which populates a dynamic textfield with textlabels as users click individual items in the menu in addition to ordinary actions(gotoAndStop).
As these labels appear in the textfield, I want to be able to link them to the frames assosciated with the menu - item frames. As you can understand from this, I am working with the timeline.
By enabling html rendering of text in the textfield, I have been able to link these output labels via a a href - tag, but I am not able to call a function from this html. The function I am trying to call uses a switch statement to take the appropriate actions according to which label is being clicked, but the only effect I get is the html opening a browser window...... Unfortunately I do not know how to explain this any better, but here is my code for the following:
Main Timeline, frame 1, actions layer:
[AS]import flash.display.*;
import flash.events.*;
import flash.display.Stage;
var buttonTrace:TextField;
var sectionNames:Array = new Array("Frontpage","Introduction",
"Designparadigm", "Tooling", "Maya & c++ API", "Geometric Vectors","Lindenmayer systems","Artificial Life",
"Projects","Litterature","Disclaimer","Site credits","Newsletter & Rss",
"Blogging","Plugins","LINKS");
var sectionCount: int = sectionNames.length;
var menu:Sprite = new Sprite();
menu.x = 452;
menu.y = 172;
this.addChild(menu);
buildMenu();
function buildMenu():void {
for(var i:int=0; i < sectionCount ; i++){
var item:MovieClip = new MenuItem();
item.labelName = sectionNames[i];
item.targetClip = this;
if(i<4){
item.y = i*125
menu.addChild(item)}
else if (i>3 && i<8){
item.y = (i-4)*125
item.x = 125
menu.addChild(item)}
else if (i>7 && i<12){
item.y = (i-8)*125
item.x = 250;
menu.addChild(item)}
else if (i>11 && i<16){
item.y = (i-12)*125
item.x = 375
menu.addChild(item)}
}[\A]
Then, for the movieclip called MenuItem, I have button placed on the first frame of the timeline, and this code in the actions layer:
[AS]import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.display.Stage;
import flash.text.TextField;
import flash.events.Event;
import flash.events.TextEvent;
var buttonTrace:TextField;
var labelName:String;
var targetClip:MovieClip;
clickButton.addEventListener(MouseEvent.CLICK, onClick);
function onClick(evt:MouseEvent):void {
trace(labelName);
targetClip.gotoAndStop(labelName);
MovieClip(root).buttonTrace.appendText("\n" + labelName);
MovieClip(root).buttonTrace.addEventListener(TextEvent.LINK,linkHandler);
function linkHandler(linkEvent:TextEvent):void {
switch (linkEvent.text) {
case"Introduction":
var text= "Introduction";
text.addEventListener(TextEvent.LINK,"Introduction");
trace("Listening");
Intro();
break;
case "Designparadigm":
DP();
break;
case"Tooling":
Tooling();
break;
case "Maya & c++ API":
MayaAPI();
break;
case "Geometric Vectors":
GeometricVectors();
break;
case "Lindenmayer systems":
Lsystems();
break;
case "Artificial Life":
AL();
break;
case "Projects":
Projects();
break;
case "Litterature":
Litterature();
break;
case "Disclaimer":
Disclaimer();
break;
case "Site credits":
Sitecredits();
break;
case "Newsletter & Rss":
Rss();
break;
case "Blogging":
Blogging();
break;
case "Plugins":
Plugins();
break;
case "LINKS":
LINKS();
function Intro():void {
targetClip.gotoAndStop(2);
function DP():void {
targetClip.gotoAndStop(3);
function Tooling():void {
targetClip.gotoAndStop(4);
function MayaAPI():void {
targetClip.gotoAndStop(5);
function GeometricVectors():void {
targetClip.gotoAndStop(6);
function Lsystems():void {
targetClip.gotoAndStop(7);
function AL():void {
targetClip.gotoAndStop(8);
function Projects():void {
targetClip.gotoAndStop(9);
function Litterature():void {
targetClip.gotoAndStop(10);
function Disclaimer():void {
targetClip.gotoAndStop(11);
function Sitecredits():void {
targetClip.gotoAndStop(12);
function Rss():void {
targetClip.gotoAndStop(13);
function Blogging():void {
targetClip.gotoAndStop(14);
function Plugins():void {
targetClip.gotoAndStop(15);
function LINKS():void {
targetClip.gotoAndStop(16);
MovieClip(root).buttonTrace.htmlText="<a href=\'function:linkHandler,?????'>History</a>";
[\A]as3 textfields have a TextEvent.LINK you can use.
-
Is it possible to call OAF Page from ADF Page
Hi,
Is it possible to open E-Business suite OAF page from ADF ??
Our requirement as follows:
In ADF page have the Order Number as hyper-link, if user click on hyper-link we have to pass Order_Id and open OAF page of Order Management in E-Business Suite. This OAF Page has has the corresponding Order Line for given Order_Id.
If this is possible, how authentication/security works between ADF and OAF. Is the user which as logged into ADF will authenticate in OAF Page also ? How it works ??
Thanks in advance.
Thanks,
SrikSHi,
Hope following useful
http://blogs.oracle.com/stevenChan/entry/oa_framework_or_adf
ADF Call from OAF -
Facing issue in calling BPEL WebService from ADF page.
Considering example:
I have a Login Page (Login.jspx) with two input text, UserID & Password and one Login Button. On press of login Button It will call a BPEL service for validating the user and will return a String value with Success or Failure as value. Depending on this value I will decide inside Managed Bean response will go to which path.
Took the reference of http://www.oracle.com/technology/obe/fusion_middleware/fusion/adf_wc/10_132_siebel_webcenter/siebel_webcenter.htm
Using this I am able to call BPEL from my ADF page and able to show the result on different ADF page, but not able to take the BPEL returned value inside the managed bean.
Please help me how to take BPEL output value inside my managed bean.Considering example:
I have a Login Page (Login.jspx) with two input text, UserID & Password and one Login Button. On press of login Button It will call a BPEL service for validating the user and will return a String value with Success or Failure as value. Depending on this value I will decide inside Managed Bean response will go to which path.
Took the reference of http://www.oracle.com/technology/obe/fusion_middleware/fusion/adf_wc/10_132_siebel_webcenter/siebel_webcenter.htm
Using this I am able to call BPEL from my ADF page and able to show the result on different ADF page, but not able to take the BPEL returned value inside the managed bean.
Please help me how to take BPEL output value inside my managed bean. -
How to call OWSM secured web-service from ADF application
I have a OWSM secured web-service, which takes username/password.
I want to invoke this webservice from ADF application. ADF application has its own security and it takes its own username/password. End user can't provide the username/password for web-service call. My ADF application should call the webservice and provide it appropriate username/password.
What is the best practice to handle such scenario. I don't want to hardcode username/password in Java (ADF) code.
Thanks
Sanjeev.it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
Lets do some divide and conquer:
Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
Once this works we can start looking at the web service call.
Best regards
/Martin -
ADF: Calling concurrent program in Oracle Apps from ADF
Hi All,
I am using Jdev 11G...
I have a requirement to call a concurrent program which is in Oracle E-Business from ADF page.
i will have ADF page with one button, On click of that ADF button we need to call the concurrent program and show the output generated by the concurrent program from ADF.
Plz help me to get out of this.
Any answers will be really useful.
Thanks.Hi Frank,
Thanks for ur quick response.
That is a Report and the output of the report is generated by running concurrent program.
The output of the report is in pdf format.
So we need to call the report from ADF and show the pdf output.
Thanks..... -
Calling PL/SQL Functions And Open Oracle Reports From ADF Application
Hi all,
My company will convert some projects from Oracle forms to Oracle ADF so, we need to call the PL/SQL functions and open the Oracle Reports (which are already exist) from ADF Application.
Thank You..
Jack.NHi Jack.N,
calling PL/SQL Functions -----> http://sameh-nassar.blogspot.com/2010/01/create-plsql-function-and-call-it-from.html
Open Oracle Reports ---------> http://radio-weblogs.com/0137094/2008/06/15.html
You will find The Integration between ADF and other systems in ---> http://wiki.oracle.com/page/ADF+Integration
Sameh Nassar -
How Do i Call An xml publissher and a jsper report from ADF pages
Hi All
How Do i Call An xml publissher and a jsper report from ADF pagesI used the above links to create XML's and from there a formatted report of data from the database. I accomplish this by connecting to the database inside the XMLPublisher.java file. I also have my query hard-coded inside the DataTemplate.xml to extract the info from the database. This limits my ability on what the user can accomplish with the system.
Is it possible to run my reports based on an iterator within Jdeveloper, as opposed to having to manually enter the query and connect to the database within the XMLPublisher.java file and the template.xml?
Thanks. -
Secure AJAX calls made from a JSR 168 portlet
I am investigating methods to secure AJAX calls made from a JSR 168 portlet to a servlet using the Direct Web Remoting framework (DWR) and Weblogic Portal. The portlet can have more than one instance and different entitlements depending on the desktop it is available from. The Portal has several desktops and does not require the user to authenticate for some of the desktops.
So far the only method I have come up with is to pass a token from the portlet to the servlet which indicates the entitlements the user should have to access the documents from the portlet and check in the servlet if the User has the appropriate global roles to access the documents.no , that doesn't work, the token passed can be modified by a malicious user (unless the token is random or signed)
You need to store the desktop(s) the user is on in probably the HttpSession and read that from the servlet and make the decisions accordingly.
regards
deepak -
Calling oracle 6i reports from ADF
Hi All,
My requirment is to call oracle reports from ADF.
Can some one help me in calling oracle 6i reports from ADF faces.
Plz provide some link where I can info about this.
Regards
Srinivas.Hi,
you can call the Reports Web URL from ADF. If you want o do this embedded then have a look at
http://thepeninsulasedge.com/frank_nimphius/2007/09/11/adf-faces-showing-reports/
Frank -
Calling methods from inside a tag using jsp 2.0
My searching has led me to believe that you cannot call methods from in the jsp 2.0 tags. Is this correct? Here is what I am trying to do.
I have an object that keeps track of various ui information (i.e. tab order, whether or not to stripe the current row and stuff like that). I am trying out the new (to me) jsp tag libraries like so:
jsp page:
<jsp:useBean id="rowState" class="com.mypackage.beans.RowState" />
<ivrow:string rowState="${rowState}" />my string tag:
<%@ attribute type="com.mypackage.beans.RowState" name="rowState" required="true" %>
<c:choose>
<c:when test="${rowState.stripeToggle}">
<tr class="ivstripe">
</c:when>
<c:otherwise>
<tr>
</c:otherwise>
</c:choose>I can access the getter method jst fine. It tells me wether or not to have a white row or a gray row. Now I want to toggle the state of my object but I get the following errors when I try this ${rowState.toggle()}:
org.apache.jasper.JasperException: /WEB-INF/tags/ivrow/string.tag(81,2) The function toggle must be used with a prefix when a default namespace is not specified
Question 1:
Searching on this I found some sites that seemed to say you can't call methods inside tag files...is this true?...how should I do this then? I tried pulling the object out of the pageContext like this:
<%@ page import="com.xactsites.iv.beans.*" %>
<%
RowState rowState = (RowState)pageContext.getAttribute("rowState");
%>I get the following error for this:
Generated servlet error:
RowState cannot be resolved to a type
Question 2:
How come java can't find RowState. I seem to recall in my searching reading that page directives aren't allowed in tag files...is this true? How do I import files then?
I realized that these are probably newbie questions so please be kind, I am new to this and still learning. Any responses are welcome...including links to good resources for learning more.You are correct in that JSTL can only call getter/setter methods, and can call methods outside of those. In particular no methods with parameters.
You could do a couple of things though some of them might be against the "rules"
1 - Whenever you call isStripeToggle() you could "toggle" it as a side effect. Not really a "clean" solution, but if documented that you call it only once for each iteration would work quite nicely I think.
2 - Write the "toggle" method following the getter/setter pattern so that you could invoke it from JSTL.
ie public String getToggle(){
toggle = !toggle;
return "";
}Again its a bit of a hack, but you wouldn't be reusing the isStriptToggle() method in this way
The way I normally approach this is using a counter for the loop I am in.
Mostly when you are iterating on a JSP page you are using a <c:forEach> tag or similar which has a varStatus attribute.
<table>
<c:forEach var="row" items="${listOfThings}" varStatus="status">
<tr class="${status.index % 2 == 0 ? 'evenRow' : 'oddRow'}">
<td>${status.index}></td>
<td>${row.name}</td>
</tr>
</c:forEach>
Maybe you are looking for
-
Verizon - The New Comcast!
Well, now I HATE Verizon. Last Tuesday (6/28) I called about getting a new DVR. The woman reviewed my account and talked me into upgrading to the Ultimate HD package from the HD Essentials and said I'd get the same movie package that I had ( I had St
-
Hi everyone, I'm trying to deploy a Windows Embedded Standard 7 (trial key at the moment) image in SCCM 2012 SP1 with a very simple task sequence. I have a 'build and capture' and an OSD TS. I'm testing these on Hyper-V PCs and both work fine when i
-
i got the videora converter and converted some of my videos with it, however itunes or windows dont seem to recognise the formatt the output movie is in. what my be the problem
-
Steps For Creating Module programming ?
hi.. if u have any documentation for creating module programming means please send to me . Thanks in advance Deepa
-
Can I set up a default or favorite folder in Connection Manager in Framemaker?
I have to drill down about ten clicks to get to my docs. Any way to set a default folder when I open Connection Manager in FM 11?