ADF dialog framework problem

I am using the "old" dialog framework in ADF 11G.
I create two pages. One page "pops" the other with dialog:page2 and usewindow.
This works fine when i create a simple web project.
But when i create the same code in a ADF ViewController project the second window opens in the same window as the first one.
Is this a bug?
Johnny

Hi Frank,
This will show you my problem:
1. create new application
2. choice fusion web application
3. press finish
4. created JSF page main:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document>
<af:form>
<af:commandButton useWindow="true" action="dialog:popup" text="commandButton 1"/>
</af:form>
</af:document>
</f:view>
</jsp:root>
5. created JSF page popup:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document>
<af:form>
<af:outputText value="outputText1"/>
</af:form>
</af:document>
</f:view>
</jsp:root>
6. create Faces navigation rule:
<?xml version="1.0" encoding="windows-1252"?>
<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
<application>
<default-render-kit-id>oracle.adf.rich</default-render-kit-id>
</application>
<navigation-rule>
<navigation-case>
<from-outcome>dialog:popup</from-outcome>
<to-view-id>/popup.jspx</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
7. run the main page
8. using ie 7 the main page shows
9. push the button: no pupup, instead the "popup-page opens in same window as my main page
Can I mail you the project, somehow?

Similar Messages

  • ADF Dialog Framework Cancel Button

    Hi all,
    We're experiencing, in multiple applications, a problem with a Cancel button (immediate="true") on a page launched by the dialog framework. While the value does not change in the model layer (saving to the database confirms this), it does seem to appear in the application UI, even after clicking the cancel button, until you post data.
    Details follow:
    This code is all JHS-generated, but we've spoken to Steven Davelaar, and he's pretty sure it's not a JHS problem. I certainly can't see anything obviously wrong with the code.
    Here's the component that launches the dialog, minus attributes like "rows" and "columns":
    <af:panelLabelAndMessage label="MIS Notes: "
        id="RpReportDocHeaderVwMisNotesLabel">
        <af:inputText id="SomeAttr" value="#{bindings.SomeAttr.inputValue}"
            required="#{bindings.SomeAttr.mandatory}"
            simple="true" partialTriggers="SomeAttrEditorLink"
            binding="#{SomeAttrEditorItem.editorItem}">
        </af:inputText> 
        <f:facet name="end">
            <af:commandLink id="SomeAttrEditorLink"
                action="dialog:editor" immediate="true" useWindow="true"                           
                partialSubmit="true" windowHeight="320" windowWidth="670"
                returnListener="#{SomeAttrEditorItem.returnedFromEditor}"
                launchListener="#{SomeAttrEditorItem.launchEditor}">
                <af:objectImage source="/jheadstart/images/editor.gif"/>
            </af:commandLink>
        </f:facet>
    </af:panelLabelAndMessage />The editor window, minus layout, form, etc. elements, is as follows:
    <af:inputText rows="10" columns="100"
        value="#{processScope.editorValue}"
        maximumLength=
            "#{processScope.editorMaxLength==0 ? null : processScope.editorMaxLength}" />
    <af:panelButtonBar>
        <af:commandButton text="Cancel" immediate="true">
            <af:returnActionListener/>
        </af:commandButton>
        <af:commandButton text="OK">
            <af:returnActionListener value="#{processScope.editorValue}"/>
        </af:commandButton>
    </af:panelButtonBar>Now, SomeAttrEditorItem is a managed bean of type oracle.jheadstart.controller.jsf.bean.EditorItemBean, so it's JHS code, but nothing about it should really matter if the returnActionListener for the Cancel button doesn't contain a value and is immediate, should it?
    Any help much appreciated. Thanks much,
    Avrom

    Thanks, Frank. This looks like a JHS bug (albeit one we can work around by writing our own template)--JHS should probably not be generating code that leaves cancelled changes in place. I'll notify them on their forum.
    [Edit:] Actually, there's something I don't understand about the instructions. In a case like this, I really only want to undo changes to a particular attribute--whatever attribute the dialog changed. And ideally, I don't want to refresh to the last pre-commit point; I want to just discard the changes that were made by this particular dialog. So I don't really think Row.refresh() is going to work here.
    Now, I could do something like this: In the launch listener, store the relevant attribute in some transient location, and on return, refresh it. But that seems overly complicated; isn't there a way to just not submit a dialog's values upon returning to the original form, or, at least, to prevent them from updating the model?
    Message was edited by:
    Avrom
    [Further edit:] Wait, no, there's something even stranger going on here. Note that the text input in the dialog isn't bound to "#{bindings.SomeAttr.inputValue}"; it's bound to "#{processScope.editorValue}". And the cancel button doesn't even have a returnActionListener! So how is the value getting passed back to the original form?
    Message was edited by:
    Avrom

  • ADF Faces: dialog framework calls  twice prepareModel and prepareRender

    Hi ,
    does anybody know why ADF Faces dialog framework calls twice prepareModel and prepareRender lifecycle methods . That's a really problem for me because i'm calling db procedures through backing beans methods which are attached on components properties.
    I cannot allow myself to cal the procedures more than once.
    Can somebody help me?
    Krasi

    Okay, although the servlet doesn't require to be run inside the JSF context, I added "/faces" to the URL simply because this would allow me to query the "postback" flag. In other words, I changed the invocation URL from "/jrrun" to "/faces/jrrun".
    In the servlet's "service()" method I put:
    logger.debug(">>>>>> isPostBack? " + AdfFacesContext.getCurrentInstance().isPostback());
    I also attached a JSF PhaseListener to the whole thing.
    Then I opened the parent page, I clicked on the button and the dialog appeared. The console output follows:
    07/01/19 21:37:05 ------------- start of phase RESTORE_VIEW 1
    07/01/19 21:37:05 ------------- end of phase RESTORE_VIEW 1
    07/01/19 21:37:05 ------------- start of phase RENDER_RESPONSE 6
    2007-01-19 21:37:05,156 - DEBUG - >>>>>> RunJasperReport: beginning
    2007-01-19 21:37:05,156 - DEBUG - >>>>>> isPostBack? false
    2007-01-19 21:37:05,156 - DEBUG - >>>>>> RunJasperReport: repPath=/reports/newRegByBusType_Report.jasper
    2007-01-19 21:37:07,047 - DEBUG - >>>>>> RunJasperReport: report output (PDF) was generated successfully. Its total size is 59596 bytes.
    2007-01-19 21:37:07,047 - DEBUG - >>>>>> RunJasperReport: done
    07/01/19 21:37:07 ------------- end of phase RENDER_RESPONSE 6
    07/01/19 21:37:09 ------------- start of phase RESTORE_VIEW 1
    07/01/19 21:37:09 ------------- end of phase RESTORE_VIEW 1
    07/01/19 21:37:09 ------------- start of phase RENDER_RESPONSE 6
    2007-01-19 21:37:09,625 - DEBUG - >>>>>> RunJasperReport: beginning
    2007-01-19 21:37:09,625 - DEBUG - >>>>>> isPostBack? false
    2007-01-19 21:37:09,625 - DEBUG - >>>>>> RunJasperReport: repPath=/reports/newRegByBusType_Report.jasper
    2007-01-19 21:37:09,672 - DEBUG - >>>>>> RunJasperReport: report output (PDF) was generated successfully. Its total size is 59596 bytes.
    2007-01-19 21:37:09,688 - DEBUG - >>>>>> RunJasperReport: done
    07/01/19 21:37:09 ------------- end of phase RENDER_RESPONSE 6
    By the way, partialSubmit="true" has the same effect as partialSubmit="false".
    I'm not sure I understand you correctly. Or perhaps you don't understand me correctly.
    I haven't got a problem with the parent page. I have a problem with the dialog page. It's executed twice. The RENDER_RESPONSE phase (as well as the RESTORE_VIEW phase) is executed twice.
    I want it to be executed only once. I don't want the servlet to be executed twice.
    Let me point out again that in the Embedded OC4J (inside JDeveloper) everything is okay. The servlet is executed only once. However, the same thing on OAS 10.1.3.1 runs twice.

  • Can ADF Faces Dialog Framework be used in a Bounded Task Flow ?

    Jdev. 11.1.1.4
    I have read chapter "19 Using Dialogs in Your Application" in the Jdev documentation.
    There explains that there are mainly two methods to open dialogs in ADF:
    The first (point 19.2) is calling a bounded task flow from a view activity (for example). This system can only open modal windows.
    The other is using the ADF Faces Dialog Framework and it seems to be more general. In point "19.3.1 How to Define a JSF Navigation Rule for Opening a Dialog" it is explainied the way to achieve this but the explanation begins with "In the adfc-config.xml file, create a page flow for".
    does this mean that I can not use this technology inside a Bounded task flow ?
    I have tried and it seems that it doesn't work.
    Currently we are using af:showpopupbehaviour to open popups, but this doesn't work with task flows and I don't like this.

    does this mean that I can not use this technology inside a Bounded task flow ?ADF Faces Dialog Framework can be used in both unbounded and bounded taskflows.
    I have tried and it seems that it doesn't work.The command commponent outcome must begin with "dialog:" and the command component tag must have useWindow="true", for example:
    <tt><af:commandButton action="dialog:toEdit" useWindow="true" .../></tt>
    Currently we are using af:showpopupbehaviour to open popups<af:showPopupBehaviour> can be used to open inline popups, but it has nothing to do with the Dialog Framework. Inline popups and the dialogs of the Dialog Framework are two different things.
    Dimitar
    Edited by: Dimitar Dimitrov on Jul 27, 2012 3:33 PM

  • ADF Faces: PPR and Dialog framework

    Hi All,
    I know that there have been some navigation-related issues reported with 10.1.3 and the dialog framework, so if this is a bug.....
    Anyway, I have an ADF Faces page that displays some data (from ADF View Object) in an af:Table. I have an "Edit Record" button and a "Create Record" button in the appropriate facets of the table. The 2 buttons use a dialog: navigation case (useWindow=true) to open a pop-up window with a record displayed for editing. Each of the buttons also has partialSubmit=true with an appropriate ID set on the button.
    Now, I am trying to get the table to refresh upon return from the dialog. After much experimentation, I have found that setting the partialTriggers property on the af:OutputText components that are inside the af:Table->af:Column will cause an existing row to refresh upon return from the edit button. However, I cannot get a new row to show up inside of the table upon return from the create button. I have tried setting partial triggers on the af:OutputText, af:Column, af:Table, etc all the way up to the top-level af:Page to no avail. I have also tried refreshing the iterator binding in the dialog return, to no avail. If I completely refresh the page (see sample code below), the record does show up, but it does cause other undesirable side effects (screen scrolls to the top, af:showDetailHeader's re-set their state, etc).
    Any pointers are appreciated...
    Here is the code behind my create button:
      public String performCreateCheck()
        DCBindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("CreateNewCheck");
        Object result = operationBinding.execute();
        // Stuff snipped - the CreateNewCheck binding does a "CreateInsert" on my VO
        return "dialog:EditCheck";
      }Here is the code that refreshes the page (causes the new row to appear):
      protected void refreshCurrentPage()
        FacesContext context = FacesContext.getCurrentInstance();
        String currentView = context.getViewRoot().getViewId();
        ViewHandler vh = context.getApplication().getViewHandler();
        UIViewRoot x = vh.createView(context, currentView);
        x.setViewId(currentView);
        context.setViewRoot(x);
      }Kind regards,
    John

    Found this: http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#81
    on Steve M's blog. His example uses exactly the same method that I do. However, It would be nice to get this working "properly" with PPR instead of refreshing the whole page. Here are what I see as the drawbacks to the "refresh the whole page" method:
    1). The page will scroll up to the top. If the page is bigger than a screenful, this is an annoyance.
    2). Any af:showDetailHeader's will have their disclosed property reset (unless you implement some method of saving their state). This is an issue for me, as the af:Table is inside of a normally un-disclosed af:showDetailHeader
    3). If any component anywhere puts something into the faces messages (e.g. "Record saved"), it will be lost when the page is refreshed.
    Any ideas on how to get this working with PPR?
    Regards,
    John

  • Find Criteria problem in ADF BC framework with DataServices for tables 1to1

    Hi..
    I have built a DataService (Database tables exposed as WebServices) using ADF BC framework in JDeveloper.
    I have used 2 tables Cqualitycategory(Parent) and Cqualitycategoryxref(child) with 1 to 1 relationship on id Cqualitycategoryid.
    This service exposes operations such as Create, Update, Find, delete & etc.
    After providing this service WSDL path to SOAP UI tool and when I try to hit the find criteria(*childFindCriteria*) using the below request I receive all the records of the child for a single parent table(Having multiple records for the child tables). But according to the below request(childFindCriteria filter) I should only get the records which matches the filter along with the Parent record.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="/com/abc/csim/ebo/module/common/types/" xmlns:typ1="http://xmlns.oracle.com/adf/svc/types/">
    <soapenv:Header/>
    <soapenv:Body>
    <typ:findCqualitycategoryBO>
    <typ:findCriteria>
    <typ1:fetchStart>0</typ1:fetchStart>
    <typ1:fetchSize>-1</typ1:fetchSize>
    <typ1:filter>
    <typ1:group>
    <typ1:upperCaseCompare>true</typ1:upperCaseCompare>
    <typ1:item>
    <typ1:upperCaseCompare>true</typ1:upperCaseCompare>
    <typ1:attribute>Cqualitycategoryid</typ1:attribute>
    <typ1:operator>like</typ1:operator>
    <typ1:value>209</typ1:value>
    </typ1:item>
    </typ1:group>
    </typ1:filter>
    <typ1:childFindCriteria>
    <typ1:filter>
    <typ1:group>
    <typ1:item>
    <typ1:upperCaseCompare>true</typ1:upperCaseCompare>
    <typ1:attribute>Cqualitycategorycode</typ1:attribute>
    <typ1:operator>=</typ1:operator>
    <typ1:value>P1234</typ1:value>
    <typ1:nested/>
    </typ1:item>
    </typ1:group>
    </typ1:filter>
    <typ1:childFindCriteria/>
    </typ1:childFindCriteria>
    </typ:findCriteria>
    <typ:findControl>
    <typ1:retrieveAllTranslations>false</typ1:retrieveAllTranslations>
    </typ:findControl>
    </typ:findCqualitycategoryBO>
    </soapenv:Body>
    </soapenv:Envelope>
    But the same kind of request (find criteria) is perfectly works fine by giving the desired result(childFindCriteria) with 1 Parent tables and 2-3 childs(1 to many relationship).
    It seems to be an issue with the ADF BC Framework for the tables with 1 to 1 relationship.
    Please suggest me a solution or a work around so that the childFindCriteria works for tables with 1 to 1 relationship.
    Mahesh
    Edited by: user13174911 on Aug 17, 2011 10:03 AM
    Edited by: user13174911 on Aug 17, 2011 10:05 AM

    Hi,
    I think this can be explained the best with the fact that the web is stateless. If you mark a record for update, which you do when you submit it. Then it should get locked in the database. After commit you release the lock and whoever wants to override the value you put in can do this. I don't think that a lock should be released only if a user re-queries the data. You can code this in though: just requery the records on error
    Frank

  • 11g: NavigationHandler.handleNavigation() and dialog framework

    Hi,
    Is it possible to use handeNavigation() method from NavigationHandler to perform navigation which uses dialog framework to show another taskflow as inline popup?
    FacesContext.getCurrentInstance().getApplication().getNavigationHandler().handleNavigation(FacesContext.getCurrentInstance(), null, "myDialogAction");When I do this, I get Error 404--Not Found in the browser (the URL is changed to the task flow which should be displayed as inline popup).
    Thanks,
    Pedja

    Yes, I've added
    <context-param>
    <param-name>oracle.adf.view.faces.CLIENT_STATE_MAX_TOKENS</param-name>
    <param-value>100</param-value>
    </context-param>
    but had no luck. There are a couple things I can add since my last post:
    1) Other folks reported int he forum that their problem was that after opening a dialog several times, the returnListener method wasn't getting fired. This is not the issue for me. My returnListener method gets fired every time I close the dialog.
    2) I had another developer run the same 10.1.3.4 version of the app on her machine in both IE 6 and 7, and we could not recreate this error. For right now, it seems that this is only happening on my machine.
    So... until this comes up on someone else's machine or in our production environment (once these changes are deployed), I'll assume there is something hosed up in my environment that's causing this. What I find weird is that when I run this code in 11g, it works fine even on my machine, which makes me think that this is more of a framework thing than a browser thing. But, if that's the case, why wouldn't it behave the same way on someone else's machine? I'll consider this issue closed for now... But, if you have any thoughts/ideas, I'd be interested in hearing them. Thanks for the help.

  • Dialog framework and commandButton doesn't display in new window

    I'm using a af:commandButton to launch a dialog in a new windows with no luck
    I'm using EA1 and ADF EA 19, my command button is
    <af:commandButton text="dialogo"
    launchListener="#{controladorLink.launch}"
    useWindow="true"
    returnListener="#{controladorLink.regreso}"
    partialSubmit="true"
    action="#{controladorLink.accion}"
    actionListener="#{controladorLink.actionListener}"
    windowHeight="200" windowWidth="300">
    Am I doing something wrong? According to the Dialog Framework documentation you need to set an "useDialog" attribute, but it doesn't exists in commandButton, do I need to use commandLink necessarily?
    Thanks

    Did you take care of these requirements?
    The value bound to the action should return a string of the form "dialog:.....".
    Eg: <af:commandButton text="Show More Information"
    action="dialog:showDetail"/>
    And there is a navigation-case that needs to be added to the faces-config.
    <navigation-rule>
    <from-view-id>/*</from-view-id>
    <navigation-case>
    <from-outcome>dialog:showDetail</from-outcome>
    <to-view-id>/showDetail.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    Hope this helps.
    Thanks,
    Balaji

  • Validation Errors with adf dialog

    Hi!
    We are using Oracle BC and ADF Faces.
    I'm having some validation problems with a adf dialog.
    The scenario is the following:
    An editing page.
    A field in this page has a LOV.
    The LOV has some search criteria, and a search button.
    When the button is clicked, the results appear on a table. The user selects one and the lov is closed.
    When filling the editing page the Lov is opened.
    When i don't put search criteria in the fields, no validation errors appear.
    If i put one or more search criterias, validations errors of the editing page appear.
    Why is this happening?
    Thanks.

    Please post a link to your site.
    Gramps

  • ADF Security Framework

    Hi,
    Has somebody successfully implemented ADF Security framework with LDAP provider?
    I followed this nice article by Frank http://www.oracle.com/technology/products/jdev/howtos/1013/adfsecurity/adfsecurity_10132.html
    and it works but very slow - I must say I have maybe 100 VO's attributes on page, but to wait 3minutes to get rendered the page is too long. Maybe some bottleneck somewhere so I am asking...
    thanks,
    Branislav

    Hi
    I have also used ADF security using LDAP with less VO's per page without any problems.
    I must tell you however that during development I use file based security and change it to LDAP later on during deployment on the application server (I use 10.1.3.1).If you combine this with SSO then you end up with a neat solution -- that in my case more or less works satisfactorily. :-)
    Thanassis

  • Override renderKit to customize the dialog framework behavior

    Hi all,
    We're using JDeveloper 11.1.1.5.
    Our requirement is to hide the browser's tool bar of the window opened by the dialog framework.
    The below post says that the dialog framework only cares for height and width and ignores all other parameters.
    How to Make dialog as full screen
    And the below Java Doc says that the list of window property names that are supported by DialogRenderKitService.launchDialog() depend on the RenderKit.
    http://www.jarvana.com/jarvana/view/org/apache/myfaces/trinidad/trinidad-api/1.2.7/trinidad-api-1.2.7-javadoc.jar!/org/apache/myfaces/trinidad/render/DialogRenderKitService.html#launchDialog%28javax.faces.context.FacesContext,%20javax.faces.component.UIViewRoot,%20javax.faces.component.UIComponent,%20java.util.Map,%20boolean,%20java.util.Map%29
    Therefore it is likely that we can accomplish our requirement if we implement our own renderKit and set it as default.
    Is it possible to override default renderKit (oracle.adf.rich) to customize the dialog framework behavior?
    Regards,
    Kenji

    Thanks for your response.
    However I think that overriding renderer is not the way to go but overriding render kit is.
    It seems to me that dialog launching in the dialog framework is executed by launchDialog() method of DialogRenderKitService which is obtained as follows.
    RenderKit rk = FacesContext.getCurrentInstance().getRenderKit();
    DialogRenderKitService service = Service.getService(rk, DialogRenderKitService.class);Thus the solution should be, I think, something like this:
    1. Override launchDialog() of DialogRenderKitService of the dialog framework so as to launch a dialog without the browser's toolbar.
    2. Extend the default render kit (oracle.adf.rich) so as to return the extended DialogRenderKitService when Service.getService(rk, DialogRenderKitService.class) is called.
    3. Set the extended render kit as default in faces-config.xml.
    However, this is not easy (or I should not do this) as both the default DialogRenderKitService and render kit are in internal packages.
    There may be another solution that is applicable.
    Any idea?
    Regards,
    Kenji

  • How to detect ADF Dialog opened from BPM Worklist Pane

    Hi All,
    I am working on Jdeveloper 11.1.1.5. I have deployed my ADF Application on SOA Managed Server. User does approval/rejection process of the Invoices using the ADF Forms in BPM Workllist. I need to set the size of the ADF Form which gets opened as a Dialog in modal behavior by BPM Worklist on double click. How can i get the handle of the ADF Dialog which gets opened by BPM Worklist.
    Kindly Suggest!!!'
    Regards
    Shah

    Any Update on this.
    Regards,
    Shah

  • Web Center app with ADF Security - login problem

    I have a custome Oracle Web Center app.
    I have a page.html with an embedded login form posting to j_security_check. I've configured the ADF security policies to redirect to a JSPX on successful login.
    When I try the correct username/password, I get redirected not to the page I defined in ADF, but to the root page http://127.0.0.1:7101/MyApp-ViewController-context-root/
    and i get
    Error 403--Forbidden
    I've checked the weblogic.xml as per http://andrejusb.blogspot.com/2009/12/solving-error-403-forbidden-in-adf.html, all the required entries are there.
    This works fine if i use a Login link with
    destination="#{'/adfAuthentication?login=true&amp;end_url=/faces/postLogin.jspx'} "
    which redirects to the default login.html and then to the right page. I've copied the form from the default login.html into my master HTML page.
    Hope my question is clear. Any suggestions why it is going to the wrong URL after login.
    Is there anything specific I should see in the jazn-data.xml or web.xml regarding the post-login URL since i cant see that in either.
    P.S. Have been advised to try here when I originally asked this in the WebCenter forum. Web Center app ADF Security - login problem
    Edited by: new_to_webcenter on 18-Jan-2011 05:25

    Thanks for your response Frank.
    The web.xml has
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>valid-users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/login.html</form-login-page>
    <form-error-page>/error.html</form-error-page>
    </form-login-config>
    </login-config>
    When configuring ADF Security via JDev , I chose "Redirect upon successful authentication" to the Welcome Page
    "/faces/postLogin.jspx"
    this then adds into web.xml
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <init-param>
    <param-name>success_url</param-name>
    <param-value>/faces/postLogin.jspx</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    So the sequence which works is:
    Login via the '/adfAuthentication?login=true&end_url=/faces/postLogin.jspx' and this redirects to login.html (OOTB form which posts to j_security_check) and then to the postLogin.jspx
    I'm trying to do away with a Login link, and trying the simple login form embedded in my page alongwith other content.
    So should the form be posting to j_security_check directly or to the adfAuthentication ?

  • How to stop modal blocking in adf dialogs?

    How to stop modal blocking in adf dialogs?
    blocking="false" has no effect.
    <af:commandLink id="showRequestDetail"
    action="dialog:guide.sa_requestDetail" partialSubmit="true"
    actionListener="#{shareAccessRequestDetail.load}"
    useWindow="true" blocking="false" immediate="true">

    Scratch that...useWindow was there -- it just wasn't popping a window when a non-dialog action was specified.
    <af:commandLink action="userDetail" partialSubmit="true"
    windowHeight="600" windowWidth="500" actionListener="#{userDetail.load}"
    useWindow="true">
    <af:outputText value="#{row.Efirstname}"/>
    </af:commandLink>
    The above code does not pop a new window despite the fact that useWindow is true.

  • Programmatically change size of dialog framework

    Hi All,
    + I'm using JDev 11.1.2.3
    + Currently, i show popup by using "dialog:" as prefix of CommandButton action string
    So, Can anybody tell me how i can modify size of dialog framework programmatically?
    P/s: I use dialog framework, I do NOT use <af:popup />
    Thank you very much,

    approach 1:
    private RichCommandButton btnSave;
    public void setBtnSave(RichCommandButton btnSave) {
    this.btnSave = btnSave;
    public RichCommandButton getBtnSave() {
    return btnSave;
    public void clickButton(ActionEvent) {
    btnSave.setInlineStyle("input your style");//how you can change inline style in your bean
    <af:commandButton id="navigateButton" action="dialog:openWindow" useWindow="true" windowEmbedStyle="inlineDocument"
    binding="#{testbean.btnSave}"/>
    approach 2 :
    private String inStyle;
    public void setInStyle(String inStyle)
    this.inStyle=inStyle;
    public String getInStyle()
    return Style;
    <af:commandButton id="navigateButton" action="dialog:openWindow" useWindow="true" windowEmbedStyle="#{testbean.inStyle}"
    />
    Edited by: vikasadf on Apr 1, 2013 7:11 AM

Maybe you are looking for