This content has been marked as final. Show 8 replies
the root page is accessible from AdfPage.PAGE --> AdfPage.PAGE.findComponentByAbsoluteId(...)
The content in the inline frame need to be in the same domain for this cross site scripting
No Frank.. It didn't work.
I have main.jspx with form id="f1" and an inlineframe, which includes employee.jspx whose form id='f2"
var comp = AdfPage.PAGE.findComponentByAbsoluteId("f1");
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>
Edited by: Raguraman on 25-Jan-2013 08:59
In the above code snippet, 'f1' represents the main.jspx <af:form>. It should be accessible from Employee.jspx. Employee.jspx is kept in an inlineframe inside main.jspx
Edited by: Raguraman on Jan 29, 2013 3:32 AM
Edited by: Raguraman on Feb 11, 2013 12:01 AM