Glass Pane with ADF jsfx

Hi,
Does anybody know how to create a glass pane in a ADF-jsfx page?
My problem is how to avoid the user to click in multiple checkboxes in a table that has a change listener in each row (checkbox).
While the request is being submitted, after the user clicked on a checkbox, the user is still allowed to perform other actions on the form, mixing (messing) up...
I would like a blocking="true" like behavior for other components besides buttons.
A glass pane would do it...
Thanks for any tips..

Thanks Frank.
I tried some things such as changing the cursor (wait) but it is not good enough because some components override this.
A valueChangeListener wouldn't do it because my problem is the latency between request-response. After I get the response I have no problem.
The problem is the time between the request and the response. It would have to be done on the client side with javascript after a page event (like onclick).

Similar Messages

  • Different glass pane behaviour in Mac and Windows

    I have an application with a glass pane containing a panel that is set non-opaque. On this panel I do amouse drag and draw a transparent rectangle when the mouse is released. On the main frame below there is a picture. This works fine on a Mac, I end up with a transparent rectangle on top of the bottom frame. However, when I run the same program on a Windows machine, as soon as the mouse is released, the rectangle is drawn and the glass pane layer gets opaque, hiding the picture below.
    Any solutions?

    >
    I'd suggest you to post some code. ...>Some code is good, but an SSCCE is better. ;-)

  • Glass Pane( preventUserInput when user clicks on Search button in af:query)

    Hi,
    We are using glass pane implementation on a search screen.
    When I click on Search button in af:query component (having selectInputDate (Date Picker) components)., glass pane is firing correctly,
    but second time when I am trying to select date using Date Picker (and Change the Month), glass pane is fired (entering into handleBusyState function) and calendar popup is not opening.
    I folled the below article for implementation.
    url: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/27-long-running-queries-169166.pdf used for glassPane implementation.
    Can any one help me for this issue.

    Hi am using the following code (javascript) -- Jdev(11.1.1.3)
    function preventUserInput(evt){   
    var eventSource = evt.getSource();
    var popup1 = eventSource.findComponent("showGlassPanePopup");
    if (popup1 != null){
    AdfPage.PAGE.addBusyStateListener(popup1,handleBusyState);
    evt.preventUserInput();
    //JavaScript call back handler
    function handleBusyState(evt){ 
    var popup = AdfPage.PAGE.findComponentByAbsoluteId('r3:0:r1:0:showGlassPanePopup');
    if(popup!=null){
    if (evt.isBusy()){
    popup.show();
    } else if (popup.isPopupVisible()) {
    popup.hide();
    AdfPage.PAGE.removeBusyStateListener(popup, handleBusyState);
    ... End of Code..
    This line .. (popup.isPopupVisible()) removes the Popup , if popup is visible...
    If u want the view am using..
    SELECT EMPNO , DEPTNO , HIREDATE FROM EMPLOYEE (sample Application i have created), created a view criteria for this..
    ( (EMPNO = :empNum ) AND (DEPTNO = :deptNum ) AND (TO_CHAR( TO_TIMESTAMP(HIREDATE), 'yyyy-mm-dd hh24:mi:ss.ff') = :hireDts ) ) (View Criteria)
    .. <af:clientListener method="enforcePreventUserInput" type="query"/> (added for af:query)
    Popup Used: <af:popup id="showGlassPanePopup" contentDelivery="immediate">
    <af:dialog id="d2" type="none" closeIconVisible="false">
    <af:panelGroupLayout id="panelGroupLayout1" layout="vertical">
    <af:outputText value="Processing......Please Wait.." id="ot97"/>
    </af:panelGroupLayout>
    </af:dialog>
    </af:popup>
    1. When i click search for first time.. it is showing like -- Processing .. Please Wait'
    2. When i click select Date picker it is show -- Processing .. Please Wait'
    and show a calender popup window.. If we change the month ... it will again show like -- Processing .. Please Wait'
    and it will not open calender window.
    Please Help me on this..Am facing trouble due to this.
    Thanks in Advance.
    Edited by: user10115793 on Nov 15, 2011 12:58 AM

  • Splitpane under a glass pane

    I have a lot of components under a transparent glass pane.
    I dispatch mouse events captured by the topmost glasspane
    to underling components converting coordinates with
    SwingUtilities methods.
    Everything works fine except a splitpane. When a try to
    resize one of the components it contains, nothing happens.
    validate(), repaint() methods invoked on the split at event
    dispatching time are completely unusefull.
    The glasspane gets MouseListener and MouseMotionListener
    events.
    Whats the trik to get the split working?
    Thanks.

    Thanks for the response. The application I am writing has a split pane down the middle, with a glasspane on each side already over what are called View containers. However, a View in either of those containers may contain another splitpane.
    I was hoping for a simpler framework style solution such that the developers of a View would not be required to implement their own glasspane functionality and have to tie into the active View management.
    My current recourse is to utilize the KeyboardFocusManager to attempt to accomplish what I was trying to do with the GlassPane: set the active view based on selection in any portion of the View (component or empty Panel area). Got the first half working pretty easily, I expect the second have to be quite more challenging.
    Thanks again.

  • How can I block the keyboard using the glass pane ?

    I have a problem with the GlassPaneDemo from the Java Tutorial in
    the
    uiswing/components/example-swing
    folder.
    When the glass pane is visible it blocks the mouse input but the
    keyboard input doesn't. For example if the glass pane is visible and
    you press the F10 key, the menu will be activated. So the keyboard is
    not at all blocked.
    Can this problem be fixed ? I mean, to really block the keyboard
    when the glass pane is visible.
    Here I wrote down the specification written in the
    Java Documentation at the setGlassPane method from the
    RootPaneContainer interface:
    The glassPane is always the first child of the rootPane and the
    rootPanes layout manager ensures that it's always as big as the
    rootPane. By default it's transparent and not visible. It can be
    used to temporarily grab all keyboard and mouse input by adding
    listeners and the making it visible. by default it's not visible.
    As it may be seen, one says that the keyboard input can be blocked.
    HOW ?
    In hope that I resolve the problem, I have made some changes such as,
    adding a key listener to the glass pane add listening to the keyboard events,
    but I failed to fix the problem.
    Faithfully yours,
    Sarmis

    Here is an example that I think will work for you.
    Note the consume() call on the event object. I think that is what you're after.
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    import javax.swing.*;
    public class Comparer extends JFrame implements ActionListener
        private GlassComponent myGlassPane;
        private JTextField myField;
        public Comparer()
            getContentPane().setLayout(new FlowLayout());
            getContentPane().add(myField = new JTextField(20));
            setGlassPane(myGlassPane = new GlassComponent());
            JButton theButton = new JButton("Glass");
            theButton.addActionListener(this);
            getContentPane().add(theButton);
            pack();
        public void actionPerformed(ActionEvent anEvent)
            myGlassPane.setVisible(true);       
        public static void main(String[] args)
            new Comparer().setVisible(true);       
    class GlassComponent extends JComponent implements AWTEventListener
        Window myParentWindow;
        public GlassComponent()
            super();
            this.setCursor( Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR) );
            setOpaque(false);
            addMouseListener( new MouseAdapter() {} );
        public void setVisible(boolean aVisibleBoolean)
            if(aVisibleBoolean)
                if(this.myParentWindow == null)
                    this.myParentWindow = SwingUtilities.windowForComponent(this);
                Toolkit.getDefaultToolkit().addAWTEventListener(this, AWTEvent.KEY_EVENT_MASK);
            else
                Toolkit.getDefaultToolkit().removeAWTEventListener(this);
            super.setVisible(aVisibleBoolean);
        public void eventDispatched(AWTEvent anEvent)
            if(anEvent instanceof KeyEvent && anEvent.getSource() instanceof Component)
                if(SwingUtilities.windowForComponent( (Component)anEvent.getSource()) == this.myParentWindow )
                    ((KeyEvent)anEvent).consume();
    } HTH,
    Fredrik

  • Why glass pane requires setLightWeightPopupEnabled(false)?

    In the code below, the glass pane is a JPanel which everybody knows is a Swing lightweight component. Then why JComboBox requires setLightWeightPopupEnabled(false) for its proper functioning? What on earth does the method, in the first place? Why glass pane? What oddity in the hell does the glass pane have that other Swing component doesn't, never?
    import javax.swing.*;
    import java.awt.*;
    public class GlassPaneOddity{
      public static void main(String[] args){
        JFrame frame = new JFrame();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JPanel gp = new JPanel(new BorderLayout());
        frame.setGlassPane(gp);
        JComboBox cb
          = new JComboBox(new String[]{"alpha", "beta", "gamma", "delta"});
        cb.setLightWeightPopupEnabled(false); // why this line is so critical?
        gp.add(cb, BorderLayout.NORTH);
        frame.setSize(300, 300);
        frame.setVisible(true);
        gp.setVisible(true);
    }

    This is a quite interesting subject:
    The JRootPane has basically 2 components (although its layout is managing a few more):
    - the glasspane
    - the layered pane
    The z-order of components inside containers (so also for JRootPane) is defined to be:
    - index 0 is highest
    - index 1 is lower but higher than 2 etc...
    The glasspane is added always on index 0 (meaning highest)
    The layered pane is added after (meaning lower)
    Inside the layered pane are added:
    - the content pane
    - the menubar
    And the layout of the rootpane (RootLayout) takes care of the positioning of the glasspane, layered pane, content pane and the menubar.
    The layered pane has a layer for content (containing contentpane and menubar) but also for popups. The popups are shown on top of the content pane, but always under the glasspane.
    As far as I can see this seems to be in line with the explanation under the rootpane tutorial. And in line with Michael's observation.
    Hope it helps,
    Marcel

  • Glass pane in popup

    I have a button on click i will load a popup window. I want to show a glass pane and splash screen in the popup. How can I do that on click of parent screen command button ?
    <af:commandImageLink text="#{row.ProjectName}" id="cil1"
    action="dialog:callEditProject"
    useWindow="true"
    windowEmbedStyle="inlineDocument"
    windowModalityType="applicationModal"
    windowHeight="500" windowWidth="900"
    launchListener="#{EditProjectLaunchBean.launchEditProject}"/>
    I am able to do a glasspane splash screen on the same window using the example
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/27-long-running-queries-169166.pdf
    Thanks
    Suneesh

    I got the same problem. Is there any solution yet??

  • Mouse click position on Glass Pane

    Hi,
    I'm working on a program following this example about Glass Panes:
    http://java.sun.com/docs/books/tutorial/uiswing/components/rootpane.html
    I'm having a problem whith code to detect the component I click on:
    Point glassPanePoint = e.getPoint();
    Container container = contentPane;
    Point containerPoint = SwingUtilities.convertPoint(
                                    glassPane,
                                    glassPanePoint,
                                    contentPane);
    if (containerPoint.y < 0) { //we're not in the content pane
        //Could have special code to handle mouse events over
        //the menu bar or non-system window decorations, such as
        //the ones provided by the Java look and feel.
    } else {
        //The mouse event is probably over the content pane.
        //Find out exactly which component it's over.
        Component component =
            SwingUtilities.getDeepestComponentAt(
                                    container,
                                    containerPoint.x,
                                    containerPoint.y);
    }I don't know if is e.getPoint(), SwingUtilities.convertPoint or SwingUtilities.getDeepestComponentAt, but
    getDeepestComponentAt doesn't return the component I click on. It returns the component which is a little bit down
    on screen.
    Anyone has the same problem and knows how to avoit it?
    Thanks

    The problem was frame borders. With this adjustments works properly:
    final Window window = SwingUtilities.getWindowAncestor(this);
    final Container container = getRootPane().getContentPane();
    final Point pWindow = window.getLocationOnScreen();
    final Point pContainer = container.getLocationOnScreen();
    final int iAdjustmentX = (int)pContainer.getX() - (int)pWindow.getX();
    final int iAdjustmentY = (int)pContainer.getY() - (int)pWindow.getY();
    final MouseEvent mouseEvent = (MouseEvent)event;
    final Point pMouse = mouseEvent.getPoint();
    final Point glassPanePoint = new Point((int)pMouse.getX() - iAdjustmentX, (int)pMouse.getY() - iAdjustmentY);

  • Existing "Glass Panes" Open Template upscaled to HDV?

    My apologies if this has been answered before. Searched around but couldn't find anything similar. I'm editing a project in HDV (1080i60, 1440x1080). Want to export several clips into the various boxes of the Glass Panes Open template, which only seems to be available in NTSC DV format size. I exported the clips out of FCP 5 as NTSC DV clips into Motion (2.1.2) and they look fine in Motion, but I can't seem to find the right setting to upconvert to HDV for importing back into the FCP timeline. I tried opening a project with the HDV presets, but as soon as I open the Glass Panes template it reverts back to 4x3. Also tried various settings at the output stage, but still no joy.
    Any suggestions would be appreciated.
    Thanks

    Peter,
    Thanks for the reply. For point 1, when you say scale the clips in the new timeline I'm assuming you mean the FCP timeline? I already tried outputting from Motion in the Glass template's DV aspect ratio and then scaling it up in FCP, but there was significant aliasing, as you might imagine.
    I'll try setting up an HDV project in Motion and cutting and pasting as you suggested. It's worth a try.
    Thanks for your help.
    Dick

  • Why Glass Pane becomes visible when resizing JInternalFrame?

    This qustion has been asked _*here*_ but got no response.
    Hello,
    I've created a JFrame with JDesktop and one JInternalFrame on it. I've also added a glasspane (which draws a black circle only) to JFrame - it's invisible by default but when I resize JInternalFrame it shows up.. is this correct behavior? Why it is visible only when I resize and diappears when I release mouse button after resize? How I can make it invisible when resizing JInternalFrame? (Is removing JFrame's glasspane only solution?)import java.awt.Graphics;
    import javax.swing.JDesktopPane;
    import javax.swing.JFrame;
    import javax.swing.JInternalFrame;
    import javax.swing.JPanel;
    public class RunMe extends JFrame {
         public RunMe() {
              this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              this.setBounds(10, 10, 800, 600);
              JDesktopPane desktop = new JDesktopPane();
              JInternalFrame testJIF = new JInternalFrame("test", true, true, true, true);
              testJIF.setBounds(10, 10, 100, 100);
              desktop.add(testJIF);
              testJIF.setVisible(true);
              this.add(desktop);
              this.setGlassPane(new MyGlassPane());
              this.setVisible(true);
         private class MyGlassPane extends JPanel {
              public MyGlassPane() {
                   this.setOpaque(false);
              @Override
              protected void paintComponent(Graphics g) {
                   g.fillOval(0, 0, 100, 100);
                   super.paintComponent(g);
         public static void main(String[] args) {
              new RunMe();
    }

    First of all, thank you for being upfront about cross posting.
    Whether this is "correct" behavior or not may be debatable, but it's certainly expected behavior. From the source of javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mousePressed (towards the end of the method)Container c = frame.getTopLevelAncestor();
    if (c instanceof RootPaneContainer) {
       Component glassPane = ((RootPaneContainer)c).getGlassPane();
       glassPane.setVisible(true);
       glassPane.setCursor(s);
    }The glass pane is made visible to show the resize cursor.
    It's set back to visible(false) in finishMouseReleased() which is invoked from mouseRelease and elsewhere (e;g; from cancelResize which is invoked from windowLostFocus)
    Looks like you can't use the glass pane for whatever you had planned, the Swing designers have already used it for something else. Or this could be a workaround, depending on exactly what it is you're trying to do.@Override
    protected void paintComponent(Graphics g) {
       super.paintComponent(g);
       if (this.isOpaque()) {
          g.fillOval(0, 0, 100, 100);
    }You could also declare and use a boolean flag, rather than using isOpaque (which may happen to be set/reset somewhere else in the Swing code ;-)
    db

  • AWT Canvas vs. Swing "glass pane"

    Hello again world.
    The book I've been reading led me down the Swing path but I thought I would go back and take a closer look at the AWT package.
    Is an AWT Canvas analogous to a Swing JRootPane's glass pane?
    Thank you one and all.
    Ciao for now.

    No, not really.
    1) A Canvas is specifically for drawing. There's really no other purpose for it to exist. It's not a container, like Panel. Although, you can use AWT Panel in place of a Canvas, there'd be nothing wrong with that.
    A glasspane has a purpose in a JFrame or other top-level Swing container. It's there to be shown, but often transparently, on top of all other components in that top-level container. You can make the glasspane be any class, yes, but generally it's going to be a JPanel or subclass, and you could paint on it if you override the paintComponent method, or add mouse listeners to intercept mouse events (when it's visible).
    That you can draw on a Canvas or a glasspane component is irrelevant. One can can subclass JButton or JTree or AWT List or any other AWT or Swing component and override the paint or paintComponent method and do custom painting on it. The ability to paint on components is universal. But you wouldn't use a JButton or AWT Button for a glasspane.
    2) You don't want to use Canvas as a glass pane (or any AWT component) if you want the pane to be transparent. AWT components cannot be transparent, so if the component is visible, it'll block out anything under it. It's the whole issue of AWT's heavyweight components vs Swing's lightweight components.

  • Issue with SharePoint foundation 2010 to use Claims Based Auth with Certificate authentication method with ADFS 2.0

    I would love some help with this issue.  I have configured my SharePoint foundation 2010 site to use Claims Based Auth with Certificate authentication method with ADFS 2.0  I have a test account set up with lab.acme.com to use the ACS.
    When I log into my site using Windows Auth, everything is great.  However when I log in and select my ACS token issuer, I get sent, to the logon page of the ADFS, after selected the ADFS method. My browser prompt me which Certificate identity I want
    to use to log in   and after 3-5 second
     and return me the logon page with error message “Authentication failed” 
    I base my setup on the technet article
    http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx
    I validated than all my certificate are valid and able to retrieve the crl
    I got in eventlog id 300
    The Federation Service failed to issue a token as a result of an error during processing of the WS-Trust request.
    Request type: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue
    Additional Data
    Exception details:
    Microsoft.IdentityModel.SecurityTokenService.FailedAuthenticationException: MSIS3019: Authentication failed. ---> System.IdentityModel.Tokens.SecurityTokenValidationException:
    ID4070: The X.509 certificate 'CN=Me, OU=People, O=Acme., C=COM' chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed
    correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    --- End of inner exception stack trace ---
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.DispatchRequestAsyncResult..ctor(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginDispatchRequest(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.ProcessCoreAsyncResult..ctor(WSTrustServiceContract contract, DispatchContext dispatchContext, MessageVersion messageVersion, WSTrustResponseSerializer responseSerializer, WSTrustSerializationContext
    serializationContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginProcessCore(Message requestMessage, WSTrustRequestSerializer requestSerializer, WSTrustResponseSerializer responseSerializer, String requestAction, String responseAction, String
    trustNamespace, AsyncCallback callback, Object state)
    System.IdentityModel.Tokens.SecurityTokenValidationException: ID4070: The X.509 certificate 'CN=Me, OU=People, O=acme., C=com' chain building
    failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    thx
    Stef71

    This is perfectly correct on my case I was not adding the root properly you must add the CA and the ADFS as well, which is twice you can see below my results.
    on my case was :
    PS C:\Users\administrator.domain> $root = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ad0001.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "domain.ad0001" -Certificate $root
    Certificate                 : [Subject]
                                    CN=domain.AD0001CA, DC=domain, DC=com
                                  [Issuer]
                                    CN=domain.AD0001CA, DC=portal, DC=com
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    22/07/2014 11:32:05
                                  [Not After]
                                    22/07/2024 11:42:00
                                  [Thumbprint]
                                    blablabla
    Name                        : domain.ad0001
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : domain.ad0001
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17164
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.domain> $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ADFS_Signing.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "Token Signing Cert" -Certificate $cert
    Certificate                 : [Subject]
                                    CN=ADFS Signing - adfs.domain
                                  [Issuer]
                                    CN=ADFS Signing - adfs.domain
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    23/07/2014 07:14:03
                                  [Not After]
                                    23/07/2015 07:14:03
                                  [Thumbprint]
                                    blablabla
    Name                        : Token Signing Cert
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : Token Signing Cert
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17184
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.PORTAL>

  • Help required with ADFS 3.0 client certificate authentication

    Hi,
    I am currently working on integrating ADFS 3.o for Single Sign On to some 3rd party services along with PKI solution. The basic requirement is that I should be able to choose client authentication certificate as an authentication method in ADFS and then
    federate user credentials to 3rd party trust for single-sign-on.
    I had done this successfully with ADFS 2.0 and that setup is working fine. I have the setup as ADFS 3.0 client authentication method enabled. When I open browser to logon, the ADFS 3.0 page displays a message as "Select a certificate that you want to
    use for authentication. If you cancel the operation, please close your browser and try again." but the certificates are not displayed for selection.
    The certificates are valid and have valid chaining to CA. Could someone help me resolve this issue?
    Thanks!
    -Chinmaya Karve

    Hi Yan,
    Thanks for your response. I have gone through the posts that you have suggested, and my setup looks pretty much as expected.
    So, as I mentioned earlier, I have 2 parallel setups with 3rd party service(SalesForce). Once of them is running ADFS 2.0 and another one has ADFS 3.0. I can logon to the third-party services, from both the setups using username/format. I can logon to SF
    using client authentication certificate from ADFS 2.0 setup, but from the same client machine, when I try to logon SF via ADFS 3.0, the browser just does not pick up any certificate. The page just shows message of "Select a certificate that you want to use
    for authentication. If you cancel the operation, please close your browser and try again.".
    I have checked the browser, and it has the right certificates. Also, the same browser/machine is used to logon to SF through ADFS 2.0 via client certificate, which works just fine !
    I am really confused now, as to whose issue this really is...
    Just to confirm, I am using Certificate Authentication from ADFS 3.0 Authentication Methods for both Intranet and Extranet.
    Any suggestion or inputs where I could have gone wrong in the setup?
    Thanks!

  • Problem with ADF Table and doDML method.

    HI,
    I have a problem with ADF Trinidad Table. I have one search form and which i click on search button the result is coming it's working fine, And when i click on CreateInsert button to insert a new row it's adding after entering all the data into the table when i click on button on the page i am getting error like
    Messages for this page are listed below.
    Error     
    Missing mandatory attributes for a row with key oracle.jbo.Key[1 ] of type AppModule.CmSubscribersView1
    Error     
    Attribute Name in AppModule.CmSubscribersView1 is required
    Error     
    Attribute CreatedBy in AppModule.CmSubscribersView1 is required
    Error     
    Attribute CreationDate in AppModule.CmSubscribersView1 is required
    Here Created By and Creation Date are not available in the table i need to set these data from back end for that i have used doDML() method in the entity object and i written the logic but this method not even invoking as i couldn't able to see the logs in the server.
    protected void doDML(int operation, TransactionEvent e) {
    super.doDML(operation, e);
    System.out.println("^^^^^^^^^^^^^^^^66666Inside entity object^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ");
    // AppModuleImpl am=new AppModuleImpl();
    // Number userID= am.getUserId();
    //System.out.println("User id in the Entity Object Is: "+userID);
    oracle.jbo.domain.Date dt = new Date();
    if(operation ==DML_INSERT){
    EntityDefImpl cmSubscribers=CmSubscribersImpl.getDefinitionObject();
    CmSubscribersImpl newSubscribers=(CmSubscribersImpl)cmSubscribers.createInstance2(getDBTransaction(),null);
    Number n=new Number(1599);
    newSubscribers.setCreatedBy(n);
    newSubscribers.setCreationDate(dt);
    newSubscribers.setLastUpdateDate(dt);
    newSubscribers.setLastUpdatedBy(n);
    But still the same problem can any one help me inthis.
    Regards,
    Edited by: user5802014 on Aug 21, 2009 2:04 PM

    Hi,
    Modify your method to call super.doDML() after initialization of mandatory attributes as below:
    protected void doDML(int operation, TransactionEvent e) {
         oracle.jbo.domain.Date dt = new Date();
         if(operation ==DML_INSERT){
              //PRE-INSERT code begins     
           EntityDefImpl cmSubscribers=CmSubscribersImpl.getDefinitionObject();
           CmSubscribersImpl newSubscribers=(CmSubscribersImpl)cmSubscribers.createInstance2(getDBTransaction(),null);
           Number n=new Number(1599);
           newSubscribers.setCreatedBy(n);
           newSubscribers.setCreationDate(dt);
           newSubscribers.setLastUpdateDate(dt);
           newSubscribers.setLastUpdatedBy(n);
           //PRE-INSERT code ends
           super.doDML(operation, e);
           //POST-INSERT code if any
         }else
            super.doDML(operation, e);
    }Sireesha

  • Java.lang.UnsupportedClassVersionError with ADF and Websphere

    I'm trying to get an app running with ADF/Tomahawk/MyFaces/Facelets going on Websphere 6.0. However Websphere is running with a 1.4.2 JVM instead of 1.5 so I get an error when it comes to the ADF NavigationHandlerImpl which has been built with Java 1.5. Is there a Java 1.4 version of ADF faces I should have downloaded somewhere?
    Hints appreciated.
    Regards, Murray
    ==<logs below >=================================
    [5/4/06 13:15:47:816 GMT] 00000011 FacesConfigur I Reading config /WEB-INF/faces-config.xml
    [5/4/06 13:15:48:236 GMT] 00000011 WebApp E LinkageError while defining class: oracle.adfinternal.view.faces.application.NavigationHandlerImpl
    Could not be defined due to: oracle/adfinternal/view/faces/application/NavigationHandlerImpl (Unsupported major.minor version 49.0)
    This is often caused by having a class defined at multiple
    locations within the classloader hierarchy. Other potential causes
    include compiling against an older or newer version of the class
    that has an incompatible method signature.
    Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    ==>[0]
    com.ibm.ws.classloader.CompoundClassLoader@7d4e3ab9
    Local ClassPath: C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\classes;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\activation-1.0.2.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-facelets.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-faces-api-ea20-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-faces-impl-ea20-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\aui.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\common-annotations.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-beanutils-1.7.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-codec-1.3.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-collections-3.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-digester-1.6.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-el-1.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-fileupload-1.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-io-1.2.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-lang-2.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-logging-1.0.4.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\el-api.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\el-ri.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jsf-facelets1014.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jsp-api.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jstl-1.1.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\log4j-1.2.13.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-impl-files.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-layer-interfaces.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-layer-standalone.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\myfaces-api-1.1.3-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\myfaces-impl-1.1.3-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\portlet.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\serializer.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\tomahawk-1.1.2-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xalan.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xercesImpl.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xml-apis.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xpp3_min-1.1.3.4.O.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xstream-1.1.3.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xstream-with-attributes.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war;
    Delegation Mode: PARENT_FIRST
    [1] com.ibm.ws.classloader.JarClassLoader@630356666 Local Classpath: Delegation mode: PARENT_FIRST
    [2] com.ibm.ws.classloader.ProtectionClassLoader@2333faba
    [3] com.ibm.ws.bootstrap.ExtClassLoader@7f427ab8
    [4] sun.misc.Launcher$AppClassLoader@7f4cbab8
    [5] sun.misc.Launcher$ExtClassLoader@7f30bab8
    ---Original exception---
    java.lang.UnsupportedClassVersionError: oracle/adfinternal/view/faces/application/NavigationHandlerImpl (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576)
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:414)
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:260)
         at org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:131)
         at org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:157)
         at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:521)
         at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:448)
         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
         at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66)
         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49)
         at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1355)
         at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:371)
         at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
         at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
         at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:1678)
         at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

    Hi,
    you will have to compile the application with JDK 1.4 in this case. This should work for JSF and ADF Faces.
    Frank

Maybe you are looking for

  • Acrobat 9 - save as PDF 1.7

    I'm working on an automated way to re-save the current document to a specific PDF version - 1.7. So far I have achieved this using pre-flight profiles (pre-defined - "Compatible with Acrobat n") and executing these via Javascript. As there is no prof

  • Process include XSL file

    when use XSLProcessor.processXSL method process a xsl file include another XSL file error message: Error while processing include XSL file (no protocol: eprice.xsl)

  • ITunes 7.0.2 Freezes

    I just downloaded iTunes 7.0.2, after 7.0.1 was a disaster and I am having the same problems with this upgrade. Just as with 7.0.1, every time I open iTunes after about 3 seconds it gives me the beach ball and I have to force quit the application. Pr

  • Instance names arnt working for Global Locator

    Hi, i am trying to navigate through my scene, I have several buttons all with instance names, i would like to have a small tween before jumping to the next section, i have been trying to use global locator but it doesnt seem to be working, nort sure

  • Find my mac not working properly on Yosemite

    手贱试了一下Find My Mac的锁定功能,Macbook Air自动重启然后一直卡在灰色背景画面不动,有个鼠标可以动,还可以播放声音.不能解锁了,求帮忙啊- I am so stupid to try the Find My Mac feature and locked my Macbook Air. The Macbook reboot automatically, and stuck in a gray background. Mouse can move. I can even pla