Wednesday Jul 20, 2011

how to intercept an http request in your custom servlet

public void doGet(HttpServletRequest request,
                      HttpServletResponse response) throws ServletException,
                                                           IOException {

        response.setHeader("Cache-Control", "Public";);
        response.setDateHeader("Expires",
                               System.currentTimeMillis() + 1 * 60 * 60 *
                               1000);

        String mimeType = request.getParameter("mimeType";);


        String url = request.getParameter("Url";);

    }

Invoke an adf rich popup programmatically

                       PatternsPublicUtil.invokePopup(<your popup>, new RichPopup.PopupHints().add(RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID, alignId).add(RichPopup.PopupHints.HintTypes.HINT_ALIGN,RichPopup.PopupHints.AlignTypes.ALIGN_AFTER_END));
                    }




        ExtendedRenderKitService service =
            Service.getRenderKitService(fc, ExtendedRenderKitService.class);
        service.addScript(fc, "popup.show();";)

About

Talk on ADF (Mail To: vijay.x.mohan@oracle.com)

Search

Categories
Archives
« July 2011 »
SunMonTueWedThuFriSat
     
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
21
22
23
24
25
26
27
28
29
30
31
      
Today