How to access Parent page UIComponent from inlineFrame using ADF javascript
Hi,
My application includes an <af:inlineFrame component on the top portion of the page. It contains a table with delete option for the end user. Requirement is after user has deleted all the records of the table and table has no records to display, inlineFrame needs to be made invisible so that the bottom portion content of my page will get stretched fully and has more visibility to the user. Hence when user click on Delete button of the table, after delete operation, I am planning to check the row count and write javascript to client using ExtendedRenderKitService to make the inlineframe invisible.
Question:
1. What is the right ADF javascript API to access the parent page and work with its components. I came to know we can call using 'parent.document.getElementById' but I want to know correct ADF's javascript API.
Thanks in Advance
Raghu
The way you suggested didn't help me.
Yes.. This inlineFrame content is also a part of the same application only. The reason why it is kept in inlineFrame is it is an ADS implemented table. ADS is able to push the data to the table provided we should keep the application idle. If I keep on working with the application (i.e. request/response happens because user works with the bottom portion content of the page), ADS is not able to push the data to UI. Keeping the ADS implemented table in a top portion still but inside an inlineFrame has solved this problem.
Given below my page design
main.jspx
======
<af:form id="f1"....
<af:inlineframe source="faces/page/employee.jspx" />
</form>
employee.jspx
=========
<af:form id="f2"
</form>
In the employee.jspx only I have delete button and javascript which is suppose to find the parent page (i.e. main.jspx) and to work with inlineframe component to make it visible/invisible based on whether table gets records or no records. (This javascript call will happen with the help of ClientListener set for the ADS implemented table with event type as propertyChange) Intention is to check the row count of the table during every javascript call and to go to parent page, find the inlineframe, make it visible or invisible.
Edited by: Raguraman on 25-Jan-2013 08:59
Similar Messages
-
Access Parent Page Binding From Region
Hello
I'm using JDev 11.2 and i have a task flow which I call from a parent page- and to pass parameters to it.
Is there a way for me to access the parent page bindings from a region in the taskflow?
Thanks for you time
TalyaYou shouldn't be directly accessing a containing page values from a task flow. This will create a situation where your task flow is only usable in a single page.
Instead define parameters to your task flow and pass those from the containing JSF. -
How to Retrieve the Selected Values from selectOrderShuttle using ADF 11g
Hi Every One,
Does anyone has idea how to retrieve the selected Items using shuttle and Order of the items using 'SelectOrderShuttle' component ?
Thanksshuttle's valuechangeevent would fire when you shuttle items back and forth.
public void selectOrderShuttle1_valueChangeListener(ValueChangeEvent valueChangeEvent) {
ArrayList list = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue()));
if (list != null){
for (int i=0; i<list.size(); i++) {
int l = list.size()-1;
val = list.get(l).toString(); //returns , delimited string
if (val != null){
val = val.replaceAll("[\\[\\]]", "");
StringTokenizer st = new StringTokenizer (val, ",");
int nto = st.countTokens ();
for (int j = 0; j < nto; j++)
String token = st.nextToken ();
.......... -
How to access a web service from a XLet
Hello,
I am new in software development to ITV and I dint find too many usefull information teaching how to access a web service from a XLet running in a STB. Are there anybody who can give me some help, maybe sample or tutorial?
Gratefull
Davidhi,
you can "borrow" the source code from [Yambo a free soft open source presentation engine (AKA XML microbrowser Xlet )|http://www.cineca.tv/labs/mhplab/index-en.html] both local and on a http remote connection.
hope it helps..
bye
andrea -
How to access my macbook pro from a windows pc?
how to access my macbook pro from a windows pc?
Depending on what you mean by "access" the following may help:
File sharing: How to connect with File Sharing on your Mac - Apple Support
One way (and there are others) for remote control and remote access between Mac and Windows: http://www.teamviewer.com/en/index.aspx -
How can I transfer "Pages" files from my IPad to my Mac?
How can I transfer "Pages " files from my IPad to my IMac, I cannot use ICloud because I have Mountain Lion installed on the IMac?
Actually, you can use iCloud and the way that you so it is to log into iCloud.com on the Mac (use Safari for best results) click on the Pages icon and then drag the Pages files into the browser window. It works the other way around as well. Log into iCloud.com on the Mac and download the files from Pages (that you created on the iPad) in iCloud onto your Mac. You can click on the file in the documents window and select it to Download by clicking on the Gear icon or right click upon the file and select download.
The files will then sync to the Pages app on the iPad - assuming hat you have use iCloud tuned on in Settings>Pages>Use iCloud>On. I have an iMac running Tiger 10.4.11 that I can still move Pages/Word files back and forth Iike this.
Also, File Sharing with iTunes is a great way to move the files back and forth.
iOS: About File Sharing - Support - Apple
Message was edited by: Demo -
How to access internal table data from webdynpro to Flex application.
Hi Connoisseur
The data transfer from Abap WebDeypro to flex island works well. I followed , there is an example from Thomas Jung (by the way as always Great Work) and Karthikeyan Venkatesan (Infosys) but this example covers simple type only.
There is no example with complex types like arrayCollection which handle the transfer of data from flex to WebDynpro.
i tried to do pass internal table value to flex-datagrid.but its not work.
i would like to know
1.how to access internal table data from webdynpro to Flex application.
2.how to pass the internal table to flex-datagrid.
2.how to pass dynamically in ADOBE flex.
3. how to do Flex is receiving the wd context data?
4. how can we update WD context with FLEX data.
Ple give me sample example and step by step procedure.
Regards
laxmikanthHi Laxmikanth,
Please refer this...
Flash island: update complex type from flex
Cheers..
kris. -
How do you transfer Pages files from Mac to ipad?
How do you transfer Pages documents from Mac to Ipad?
If you have iOS 5 on the iPad and enabled iCloud in Pages, you can go on your Mac and go to http://icloud.com, then click iWork, then click the gear icon and upload the document. It should appear on your iPad.
If you have an older OS on the iPad, you will need to plug in to the Mac and launch iTunes. Click on the iPad under DEVICES. Then click on the Apps tab up top. Scroll down until you see a File Sharing section. Click on Pages, then click on the "Add" button. -
OOABAP-How to access the protected methos from a class
How to access the protected methos from a class..There is a built in class..For tht class i have created a object..
Built in class name : CL_GUI_TEXTEDIT
method : LIMIT_TEXT.
How to access this..help me with codehi,
If inheritance is used properly, it provides a significantly better structure, as common components only
need to be stored once centrally (in the superclass) and are then automatically available to subclasses.
Subclasses also profit immediately from changes (although the changes can also render them invalid!).
Inheritance provides very strong links between the superclass and the subclass. The subclass must
possess detailed knowledge of the implementation of the superclass, particularly for redefinition, but also in
order to use inherited components.
Even if, technically, the superclass does not know its subclasses, the
subclass often makes additional requirements of the superclass, for example, because a subclass needs
certain protected components or because implementation details in the superclass need to be changed in
the subclass in order to redefine methods.
The basic reason is that the developer of a (super)class cannot
normally predict all the requirements that subclasses will later need to make of the superclass.
Inheritance provides an extension of the visibility concept: there are protected components. The visibility of
these components lies between that of the public components (visible to all users, all subclasses, and the class itself), and private (visible only to the class itself). Protected components are visible to and can be used by all subclasses and the class itself.
Subclasses cannot access the private components particularly attributes) of the superclass. Private
components are genuinely private. This is particularly important if a (super)class needs to make local
enhancements to handle errors: it can use private components to do this without knowing or invalidating
subclasses.
Create your class inse24 and inherit this CL_GUI_TEXTEDIT
class in yours. You can then access the protected methods.
Hope this is helpful, <REMOVED BY MODERATOR>
Edited by: Runal Singh on Feb 8, 2008 1:08 PM
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 2:19 PM -
Don't know how to access my email away from home
i don't know how to access my email away from home.
can't find webmail or email options.
== User Agent ==
Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.1; AOLBuild 4334.5009; Windows NT 6.0; Trident/4.0; GTB6.3; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30618)Somehow I got it to work, a whole lot easier than i thought, kind of scary how easy... but Im not exactly sure what of several things is how I got it. Scariest thing; watching my iBook I wouldn't know that I was accessing it from the MB. It's only me doing it, but still seems so easy.
If I have a WPA2 password protected wireless network do I have to worry that others can access it so easily? (not that I have anything interesting, it's just the general privacy paranoia) -
How can we set page title from resource bundle
Hi friends ,
how can we set page title from resource bundle,
<%--
Document : MARC008Music
Created on : Aug 4, 2008, 6:27:06 PM
Author : root
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>All Transaction Log Details </title>
</head>
<body>
<f:view>
<f:loadBundle basename="#{utility.resourceBundle}" var="rb"/>
<f:loadBundle basename="#{utility.messageBundle}" var="mb"/>
<h:form>
</h:form>
</f:view>
</body>
</html>i want set title( All Transaction Log Details ) from resource bundle.My problem is solved , Thanking you Sir.
Thanks & Regards,
Edukondalu Avula -
How do i transfer Page files from my ipad to my desktop mac?
how do i transfer Page files from my ipad to my desktop mac? The mac help page doesnt help as my ipad files dont show up in itunes.
I don't have the Pages app, but there are instructions on this page for how to send documents to/from your computer's iTunes : http://help.apple.com/pages/ipad/1.6.1/#tanb5b5c055
-
How to access the abap program from MS Excel?
Hi ,
How to access the abap program from MS Excel or MS access ?
The abap program "z..." has the below input and output attributes
Input : Date,Index and file name with location (.htm or .xls)
Output : htm or xls file downloaded at the above location.
Please help me here.Do we haev to use BAPI and RFC?If yes,please tell me how to use them
Regards
DineshMaybe this could help you up -;)
[Simple SE38 Emulator using Microsoft Excel|Simple SE38 Emulator using Microsoft Excel]
Greetings,
Blag. -
How do I upload pages docs from my mac to iCloud?
How do I upload pages documents from my mac to iCloud? Is it something I have to turn on through Pages or do I drag and drop them in the cloud? When I try to drag and drop them in the cloud, they instantaneously get downloaded to my computer. iCloud is turned on in my preferences and I have an iCloud account.
You put them in your Dropbox folder and then open them from your Dropbox app on iOS into your iOS iWork apps. That's puts them into iCloud, including the icloud.com webpage.
That certainly is not the official solution but the official Apple is silent on how to achieve this. -
How do you transfer pages application from macbook to new iMac
how do you transfer pages application from macbook to new imac?
Install it on the iMac using the same method you used to install it on your MacBook.
If your MacBook came with it already installed, it may not be a version compatible with your new iMac.
Maybe you are looking for
-
How to change logical system name
hi, there is no logical system name for business system in sld on integration tab. this bus sys is based on tech sys which is configured as integration server. plz tell me how to give the logical sys name there. plz reply me it is urgent. vijender
-
Forms behavior differences switching from JInit to Sun's Plug-in?
What differences are there in Forms behavior after switching from JInit v 1.3.1.26 to Sun's 1.4.2_06 plugin? We are running Oracle Forms v 10.1.2.2.0, Internet Application Server v 10.1.2, and IE 7. Thanks KenV
-
Hi all I am fairly sure I have see something on the interweb that referenced research that made the case for centralizing demand, and showed quantitatively the benefits and impact that having a center of excellence gave an organisation versus those t
-
FRM-40208 - CAN NOT UPDATE, WHEN RUNNING IN QUERY MODE
Hi all, I am calling a form in a query mode and when the query is performed in the called form, i am trying to update a field, but i get a error message frm-40208. I have checked my block properties insert_allowed, update_allowed and delete_allowed a
-
Package properties - Run Best practice
Hi, What is best during distribution run minimize or hidden? when would you choose one instead the other one? Thanks, François