Two render kit

in my application default render kit is adf.core
<default-render-kit-id>
oracle.adf.core
</default-render-kit-id>
and i'm using another datagrid component of rcfaces
if there is no default render kit is defined, the componet is working fine..
like table soring...drig page navigation .
by if i use
<default-render-kit-id>
oracle.adf.core
</default-render-kit-id>
then grid is showing correctly but, while sorting sowing error
No Renkit Found!
2007-10-10 17:59:19 StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
java.lang.IllegalArgumentException: ContentTypeList does not contain a supported content type: text/javascript
     at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils.selectContentType(HtmlRendererUtils.java:1043)
     at org.apache.myfaces.renderkit.html.util.DefaultAddResource.writeResponse(DefaultAddResource.java:807)
     at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:162)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
     at java.lang.Thread.run(Thread.java:595)
how can i solve this..
is it possible to use two render kit ??
is so how i can define that??
thnx in advance

JavaScript is used all over the place in JSF, but that is all under control of the renderer. So presumably if you find a WML renderer for JSF it will use an appropriate scripting language instead. I looked for somewhat casually a few weeks ago and did not find much of anything. Let me know if you have more success.

Similar Messages

  • 2 render-kit in  my faces-config.xml

    I'd like to have 2 renderkit in my faces-config.xml. I set render-kit-id with "HTML_BASIC" for the first one and
    "XHTMLMP" for the 2nd. Then i got an exception when i launch tomcat :
    javax.faces.FacesException: java.lang.IllegalArgumentException: No renderKitClass for renderKit XHTMLMP
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:336)
    Why ? I use jsf in a portlet webapp and want to select one of these 2 renderers in my portlet constructor.
    Fran�ois

    Can you please post your faces-config.xml?
    Thanks.

  • JSF Design View broken? Fallback Rendering, "Render Kit" not found

    Hi,
    I just wanted to toy around with JDeveloper 11g TP3, created a new project, added technology scope JSF (+ JSP/Servlets, etc.) then the tag-library ADF Faces Component 11-ji3.
    Then I created a data control from a POJO and wanted to visualize this within a JSF page. So I created one (via faces-config visual editor), dragged the appropriate getter-method to the page in the up-to-this-point working WYSIWYG editor, selected ADF-read-only-form and suddenly found myself in the JSF "alternate rendering" (a view like in an hierachical XML editor). I enabled "design time messages in log" to see what the problem was.
    Stopping/Starting JDeveloper or removing tag libraries like suggested in other threads did not work. I was unable to reactivate the wysiwyg editor for this page or any new JSF page in this application, always the "alternate rendering".
    Log said "oracle.sql.OraData" was missing, so I added ojdbc6.jar to the project classpath. Didn't help, no wysiwyg editor, log now says:
    --- snip ---
    18.02.2008 14:12:37 oracle.adfinternal.view.faces.lifecycle.LifecycleImpl _isPostback
    WARNUNG: Render Kit konnte nicht gefunden werden
    WARNING: A problem was encountered executing the page. Using fallback rendering.
    java.lang.NullPointerException
         at org.apache.myfaces.trinidad.util.Service.getService(Service.java:82)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._getExtendedRenderKitService(ViewHandlerImpl.java:333)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:154)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    --- end ---
    I have this error even for newly created (ie blank/HelloWorld) JSF pages in my application. I started adding some libraries, but nothing helped. How do I reactivate the wysiwyg editor?
    Thanks!

    Frank,
    thanks for the reply. I will try what you suggested, but the trinidad-config.xml is actually not missing in my project, although it does not include a render kit definition.
    As my first step with 11g I also tried one of the tutorials (http://www.oracle.com/technology/obe/obe11jdev/11/ejb/ejb.html) and there the wysiwyg was working nicely the whole time.
    In both cases (my project == not working wysiwyg editor, tutorial == nicely working wysiwyg editor) the content of the trinidad-config.xml is the same:
    --- trinidad-config.xml ---
    <?xml version="1.0" encoding="windows-1252"?>
    <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
    <skin-family>blafplus-rich</skin-family>
    </trinidad-config>
    --- end-of-file ---
    Rgds
    Axel

  • New render kit for JSF 1.2

    I have red and tried a customization of what is explained in this article about writing a new render kit:
    http://java.sun.com/javaee/javaserverfaces/reference/docs/customRenderKit.html
    My code is under JSF 1.2.
    I tried a new xml render kit, but my custom render kit seems to have problemi with alignement with JSP..why?
    This is my code, and then I explain the result:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="2.0"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/xml;charset=UTF-8"/>
        <f:view renderKitId="XML" >
            <root>          
                <h:outputText value="ciao" style="background-color:red;" />
            </root>
        </f:view>
    </jsp:root>Ok. When I execute this, I obtain a bad xml:
    <text><root></text>
    <text style="background-color:red;">ciao</text>
    <text></root></text>Instead if I put root xml element outside the <f:view> everything is right.
    It seems to suffer of the usual problem of content interweaving...
    Instead if I use the default custom render I can mix my content and tag withouit problem....

    Solved.
    I replaced
    <renderer-type>javax.faces.Text</renderer-type>with my custom renderer. Every text inside <v:view> seems to be wrapped around a UIOutput component, so when I write:
    <f:view>
    <root>
    </root>
    </f:view>it is the same of:
    <f:view>
    <f:verbatim><root></f:verbatim>
    <f:verbatim></root></f:verbatim>
    </f:view>The output is:
    <text><root></text>
    <text><root></text>And this is invalid xml.

  • Trying to get round the default render kit's use of tables

    Apologies if this is a simple question - I'm solid with Java and HTML but I'm new to JSF.
    The default render kit uses tables a lot, eg for the +<h:selectOne>+ tag. This is not something that I like - I want a radio button group to be rendered as a +<ul>+ list. It's way more versatile to style up with CSS and it's semantically stronger.
    Achieving his appears to be harder than I first thought. The tag structure that the renderer outputs is cooked right into the middle of the source code (a seventh-generation class, I note - wow! Clearly, "extension bad, composition good" is falling on deaf ears somewhere), so overriding the renderer means duplicating all its business code for the sake of a couple of tags.
    Then, unless I'm doing something wrong (which is eminently possible), it's not actually possible to swap out the renderer for the javax.faces.SelectOne component; I've added the relevant elements to faces-config.xml but the kit always uses its default renderer instead of mine.
    So, that means I will have to create a custom component and tag as well as the renderer, right? And a new render kit?
    I'm guessing I must be missing something - I can't believe it's so difficult to just render a list of buttons in a list instead of a table. I was kind of hoping to be able to supply a sort of template for such grouped items.
    From looking around, I've not noticed any third party HTML render kits, either. Guess I'm not looking hard enough - does anyone have any pointers?
    So - to my main question. Has anyone done this? Implemented a simple solution to having pages full of tables? Any details would be great, plus any pointers to stupid things I'm doing - I'm sure there are plenty :)
    Thanks

    Towards your specific issue with the radio buttons, use Tomahawk's t:selectOneRadio component with the "spread" layout along with the t:radio component. This will allow you to layout the radio buttons however you like.
    In general, when faced with these types of "how can that be missing?" holes or annoyances in JSF I find the solution in Tomahawk.

  • Render Kit For WML/WAP

    Is there a WML/WAP Render Kit for JSF 1.2? I have a Nokia 3120 mobile phone which can access the Internet through the WAP Browser. Based on the specs page for the phone on Forum Nokia the phone's browser can also support XHTML. One area which I am not sure about in terms of support is JavaScript for the phone.
    In the Core JSF book (2nd Ed) it makes a mention of being able to change the scripting engine used for the JSF application, which means that JavaScript can be replaced with another scripting language (eg WML). If there is a WML Render Kit around is there an option in the NB 5.5.1 VWP to switch the Render Kit used by a JSF application?
    What could make or break creating a mobile web application in JSF is where JavaScript is being used which goes on to another question, where is JavaScript being used in JSF?

    JavaScript is used all over the place in JSF, but that is all under control of the renderer. So presumably if you find a WML renderer for JSF it will use an appropriate scripting language instead. I looked for somewhat casually a few weeks ago and did not find much of anything. Let me know if you have more success.

  • Problem trying to change render kit id dynamically

    Hello All
    This is how I specified the render kit it to be set at runtime
    <application>
    <default-render-kit-id>#{appBean.renderKitId}</default-render-kit-id>
    </application>
    <managed-bean>
    <description>Application Bean</description>
    <managed-bean-name>appBean</managed-bean-name>
    <managed-bean-class>com.myApp.jsf.ApplicationBean</managed-bean-class>
    <managed-bean-scope>application</managed-bean-scope>
    </managed-bean>
    But when I start the application and make the first request, I get this error on the console
    WARN [RenderKitFactoryImpl]: Unknown RenderKit '#{appBean.renderKitId}'
    Why is the appBean not being identified as a managed bean and why is the EL not evaluated?
    Thanks in advance,
    Rohit

    Expressions aren't supported in that context.

  • Question about unzipping/installing two-CD kits and installation bug.

    Oracle Developer Suite 10g comes as two CDs and as two download zip files. Because it's in two CDs, file conflicts are possible and in fact occur. The only conflict is with the [unzip-root]\stage\disk.label file.
    I can think of several possible procedures -- (1) unzip to separate folder trees; (2) unzip first CD, install and look for instructions to unzip the second; or (3) unzip them both to the same folder tree and rename or overwrite disk.label, because they are not used. My guess is the latter. There is nothing about this in the OUI documentation or the product release notes or installation guide.
    The actual install (Windows XP) fails with:
    java.io.FileNotFoundException: D:\[install-root]\stage\Patches\oracle.options.ano.ssl.owm\10.1.0.4.2\1\DataFiles\install_fg.jar (The system cannot find the file specified)
    This folder has a file named install_fg.1.1.jar, so there is a mismatch between the installation script and the actual filename (no assumption about which is wrong). I would think this to quickly become a known bug and a fix provided, but I cannot find any information. That's my real problem.
    Also, when the install stops, OUI returns to the initial install page, but does not back out the partial install. I now have D:\DevSuiteHome_1 and _2 folders and corresponding folders on my start menu, each with only icons for the Universal Installer and UI Concepts Guide. Is there a good way to back out partial installs, or do I just need to delete what I can see?
    Thanks in advance for help. Cross-posted to various relevant forums.
    Kind regards,
    Michael K
    214-803-8122

    Oracle Developer Suite 10g comes as two CDs and as two download zip files. Because it's in two CDs, file conflicts are possible and in fact occur. The only conflict is with the [unzip-root]\stage\disk.label file.
    I can think of several possible procedures -- (1) unzip to separate folder trees; (2) unzip first CD, install and look for instructions to unzip the second; or (3) unzip them both to the same folder tree and rename or overwrite disk.label, because they are not used. My guess is the latter. There is nothing about this in the OUI documentation or the product release notes or installation guide.
    The actual install (Windows XP) fails with:
    java.io.FileNotFoundException: D:\[install-root]\stage\Patches\oracle.options.ano.ssl.owm\10.1.0.4.2\1\DataFiles\install_fg.jar (The system cannot find the file specified)
    This folder has a file named install_fg.1.1.jar, so there is a mismatch between the installation script and the actual filename (no assumption about which is wrong). I would think this to quickly become a known bug and a fix provided, but I cannot find any information. That's my real problem.
    Also, when the install stops, OUI returns to the initial install page, but does not back out the partial install. I now have D:\DevSuiteHome_1 and _2 folders and corresponding folders on my start menu, each with only icons for the Universal Installer and UI Concepts Guide. Is there a good way to back out partial installs, or do I just need to delete what I can see?
    Thanks in advance for help. Cross-posted to various relevant forums.
    Kind regards,
    Michael K
    214-803-8122

  • FacesException at Tomcat startup with Trinidad Render Kit

    I have an application that seems to work for other developers in our office but continues throwing errors when Tomcat is started. The FacesException thrown gives no message so it's been tough to debug. The InstantiationException thrown when trying to instantiate the Trinidad CoreRenderKitFactory doesn't give me much of a clue either.
    Hopefully someone has seen this before b/c I haven't found any useful clues in the logs or Googling around. If nothing else, maybe someone could help me get Tomcat to output more detailed log info in the console (I'm using MyEclipse) in case there is some more useful info in there.
    The environment is JSF 1.1, Tomcat 5.5.28, Java 1.5, Apache Trinidad 1.0.10, Spring 2.5
    Thanks,
    Adam
    Jan 7, 2010 1:00:31 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Genuitec\Pulse Explorer\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client;C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin;C:\orant\bin;C:\Program Files\Attachmate\INFOCN2K\;C:\Program Files\Attachmate\INFOCN2K\Accmgr32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Attachmate\E!E2K\;C:\SFU\common\;C:\Program Files\Hummingbird\Connectivity\10.00\Accessories\;;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\GuardianEdge\GuardianEdge Clients\;C:\Program Files\Java\jre1.5.0_10\bin;C:\orant\bin;C:\Program Files\Attachmate\INFOCN2K\;C:\Program Files\Attachmate\INFOCN2K\Accmgr32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Attachmate\E!E2K\;C:\SFU\common\;C:\Program Files\Hummingbird\Connectivity\10.00\Accessories\;;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\GuardianEdge\GuardianEdge Clients\
    Jan 7, 2010 1:00:31 PM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 7, 2010 1:00:31 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 516 ms
    Jan 7, 2010 1:00:31 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 7, 2010 1:00:31 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.28
    Jan 7, 2010 1:00:31 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
    log4j:WARN Please initialize the log4j system properly.
    javax.faces.FacesException: org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory
    at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:553)
    at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:426)
    at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:229)
    at org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:735)
    at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:149)
    at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)
    at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:448)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    Caused by: java.lang.InstantiationException: org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:551)
    ... 21 more
    Jan 7, 2010 1:00:50 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Jan 7, 2010 1:00:50 PM org.apache.catalina.core.StandardContext start

    I have an application that seems to work for other developers in our office but continues throwing errors when Tomcat is started. The FacesException thrown gives no message so it's been tough to debug. The InstantiationException thrown when trying to instantiate the Trinidad CoreRenderKitFactory doesn't give me much of a clue either.
    Hopefully someone has seen this before b/c I haven't found any useful clues in the logs or Googling around. If nothing else, maybe someone could help me get Tomcat to output more detailed log info in the console (I'm using MyEclipse) in case there is some more useful info in there.
    The environment is JSF 1.1, Tomcat 5.5.28, Java 1.5, Apache Trinidad 1.0.10, Spring 2.5
    Thanks,
    Adam
    Jan 7, 2010 1:00:31 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Genuitec\Pulse Explorer\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client;C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin;C:\orant\bin;C:\Program Files\Attachmate\INFOCN2K\;C:\Program Files\Attachmate\INFOCN2K\Accmgr32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Attachmate\E!E2K\;C:\SFU\common\;C:\Program Files\Hummingbird\Connectivity\10.00\Accessories\;;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\GuardianEdge\GuardianEdge Clients\;C:\Program Files\Java\jre1.5.0_10\bin;C:\orant\bin;C:\Program Files\Attachmate\INFOCN2K\;C:\Program Files\Attachmate\INFOCN2K\Accmgr32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Attachmate\E!E2K\;C:\SFU\common\;C:\Program Files\Hummingbird\Connectivity\10.00\Accessories\;;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\GuardianEdge\GuardianEdge Clients\
    Jan 7, 2010 1:00:31 PM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 7, 2010 1:00:31 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 516 ms
    Jan 7, 2010 1:00:31 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 7, 2010 1:00:31 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.28
    Jan 7, 2010 1:00:31 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
    log4j:WARN Please initialize the log4j system properly.
    javax.faces.FacesException: org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory
    at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:553)
    at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:426)
    at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:229)
    at org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:735)
    at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:149)
    at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)
    at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:448)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    Caused by: java.lang.InstantiationException: org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:551)
    ... 21 more
    Jan 7, 2010 1:00:50 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Jan 7, 2010 1:00:50 PM org.apache.catalina.core.StandardContext start

  • How faces-config with two resource bundle???

    Hi all,
    In my application,
    I want to put several message bundle in faces-config.xml.
    How can I do that?
    I defined two message bundle like
    <application>
    <default-render-kit-id>oracle.adf.core</default-render-kit-id>
    <message-bundle>com.resource1</message-bundle>
    <message-bundle>com.resource2</message-bundle>
    <locale-config>
    <supported-locale>en</supported-locale>
    </locale-config>
    </application>
    but the application cannot get messages in resource1 file.

    Hi,
    you need to load the bundles on the page
    <f:loadBundle basename="Bundle" var="msg"/>
    <f:loadBundle basename="Bundle2" var="msg2"/>
    <af:outputText value="#{msg[\'message.key\']}"/>
    <af:outputText value="#{msg2[\'message.key\']}"/>
    Then you can use strings in both properties files. If you only need the strings of one file, delete the other reference
    Frank

  • Connecting two ADF pages.

    Hi,
    I am trying to customize screens in OIM Self Service console.
    I created two .jspx files one is test1.jspx and another one is test2.jspx. In test1.jspx file i created an CommandLink tag, on clicking on that link it should open a popup screen and it should project test2.jspx.
    So, for that I modified the adfc-config.xml as follows
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <view id="test1">
    <page>/test1.jspx</page>
    </view>
    <view id="test2">
    <page>/test2.jspx</page>
    </view>
    <control-flow-rule>
    <from-activity-id>test1</from-activity-id>
    <control-flow-case>
    <from-outcome>dialog:popup</from-outcome>
    <to-activity-id>test2</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    </adfc-config>
    and I modified the faces-config.xml as below
    <?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>
    <from-view-id>/test1.jspx</from-view-id>
    <navigation-case>
    <from-outcome>dialog:popup</from-outcome>
    <to-view-id>/test2.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    But I am unable to navigate from test1.jspx page to test2.jspx page
    Can anyone suggest me where I am going wrong, and how I can navigate from test1 to test2 page.
    -Sri.
    Edited by: Sri Kishore on Jun 1, 2011 10:24 PM

    I am able to see that url changing from test1 to test2, but screen is blank.
    Follwoing are the changes that i did in
    adf-config.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <view id="test1">
    <page>/examples/Test1.jspx</page>
    </view>
    <view id="test2">
    <page>/examples/Test2.jspx</page>
    </view>
    <control-flow-rule id="__1">
    <from-activity-id id="__2">test1</from-activity-id>
    <control-flow-case id="__3">
    <from-outcome id="__5">-navigation</from-outcome>
    <to-activity-id id="__4">test2</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    </adfc-config>
    faces-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <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>-navigation</from-outcome>
    <to-view-id>/examples/Test2.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    Please anyone suggest me how i can create a popup window and where I should modify the code

  • Splitting a renderkit-configuration in two or more files

    Hi
    I develop a webapplication using JSF with additional components. Some of these components use VML which does only work in IE. To support Firefox we want to use a second renderkit which generates code for a SVG approach of our components.
    The problem is that we splitted the components in several modules with an own faces-config.xml for each module. To keep it modular we want to define SVG-renderers for each module in these faces-config-files, too. The SVG-renderer should belong to the same renderkit, so we can easily switch to SVG-output if a user logs in from a Firefox browser.
    Have a look at this little example:
    /WEB-INF/moduleA/faces-config.xml:
    <faces-config>
         <render-kit>
              <renderer>
                   <component-family>map</component-family>
                   <renderer-type>map</renderer-type>
                   <renderer-class>com.example.component.renderkit.vml.MapRenderer</renderer-class>
              </renderer>
         </render-kit>
         <render-kit>
              <render-kit-id>SVG</render-kit-id>
              <render-kit-class>com.sun.faces.renderkit.RenderKitImpl</render-kit-class>
              <renderer>
                   <component-family>map</component-family>
                   <renderer-type>map</renderer-type>
                   <renderer-class>com.example.component.renderkit.svg.MapRenderer</renderer-class>
              </renderer>
    </faces-config>/WEB-INF/moduleB/faces-config.xml:
    <faces-config>
         <render-kit>
              <renderer>
                   <component-family>map</component-family>
                   <renderer-type>tool</renderer-type>
                   <renderer-class>com.example.component.renderkit.vml.ToolRenderer</renderer-class>
              </renderer>
         </render-kit>
         <render-kit>
              <render-kit-id>SVG</render-kit-id>
              <renderer>
                   <component-family>map</component-family>
                   <renderer-type>tool</renderer-type>
                   <renderer-class>com.example.component.renderkit.svg.ToolRenderer</renderer-class>
              </renderer>
    </faces-config>In this case JSF complains about a duplicated renderkit "SVG". If I rename one, both can`t be active at once. Can you tell me how to add further renderers to a renderkit in a separate faces-config?
    Thank you for your help!

    Most likely, you do everything right and will get what you want.
    JSF does complains about a duplicated renderkit "SVG", but notifies you that definition from the two configuration files will be merged.
    This merge is not a problem. It is a normal behavior described int he specification.
    From the first sight, I do not see any conflicts in your files. As a result of merge you should have two renderes in the default render kit and two renderers in the SVG render kit.
    Sergey : http://ajax4jsf.dev.java.net

  • Crystal Report XI R2 compatablity with SAP Integration kit

    Hi All,
    we have suggested to one of our customer  the Customized pack of BO XI Edge series which include the licensing of Xcelsius , WEBI , Universe designer, SAP Integration kit and Live office...
    He dont want to pay extra for taking the license for cryatal report 2008 as they already using the Crystal Report XI R2 version which they use to do reporting on non SAP data.
    My question is :
    1 - Now they want to do reporting ove SAP data using the existing CR solution they have is it possible ??
    2- Will the integration kit support the CR XI R2 version ??
    3- Can he publish the Crystal Report created by CR XI R2 to the Business Object Edge Series plateform ??
    They just want to use CR to do reporting on data from R/3 side .
    Kindly suggest.
    Regards,
    Mishra,Vibhav.

    Dear Ingo,
    Thanks for the reply.
    Actally we have suggested to our client the latest Edge Series Standard pack solution , excluding the crystal report licensing.
    My question is will the integration kit which comes along with the Edge series will support the existing Crystal Report XI R2 and can the it be integrated with BOE(can he publish the reports created with the earlier version to the Business Object plateform).
    If the above sceanario is not possibe then we have to purchse the older version of integartion and i doubt if we can purchse it stand alone in that case we would be having two integration kits running to solve the purpose.
    Kindly suggest.
    Warm regards,
    Mishra Vibhav

  • How to make JSF render binary data

    Hi Everybody,
    I am trying to make JSF render some binary data. I have my own components, set of renderers and render kit all implemented.
    Still, I get several problems, one of them seems to bo implementation of UIComponentTag (in Sun's reference implementation, but, on the first glance,MyFaces has the same problem).
    If you are rendering response, you should use either ResponseWriter or ResponseStream, not both of them, correct ? But UIComponentTag directly creates ResponseWriter in doStartTag() code - and what are my chances to use ResponseStream somewhere ? I was thinking about UIComponent subclassing ( re-implementing doStartTag() and doEndTag() ), but it does not seems to be easy if you are NOT calling parent's methods .
    Of course, I can access servlet's responseStream through facesContext and do anything I would like, but it seems to be more than a hack
    So - does anybody has a positive experience of making JSF render binary data, or this is more a theoretical possibility ?
    Regards, Nikolajs Krasnikovs

    If the data bean is request scoped, then just load it in its constructor or initialization block.
    If it is session scoped, add the following lines to the getter of the datamodel:
    if (FacesContext.getCurrentInstance().getRenderResponse()) {
        // Reload data list here.
    }Also see the following article for some new insights: http://balusc.blogspot.com/2006/06/using-datatables.html

  • X230 2133MHz 16gb kit Compatible?

    Hi,
    The default max is 16gb @ 1600mhz.  there are two new kits out that are 2133mhz.  
    Would the Corsair kit work?
    Would the Kingston HyperX Black kit work?
    thanks.
    Lenovo x230 : Links to RAM
    http://www.amazon.com/Corsair-Vengeance-Performance-2133MHz-CMSX16GX3M2B2133C11/dp/B00H33JU3K/ref=pd...
    http://www.amazon.com/Kingston-HyperX-2133MHz-HX321LS11IBK2-16/dp/B00KQCOTT0/ref=sr_1_4?ie=UTF8&qid=...

    Hi,
    I know at least one example of successful installation and work of 2x4 gb kit KHX21S12P1K2/8, ddr3-2133 too. But 2x8 gb with faster timings....It's a question.
    x220 | i5-2520m | Intel ssd 320 series | Gobi 2000 3G GPS | WiFi
    x220 | i5-2520m | hdd 320 | Intel msata ssd 310 series | 3G GPS | WiFi
    Do it well, worse becomes itself
    Русскоязычное Сообщество   English Community   Deutsche Community   Comunidad en Español

Maybe you are looking for

  • Discovery System for Solution Manager

    I'm looking for an SAP system I can install or access that has the latest Solution Manager code, with sufficent data so that I can perform practical training exercises.  Unfortunately, there's little scope for experimenting with these systems due to

  • Applications don't install..please help

    I own a Nokia n81 8 gig. It has 3 n-gage demos bundled but only one of them is installed, space impact. Fifa and asphalt demos are not installed and when I try to install them with the application manager it says that the certificate is expired, may

  • I want to manuel set "bind varaiable" when page on load with ADF BC

    hi, I am opening a page from other page, opening page is query page that it must take its bind varaiable from main jspx page on ADF, how can I set bind varaiable for query when the page on load. or how can I qeury according to main page variable.

  • Yahoo! Mail send problem

    Hello all, anyone know when we will see a fix for the Yahoo! Mail sending problem? (This is when the iphone appears to have sent an email by playing the "swoosh" sent mail sound, but the message was not sent, the way users have been getting Yahoo! Ma

  • Dvd burner troubles

    i am trying to burn a dvd but i get an error which reads "the device failed to calibrate the laser power level for this media" help!