Overlay pages in ADF

Hi Folks
There is a requirement where in I dsplay a table with various columns in a main jspx page , I am having a lot of rows to be displayed in the main jspx page , but if the number of rows exceeds 10 a scroll bar is displayed , I dont want a scroll to be displayed , instead I want something like if the rows exceeds 10 display a link more.... and on click of more it should open a new window something like a Overlay Page on top of the parent window and in that page it should display all the rows, I want to have a functionality of parent window and child window , Can this be achieved with out using a af:popup Please if you can guide me....
Thanks
Ajay

According documentation :
+"Dialogs can align to a component but generally are used with default alignment. The default alignment of dialogs is the center of the browser window."+
http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_popup.html

Similar Messages

  • Question on "Master Detail page using ADF" sample

    I downloaded the "Master Detail page using ADF" sample application. I modified editDepartment.jsp page to include the Commit button as follows:
    <html:submit property="event_Commit">Save and Commit</html:submit>
    When I go to edit a department record and click on the new "Save and Commit" button, I SQLed the DEPARTMENTS table and noticed that the edits were not commited. I also restarted the embedded OC4J server and still get the same results. For some reason, the department view object contains the modification but the entity object doesn't. Why?

    Scott,
    My colleague suggested a workaround, which is to explicitly include the detail table's id in the master table's partialTargets list. So, for example, in MasterDetailDP.uix, changing:
    <table model="${bindings.DepartmentsView1}"
           id="DepartmentsView111"
           partialRenderMode="multiple"
           partialTargets="_uixState">to:
    <table model="${bindings.DepartmentsView1}"
           id="DepartmentsView111"
           partialRenderMode="multiple"
           partialTargets="_uixState EmployeesView312">...will cause the detail table to be updated when sorting the master table.
    There is some question about whether sorting a table should actually cause the currently selected row to change - we're still discussing this point.
    Andy

  • 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,
    SrikS

    Hi,
    Hope following useful
    http://blogs.oracle.com/stevenChan/entry/oa_framework_or_adf
    ADF Call from OAF

  • Best Practice for programatically navigating to a page in ADF

    What is the best approach to navigate programmatically to another page in ADF. I can use this in JSF but want to know is there anyother approach for navigation in ADF:
    FacesContext.getApplication().getNavigationHandler().handleNavigation

    BIG BIG ?
    If you use faces you normally use the faces navigation, either direct or via the navigation cases defined in your page flow definition files.
    I guess you can use Flex or Struts but then you are one your own...
    Timo

  • How to make Login Page in ADF?

    Hi,
    Can anyone suggest me, how to make Login Page in ADF.
    I am new on ADF, is any sample code or application is there than it will be helpful for me.
    please reply its urgent.
    Thanks,
    Ramit Mathur

    HI,
    Jspx code
    <af:panelFormLayout id="pfl1" binding="#{loginBean.mainForm}">
    <f:facet name="footer"/>
    <af:inputText label="Username" id="it1"
    value="#{loginBean.username}"
    binding="#{loginBean.usernameId}"
    required="true"/>
    <af:inputText label="Password" id="it2" secret="true"
    value="#{loginBean.password}"
    binding="#{loginBean.passwordId}"
    required="true"/>
    <af:spacer width="1px" height="20px" id="s3"/>
    <af:panelGroupLayout id="pgl3">
    <af:commandButton text="Submit" id="cb1"
    action="#{loginBean.doLogin}"/>
    <af:spacer width="85px" height="1px" id="s4"/>
    <af:commandButton text="Cancel" id="cb2"
    action="#{loginBean.clearFields}"/>
    </af:panelGroupLayout>
    </af:panelFormLayout>
    BackingBean code
    public String doLogin() {
    String un = _username;
    String pw = _password;
    // byte[] pw = _password.getBytes();
    FacesContext ctx = FacesContext.getCurrentInstance();
    System.out.println("ctx" + ctx);
    HttpServletRequest request =
    (HttpServletRequest)ctx.getExternalContext().getRequest();
    CallbackHandler handler = new SimpleCallbackHandler(un, pw);
    System.out.println("Handler" + handler);
    try {
    Subject mySubject = Authentication.login(handler);
    System.out.println("mySubject" + mySubject);
    ServletAuthentication.runAs(mySubject, request);
    ServletAuthentication.generateNewSessionID(request);
    String loginUrl =
    "/adfAuthentication?success_url=/faces" + ctx.getViewRoot().getViewId();
    System.out.println("loginUrl---" + loginUrl);
    HttpServletResponse response =
    (HttpServletResponse)ctx.getExternalContext().getResponse();
    System.out.println("response---" + response);
    // loginUrl = "/adfAuthentication?success_url=/faces/WelcomeScreen1.jspx";
    sendForward(request, response, loginUrl);
    System.out.println("---" + response);
    } catch (FailedLoginException fle) {
    FacesMessage msg =
    new FacesMessage(FacesMessage.SEVERITY_ERROR, "Incorrect Username or Password",
    "An incorrect Username or Password" +
    " was specified");
    ctx.addMessage(null, msg);
    } catch (LoginException le) {
    reportUnexpectedLoginError("LoginException", le);
    return null;
    private void sendForward(HttpServletRequest request,
    HttpServletResponse response, String forwardUrl) {
    FacesContext ctx = FacesContext.getCurrentInstance();
    System.out.println("sendForward--ctx--" + ctx);
    RequestDispatcher dispatcher =
    request.getRequestDispatcher(forwardUrl);
    System.out.println("sendForward--dispatcher--" + dispatcher);
    try {
    dispatcher.forward(request, response);
    } catch (ServletException se) {
    reportUnexpectedLoginError("ServletException", se);
    } catch (IOException ie) {
    reportUnexpectedLoginError("IOException", ie);
    ctx.responseComplete();
    // 12.Implement a reportUnexpectedLoginError() method:
    private void reportUnexpectedLoginError(String errType, Exception e) {
    FacesMessage msg =
    new FacesMessage(FacesMessage.SEVERITY_ERROR, "Unexpected error during login ",
    "An incorrect Username or Password" +
    " was specified");
    FacesContext.getCurrentInstance().addMessage(null, msg);
    e.printStackTrace();
    }

  • Enhancement of Pages in ADF

    Hi,
    - How can i change look & feel of Page in ADF.
    - How can i place fields on different places as we do in HTML pages by creating a table. It does not give that facility when we create Form by dragging it from Data Control.
    - How can we increase/decrease width of columns of ADF Read Only Table.
    Regards,
    Niaz
    Edited by: MNiaz on Apr 22, 2009 1:50 AM

    1. You can change the style of each object directly or if you want to change the overall look and feel of a component throughout the application - you can use skins.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_skin.htm#BAJFEFCJ
    2. You place fields inside containing objects - mostly panels and other layout objects
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_orgpage.htm#CACCBCCI
    3. You can just drag and resize columns at runtime in an ADF table - or you can set the width property of the column.
    Edited by: Shay Shmeltzer on Apr 22, 2009 1:59 AM

  • How to pass parameter from SSO login page to ADF application page?

    We have ADF-JSF application (running on AS 1013) that is being protected by OID running on AS 1012. SSO login page contains (among others) paramter ssousername and I wish to pass this to my ADF application. For the testing purpose I created ADF application entry point page that has something like this:
    <h:outputText value="#{param.ssousername}"/>and my sso login page has:
    <input type="text" size="30" maxlength="50" name="ssousername" value="<%=str_user%>">OID and ADF OC4j are running on two different servers, same network.
    So after successful login, when my page displays param passed is NULL?!
    Why?

    I solved it with the following....when my page loads, I execute test method:
        public void processLogin(String ssousername) {
             Object o  = JSFUtils.getUserFromSSOLogin();
             if (o!=null) System.out.println(o.toString());
        public static Object getUserFromSSOLogin(){
            FacesContext ctx = FacesContext.getCurrentInstance();
            return ctx.getExternalContext().getRemoteUser();
        }

  • How can i print multiple pages in ADF , JSF ages ?

    i neet to print a many template of the same page in one order (Click)
    the page is date is bind from a row date that user selected from ADF table ,
    if the user select 2 or more rows ,, and click on Print button , i want to print all the pages , at same time
    i use IFrame and javascript code to fire print window
    <script type="text/javascript">
    function printDiv()
    PrintableX.focus();
    PrintableX.onblur = Blur;
    PrintableX.print();
    function Blur()
    PrintableX.focus();
    PrintableX.onblur = null;
    </script>
    /////// where PrinTabelX : is Iframe id
    ,, but this can only print a page at a time ,
    so is that possible to print many pages in web application ?

    Hi,
    Sorry I can't work out your question BUT if you wish to merge many pdf files to one pdf file you can use this free program (download from the following link):
       http://www.pdfsam.org/?page_id=32
    This program also allows you to split one big unprotected pdf file to many smaller pdf files such as extract few chapters from a thick book.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Unable to open OAF page oracle.adf.mds.MetadataDefException:

    I am unable to open a OAF OAF page. The error message that i am getting is
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /bob/oracle/apps/ak/pmrtest/webui/PMRTestPG-ROHR-MRA=36105=3014=Y=Y, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    I tried running the below
    begin
    jdr_utils.printdocument(<PageName>);
    end;
    It throws and error "Could not find document <Pagename>"
    Can anyone pls help resolve this issue
    Thanks

    Hi Gyan,
    When I printdocument for that region, I see the xxpositionname1 as the messagestyledtext item.
    <insert before="ManagerColumn">
    <oa:column id="xxPositionName" adminCustomizable="true" bandingShade="none" cellNoWrapFormat="false" columnDataFormat="textFormat" displayGrid="true" rendered="true" scope="." totalValue="false" userCustomizable="false"
    xmlns:oa="http://xmlns.oracle.com/oa">
    <ui:columnHeader xmlns:ui="http://xmlns.oracle.com/uix/ui">
    <oa:sortableHeader id="xxPositionNameSH" adminCustomizable="true" cellNoWrapFormat="false" initSortSeq="none" prompt="Position" rendered="true" required="no" scope="." sortState="yes" userCustomizable="false"/>
    </ui:columnHeader>
    <ui:contents xmlns:ui="http://xmlns.oracle.com/uix/ui">
    <oa:messageStyledText id="xxPositionName1" adminCustomizable="true" cellNoWrapFormat="false" dataType="VARCHAR2" initSortSeq="none" prompt="Position" queryable="false" rendered="true" required="no" scope="."
    selectiveSearchCriteria="false" serverUnvalidated="false" sortState="no" tipType="none" totalValue="false" userCustomizable="false" vAlign="middle" viewAttr="Name1" viewName="IrcOfferSearchVO" warnAboutChanges="true"/>
    </ui:contents>
    </oa:column>
    </insert>
    Thanks,
    HC

  • Unable to get the output when i run any jsf page in adf

    Hi,
    I have created one jsf page to access the business components which i had created earlier after that when i drop the another panel splitter into the second facet of the initial panel splitter we created , I was unable to see in the workspace (.jpx) window.can you suggest me on this.
    after done all the steps if I tried to run that page it starts the WLS servier and createda URL but the url is taking long time approx more that two hour and still not getting the required output only the loading window I can see.
    Please suggest me on this.
    Thanks
    Chetan

    Hi,
    the panelSplitter should at least show in the Structure Window. So check if it is there. The runtime issue can be caused by the proxy settings. Go to Tools / Preferences --> Browser and Proxy and add localhost to the list of exclusion
    If you are new to ADF I recommend running a tutorial like this: http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
    Frank

  • Acrobat 10 not Scanning all Pages from ADF (Automatic Document Feeder)

    Acrobat 10 does not scan all of the pages from the Automatic Document Feeder from an attached scanner, and only scans some of the pages. The ADF works fine with the built-in Windows 7 Scan and Fax, as well as with HP's software, but it just won't work with Adobe Acrobat for whatever reason. The scanners that we are using are brand new, and the model is: LaserJet Pro 200 color MFP M276mw. The issue has been duplicated on four computers and two scanners, in a Windows 7 x64 Enterprise environment. A video of the exact problem can be found here: http://uncoolcat.com/work/LaserJet_Pro_200_Color_M276.mp4
    Would somebody be able to help us resolve this issue?

    Hi Varinder,
    Thank you for the suggestion! We wound up figuring out a way to make their "full feature" software (which does include the TWAIN drivers) install mostly silently, and install only if they've connected the device locally to their computer, as noted in the other post that was submitted a few minutes ago. I really appreciate all of the help that you’ve given us!
    In order to duplicate the WIA driver issue, use only the “HP LaserJet Pro 200 Color M276 PCL6 Print Driver (no installer)” (LJ-Pro-200-color-MFP-M276-driver-only-13170.exe) driver package. This driver only package doesn’t appear to have any of the files you mentioned in your previous post in the Scan_App folder for the TWAIN functionality (but those files are available in the “full feature” setup). We copied the entire “driver-only” folder to our plug and play driver folder, and the drivers automatically install. Once they get installed, there isn’t a TWAIN option anywhere to be found in any scanning application, just the WIA driver as far as I can tell. Adobe Acrobat 10 when using the ADF then skips some pages when scanning.
    However, now that you’ve found the install files for the TWAIN driver for the scanner, this should be a non-issue for people as they can just install those and use TWAIN instead, so thank you!
    Also, I find it rather amusing that you were able to help us with what appears to be an HP issue far better and faster than HP did or could. We spoke with seven people at HP, and not a single one of them pointed us in any useful direction or provide us with any useful information on the matter; had we followed any of their advice we would have lost countless hours (one person suggested taking the scanners apart and thoroughly cleaning the rollers, even though it was clearly stated they work fine from a hardware perspective with the full feature software installed and that they are brand new). So anyway, thank you. If you require anything else from us, let me know.

  • Panel Page in ADF Faces using Facelets not rendering correctly

    Hi, I am attempting to integrate facelets into a web app built using adf faces and am running into a problem with the panel page component. I have integrated facelets and adf faces without any problems by adding relevant jars (jsf-facelets and adf-facelets) to the project and specifying alternate facelets view handler in web.xml.
    However, when I try to render any component inside <af:document> or <af:html> tags, all the font style in components seems to be lost ( all the text and input fields turn large and ugly!).
    I tried to leave out the <af:document> tag and put the <f:view> inside some vanilla html instead, but then panelPage component dosen't render properly and I get following message on top of page :
    "Skip navigation elements to page contents"
    So seem to be in a bit of a catch 22. By the way, this all works fine if I don't use facelets (remove the facelets view handler from web.xml and page renders correctly).
    Does anyone have any ideas or examples of panelPage rendering correctly with facelets or an alternative to using adf faces html tags that will allow panelpage to be displayed?
    The following is the code from a simple test jspx page :
    <?xml version='1.0' encoding='windows-1252'?>
    <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:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    <f:view>
    <af:document>
    <af:form>
    <af:panelPage title="Title 1">
    <af:panelHorizontal>
    <af:panelGroup layout="vertical">
    <af:outputLabel value="Username"/>
    <af:inputText id="lo_username" value="" columns="20"/>
    <af:objectSpacer width="1" height="10"/>
    <af:outputLabel value="Password"/>
    <af:inputText id="lo_password" secret="true" value="" columns="20"/>
    <af:objectSpacer width="1" height="15" />
    <af:panelHorizontal>
    <af:objectSpacer width="50" height="1"/>
    <af:commandButton id="lo_loginButton" text="Login"/>
    </af:panelHorizontal>
    </af:panelGroup>
    <af:objectSpacer width="50" height="1"/>
    <af:panelGroup layout="vertical">
    <af:outputLabel value="Please use your windows account username"/>
    <af:outputLabel value="and password to logon to the system"/>
    <af:objectSpacer width="1" height="50"/>
    </af:panelGroup>
    </af:panelHorizontal>
    </af:panelPage>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

    The problem was the <jsp:root> tag. Removed this tag and modified <af:document> to the following so that namespaces are declared :
    <af:document xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    Page now renders properly using facelets.
    Message was edited by:
    mjc

  • How do you set up the update password page in ADFS 3.0

    Hello,
    We have recently migrated to ADFS 3.0.  Everything is working except the update password feature.  In the KB article
    http://technet.microsoft.com/en-us/library/dn280950.aspx  the section under Update Password says that I need to enable  the ADFS endpoint -
    /adfs/portal/updatepassword/ and restart the ADFS service.
    This has been done, but when I go to
    https://sts.domain.com/adfs/portal/updatepassword.  All I get is a page that says "An error occurred.  contact your administrator."
    What I am trying to accomplish is this. 
    http://technet.microsoft.com/en-us/library/dn280950.aspx
    Any help would be greatly appreciated.
    Thanks
    Cheston

    it does not work domain joined machines! yes, I know. you are not the first one trying. it should also support domain joined machines, but unfortunately it only supports
    workplace joined machines
    <QUOTE>
    The update password page is only available for Workplace Joined devices
    </QUOTE>
    on the domain joined machine you can just use ctrl+alt+del to change the password
    Cheers,
    Jorge de Almeida Pinto
    Principal Consultant | MVP Directory Services | IAM Technologies
    COMMUNITY...:
    DISCLAIMER: This post is provided "AS IS" with no warranties of any kind, either expressed or implied, and confers no rights! Always evaluate/test yourself before using/implementing this!

  • How to display the Current Date on page using ADF Components

    Hi,
    Is there any way to display the system date on a page developed using ADF Components.
    I am thinking of writing the java code to display the date. Just wanted to check is there any pre-defined component of ADF that I can make use of.
    Could anyone tell me how to do this using ADF components?
    Thanks in advance.
    Sivaji....

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

  • How to save the modified rows in jspx page usind adf default commit action

    Hi,
    We are displaying some columns of the database table in jspx page. Here we are using adf commit action to save these values to database which is updating all the rows by default. In this page there are some editable columns which the user can miodify. How can we update only these modified rows using default adf commit action. Also we want to update last_updated_date column of that particular row which is modified in the UI from backing bean .
    Can anyone please help us in solving this.
    Thanks in advance

    User,
    A key question - what are you using for the model layer (ADF Business Components, JPA, EJB, etc)?
    How are you determining that a "commit" action is updating rows (even those which haven't changed)?
    If you are using ADF Business Components - have a read in the documentation about history columns - the use case you describe (updating the last_udpdated_date column) is supported "out-of-the-box" for this.
    John

Maybe you are looking for

  • IPod Touch with Composite AV Cable: Issues

    I purchased the new $50 composite AV cable when it was released a few months back. I've been using it frequently with no real issues (whenever I play a video, my iPod recognizes that it is connected to a TV and prompts me to choose whether or not to

  • DVI out to external monitor not working anymore

    Hi, I have been using my MBP with an external Dell 17" LCD for a dual monitor setup. Suddenly after about 5 months of flawless working, it is not detecting the external display anymore. The display is not at fault - another powerbook detects is as us

  • Attributes with dynamic type

    Hello all, I've been writing a set of libraries for a CRUD application, whereby you specify the table and column names in a model class and it will handle the Ajax stuff for you. All well and good. I have validation functions that use the signature:

  • Jws  JDK6 and  new splash screen functionality

    Houdy, We are running jdk6 remote clients using Mustang Beta 2 . Everything works fine excepts that we cannot run our new custom splash screen . The splash screen perfectly works launching the jar "out of the box" thanks to the SplashScreen-Image dec

  • Updating Read-Only Field

    All, We have some read-only fields (configured @ the page layout settings) in OnDemand edit form As per the business rule, the values for these fields has to be set externally using a weblink in the same form We are able set back the externally selec