What is missing, when I render my Application for Mobile Support, like PDA?

Hello @ all,
I have a question about ADF Mobile.
I implemented a bean, which has a Method:
getRenderKitId(){
AdfFacesContext afc = AdfFacesContext.getCurrentInstance();
Agent agent = afc.getAgent();
if(Agent.TYPE_PDA.equals(agent.getType().toString()))               return "oracle.adfinternal.view.faces.ui.laf.simple.pda";          
else if(Agent.AGENT_GECKO.equals(agent.getAgentName()))
     return "com.apress.projsf.xul.ajax";
else if(Agent.AGENT_IE.equals(agent.getAgentName()) &&
Agent.TYPE_DESKTOP.equals(agent.getType()))
     return "com.apress.projsf.htc.ajax";
else if(Agent.AGENT_WEBKIT.equals(agent.getAgentName()))
     return "com.apress.projsf.html.ajax";
else
     return RenderKitFactory.HTML_BASIC_RENDER_KIT;
When I debug my Application on an PDA, this Method returns the right String for PDAs "oracle.adfinternal.view.faces.ui.laf.simple.pda".
I also have the public class DynamicRenderKitViewHandler extends ViewHandlerWrapper{
public String calculateRenderKitId(FacesContext context){
     String renderKitId = super.calculateRenderKitId(context);
     Matcher matcher = DYNAMICRENDER_KIT_ID.matcher(renderKitId);
     if(matcher.matches()){
     String expression = matcher.group(1);
          Application application = context.getApplication();
          ValueBinding binding = application.createValueBinding(expression);
          if(binding.getType(context) == String.class)
               renderKitId = (String) binding.getValue(context);
          return renderKitId;
The return Value of this Method is also oracle.adfinternal.view.faces.ui.laf.simple.pda.
So know my question is, what else do I have to implement, to render my components on a PDA. Because, when i run my Application on a Pocket PC 2003 with Windows CE, the Mobile Internet Browser shows me the same rendering page like it is on the "normal" PC Internet Browser.
Do I have to work with the ADF Faces Tags, like the <af:commandButton ...>
because, i don't use these tags.
The Libraries i have imported are, the adf-faces-api-10_1_3_0_4.jar file and simular the impl-jar.
Please could anybody help me?

Hello Jrozier,
first I wanne thank you for your reply.
Know my ApplicationBean getRenderKitId Method returns "oracle.adf.core"
I had wrote a little JSP that looks like the following:
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<afh:html>
<afh:head>
     <title>Test Page</title>          
</afh:head>
<afh:body>
Testing
</afh:body>
</afh:html>
But when I try to run my Application, I get the following error:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: org.ajax4jsf.framework.ajax.AjaxViewRootRIOneOne
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
     com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
     org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
     oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
     org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
     org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
     org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
     oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
     oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
     oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
     oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
What could go wrong?

Similar Messages

  • What to do when my iPhone is asking for password of old apple I.D. when I don't have it and have created a new applie i.d.  Can anyone please help me on this issue?

    Can anyone please help me on this issue "What to do when my iPhone is asking for password of old apple I.D. when I don't have it and have created a new applie i.d."??

    Sir, Thank you very much for your prompt response.  I have already done this.  But the problem is still persisting.  Actually, I want to upgrade my WhattsApp application and as soon as I click the upgrade button in App Store, it asks for the password of previous apple i.d., which I don't have as I have bought this phone from somebody.  There is no option for log out or log in.  It there any other way out to upgrade the WhatsApp ????

  • Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS

    Hi All,
    https://bugbase.adobe.com/index.cfm?event=bug&id=3071298
    As per above link this bug resolve(latest build) but i am facing  Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS, using the packaging tools.
    (for  inappPurchase Demo app --- i used below link code)
    http://code.google.com/p/in-app-purchase-air-ios/
    Thanks,
    Sunil Rana

    Hi Everyone,
    I'm getting basically the same error. Are there any rules or guidelines that we are suppose follow when writing an app for iOS? Is there a way to know exactly where it is crashing? My apps are not MXML, only actionscript. Also I made sure I have no errors not even warnings in my SWF file, but still no go! 
    Getting the same error.
    Exception in thread "main" java.lang.NullPointerException
            at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944)
            at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
            at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
            at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
            at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
            at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler
    .java:472)
            at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    regards,
    Keith

  • I am using elements 11. I cannot open editor because configuration error occurs with message "errror 213:11". What happened? What can I do? Thanks a lot for your support.

    I am using elements 11 with Windows7. I cannot open editor because configuration error occurs with message "errror 213:11". What happened? What can I do? Thanks a lot for your support.

    See if this helps:
    Error "License store does not allow writing" | Install log | CS5, CS5.5

  • Oracle bpm worspace application for mobile...

    is there any bpm workspace application for mobile ?? ADF mobile ??

    I was looking for a Mobile app for BPM and came across this blog:
    https://blogs.oracle.com/fusionmiddleware/entry/unleashing_your_mobile_workforce
    I want to highlight this:
    "Oracle Business Process Management (BPM) can accomplish your workflow needs, and BPM includes a task list application for iPad, iPhone, and Android. "
    Is this something coming in the next release?

  • What happened to the 24/7 live chat for mobile me? I need help right now. Too complex for this. Crime involved., What happened to the 24/7 live chat for mobile me? I need help right now. Too complex for this. Crime involved.

    What happened to the 24/7 live chat for mobile me? I need help right now. Too complex for this. Crime involved., What happened to the 24/7 live chat for mobile me? I need help right now. Too complex for this. Crime involved.

    Hi Tmswrite,
    Here is what you want to do to protect yourself and your device:
    Find My iPhone Basics  - Apple Support
    iCloud: Find My iPhone overview
    Here's some information on how the Activation Lock protects you:
    Find My iPhone Activation Lock in iOS 7
    Sorry for your troubles. Hope it turns out OK for you!
    GB

  • Layer missing when I render?

    I have created a short 4 second comp and it all plays back fine until I actually try to render it. I've tried rendering the layer on it's own in a seperate comp and it disappears then as well and just becomes a white screen, but the original one when put into a comp works fine. I've spent hours editing it and putting it in place so i really don't want to start again. 
    I'm fairly new to after effects but I haven't been able to find the answer on any other discussions. Is this a glitch or have I done something wrong?

    Which layer is disappearing? Your screenshot shows Precomp -1 as the active comp. Is that what you are rendering? If you are having problems with things like this the first thing to try is a test render with the effects turned off for the layer you are having problems with.
    Things look fine but I can't tell what goes missing. A flow chart of the rendered comp may also help find the problem.
    Any layer styles? Any other things we can't see?

  • What to do when your iPad keeps asking for the iTunes Store Password

    I was using my iPad last night when it just started asking for my iTunes store password and I was browsing the web in safari. I just entered it and scratched my head. Later I was playing a game - the same prompt interrupted the game.
    http://skitch.com/mbrad/dru2p/full-screen
    It happened about five times before I finally went to the settings app and signed out of the app store. I don't think it's related to any one app since the prompt was happening at seemingly random intervals no matter what I was doing (even on the home screen with no app "running")
    Signing out seems to have corrected the problem. Apps still run and I will try signing in again later once I need to download anything. I haven't done much other than update 5 apps earlier in the day.
    Does anyone else have experience on what caused this?
    Here's what it's not:
    1) Time - I checked the date/time on the iPad - they were within seconds of my mac which sets time automatically on the internet.
    2) Password wrong - I downloaded a free app from the store app on the device after entering the password - so the password was fine for a purchase/download after the prompt. (Yet the prompt came back again within 30 minutes)
    Thanks,
    Mike

    Thanks for the suggestion! I did have two downloads for free songs I got from a card at Starbucks. They started but never came on my iPad (and that was 4 days ago). The store error is happening only yesterday - possible but a long time after the "failed download". I just got those songs after your suggestion on my mac by checking for available downloads. Maybe that was the root cause?
    Add rebooting to "here's what it's not" - I forgot to write that down. Also - I was not interested in restoring the iPad - like taking a firehose to water a flower, that certainly would fix it at cost of overkill. (and maybe only until the backup was restored if the file causing the issue is something that would be backed up).
    The problem seems to be that the device either doesn't save the password or something is causing it to be periodically marked as bad. Both ideas have me scratching my head. Rebooting didn't resolve the issue - only signing out from the store.

  • What is missing when I get a blank white screen when I try to Access some web sites?

    On some web sites, I get a blank white screen when I try to access them.

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • What are the settings in mail to see photos that were sent- then email recepient replies back w/ comments but there are no photos to know which one they are commenting about.  how do i see what was sent when they reply?   thanks for your help

    anyone know how to get mail to show the photos back to you?
    ex:  send pictures to friends, they reply w/ comments, but have no idea which pictures they are commenting on because they do not sho up in a reply.
    thanks for your help

    Did you ever get a reply to this.  I have the same problem.  I have the same problem when even when I reply to an email... no photo shows up in my new reply message.  The only way I have figured out is to use the "forward" option.
    But this still does not solve the problem when people email me back... I have no idea what photo they are speaking of.  Instead of a photo... there is a <photo name of some sort>.
    Let me know if you ever hear on this one.
    Many thanks.

  • What dpi & quality when resizing pics in PSE for use in PRE?

    For use in Premiere Elements 7:
    When resizing my digital camera pictures in Photoshop to the reduced sizes 1000 x 750 you recommend when panning & zooming, there are a couple of additional choices.
    One asks for the Resolution in dpi.  Should it be 600, 300, or less?
    The other thing is:  Convert files to ??? JPEG max quality or standard or what?
    I'm still a beginner at Premiere, so please don't get too technical!
    Thanks, Elisabeth.

    Do not worry about asking questions.
    As for the .PSD's, these are Photoshop's native file format. They are uncompressed, and can contain Layers of several sorts. Now, I do not use PSElements, so do not know how it would differ from the full version of PS that I use. PS also does NOT have a SlideShow feature, so there could be major differences here. [See, you asked a question that I cannot answer!] If PSE does not list .PSD files as sources for SlideShows, then totally disregard my earlier comments on that workflow. I do all of my SlideShows in PrPro, which does Import .PSD's and in more ways, than PrE does.
    Now, JPEG is a compressed file format. This means that some of the data is "thrown away," when the file is Saved_As JPEG. How much will depend on the "Quality" settings. The higher the Quality, the less data is discarded. The inverse is also true.
    Now, there are two considerations, regarding image files for Video. One applies only to .PSD, and both apply to JPEG. The main one is the Image Size. This will be the horizontal and the vertical sizes in pixels, say 720 (h) x 480 (v). This applies to both (actually to TIFF's, PNG's, GIF's, TGA's, etc, but we're talking about JPEG and PSD only for now) file types, and applies equally. The Quality setting is the degree of compression. Higher Quality = less compression. This is where PSE is saying to use the higher Quality - in the compression settings. PSD files are not compressed, so this does not apply to them.
    Hope that this clears things up a bit. I'll try to track down whether PSE can use .PSD files, but if you have the program, you might want to check the Help (F1) files, under File Formats, and also under SlideShows.
    Just for clarity sake, here are the "codes" in my post:
    PS = Photoshop
    PSE = Photoshop Elements
    PrPro = Premiere Pro
    PrE = Premiere Elements
    Good luck,
    Hunt

  • TS1702 What to do when you are billed twice for an app?

    Hi Please help.  I bought an app called numbers last October 2012.  When I reinstalled it recently, I was billed again for the said app.  what will I do to cancel the transaction?  Thank you.

    you need to contact the iTunes store support for that.
    1. Go to expresslane.apple.com
    2. select 'itunes' and then 'itunes store' on the right
    3. select a topic and a subject
    4. click 'continue' and then 'email'
    5. fill out the form and explain your situation
    6. they will respond within 24 hours usually
    Good luck
    Stijn

  • What is best way to video an application for tutorial?

    What is the best way to create a video tutorial of an application from the IPAD or Mac Notebook to be used for educational purposes - showing all detail of the application would be a must,

    pretty sure there is no way for the ipad can record what goes on on the screen and make it a video
    not even sure if 3th party apps would be allowed that level of hardware control as to record what other apps display

  • No matter what I try when setting up an account for game center, I get the response that this account is already in use.  I have tried several times to reset both my Apple ID and a password.

    Have been having trouble trying to set up an account with game center.  I have several times reset both my Apple ID and password using both of my email accounts.  Each time I get a message saying that it is "already in use by another game center account", which I am sure is me, but I must have done something wrong in the initial set-up.  Please advise how I can wipe out all info and finally create a valid account to get onto game center!!  Thanks!

    Im trying to switch the Apple ID names around, and what i've learnt is that the Apple ID has to be an Email that isn't an Apple ID. Yup, it's messed alright.

  • Hi when I open each application for mac office, the app closes and it pops up the following error: Microsoft Error Reporting log version: 2.0  Error Signature: Exception: EXC_BAD_ACCESS Date/Time: 2014-03-27 14:14:52 +0000 Application Name: Microsoft Exce

    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXC_BAD_ACCESS
    Date/Time: 2014-03-27 14:14:52 +0000
    Application Name: Microsoft Excel
    Application Bundle ID: com.microsoft.Excel
    Application Signature: XCEL
    Application Version: 14.1.4.111121
    Crashed Module Name: libTIFF.dylib
    Crashed Module Version: unknown
    Crashed Module Offset: 0x000078ae
    Blame Module Name: MicrosoftComponentPlugin
    Blame Module Version: 14.1.4.111121
    Blame Module Offset: 0x0000d9fc
    Application LCID: 1040
    Extra app info: Reg=en Loc=0x0410
    Crashed thread: 0

    Hi mattiaprodomo,
    If you are having issues with an app that unexpectedly closes on launch, you may find the following article helpful:
    OS X Mavericks: If an app freezes or quits unexpectedly
    http://support.apple.com/kb/PH13975
    Regards,
    - Brenden

Maybe you are looking for

  • Decrypt problem

    Hello! I have problem decripting string if the string is long. I use <cfset session.algo = "DES"> <cfset session.key = GenerateSecretKey(session.algo)> <cfset session.enco = "HEX"> I have tried and other but nothing works for me. also i do the encryp

  • Post SKF only to New GL -Non leading ledger

    Hi New GL experts, We have an issue with SKF ( Statistical key figures) in New GL. The below 2 options are considered: 1. Entry from KP46 ( CO Module) - Flowing to Leading and Non leading ledger. But the period is wrongly derived in Non leading ledge

  • ESSO-LM multiple accounts for Lotus Notes 7

    Hi, My customer want to use ESSO-LM 11g for Lotus Notes 7. The customer have some people who have multiple account in Lotus Notes 7. I checked the pre-defined application template for Lotus Notes in ESSO-LM, The application templates defined only pas

  • Starting Tomcat at boot

    Hi, Config : Linux, Tomcat, I'm looking for 2 elements : - How to start automatically Tomcat at boot ? - How to check periodically that Tomcat is running and, if not, start it ? Thank for all help.

  • Ical deleted all personal calendars

    My phone lost all events, when I pressed on Calendars on the bottom I saw that all personal calendars disappeared, only notification from Facebook is left. What to do. And I cant add new evetn cause the plus sign is inactive.