Migration from jsf 1.1 to jsf1.2

I am trying migrate our application built on JSF 1.1 to JSF 1.2. I am facing lot of porblems during this migration.
Why are the tag classes marked final in JSF 1.2. We have many Tag classes written in our application overriding these tag classes. Is there any other way of overriding the behaviour of JSF 1.2 tag classes apart from overriding it.
I also see from the source code, that the tag classes are all generated code. Does it mean we can regenerate it using some build file and make the tag classes non-final.
Please help.
Thanks in advance,
Yetish

I agree to your point that we need program to an interface and not to an implementation class. But in JSF 1.2 scenario, even if we go ahead and implement it using object composition, we cannot use the Tag classes because of the fact that most of the important methods are marked protected (ex setProperties method of Tag classes) and hence cannot be invoked.
These methods can be overridden only by a subclass and we cannot subclass a final class.
I think if the idea is not to override a specific behaviour then that behaviour shoud be made final preventing from overriding and not declare the entire class final.
Your thoughts please.

Similar Messages

  • Problem migrating from JSF Mojarra 1.2 to 2.0

    As my subject suggests, I am having a problem migrating from JSF 1.2 to JSF 2.0.
    As a first step, all that I had done was to replace both 'jsf-api.jar' and 'jsf-impl.jar' with the newer version 2.0 and restart my server.
    As expected, server failed to publish with the following error message on the console. Any hint on solving this issue is highly appreciated.
    The error message goes as below:
    <Jun 30, 2009 10:31:54 AM PDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application D:\MalcolmX\web. Please make sure that the annotations are valid. The error is com.sun.faces.taglib.jsf_core.BeanValidatorTag>
    <Jun 30, 2009 10:31:54 AM PDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application '_auto_generated_ear_' due to error weblogic.application.ModuleException: Failed to load webapp: '/'.
    weblogic.application.ModuleException: Failed to load webapp: '/'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: com.sun.faces.taglib.jsf_core.BeanValidatorTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    Thanks.

    SirG wrote:
    As expected, server failedWow :P
    The error message goes as below:
    java.lang.ClassNotFoundException: com.sun.faces.taglib.jsf_core.BeanValidatorTagIs it in classpath? Exception says it is not.
    Don't you have some JSF 1.2 libraries around somewhere else in classpath? Appserver/lib? JDK/lib? Etc. You might have a mix of JSF 1.2 and JSF 2.0 in the classpath and the exception is just been caused by this collision.

  • Migrate from JSF to Struts?

    Hi
    I have seen some threads in this form regarding migration from Struts to JSF. Most of the posters back then (1999-2003) suggested starting with Struts and then migrating to JSF for production.
    Now I have one year of experience with Struts in a Tomcat environment and practically no experience with JSF. My current job involves maintaining JSF code. The boss thinks migrating to Struts would make us independent of the company to whom the JSF project was outsourced.
    I would like to know your opinion on migrating from JSF to Struts. How hard is it? Our architecture has Views, View Helpers, Business Context objects, Business Delegate objects, Business Processor objects, DAO (DB2, AS/400), DTO, etc. They seem rich enough semantically when compared with Struts that groups all these under MVC, even though they are complex to manage (job security :).
    I'd appreciate your feedback.
    Thanks
    Murthy

    To quote Ron Burdundy, "That doesn't even make any sense!" :) Seriously, though (and I admit a huge bias), that seems like a huge step backward. It seems the logic is this: "We outsourced the development of this system to someone else, and now we're left either maintaining it ourselves or paying them to do it, but, if we rewrite it with $FRAMEWORK, we'll be free of them." Is that right? How is maintaining a Struts app different (frameworks aside) from maintaining a JSF app? This is probably obvious, but that's a step I would neither take nor suggest. :)

  • MIGRATING FROM JSF 1.2 TO JSF 2.0.1 WITH PRIMEFACES

    HELLO!
    I'm migrating to JSF 2.0.1 (mojarra 2.0.1) using PrimeFaces 2.0.
    As I'm comming from JSF 1.2, I still have some libs in my project as jsf-facelets.jar, jstl.jar.
    With JSF 1.2 I was using Tomcat v6 1.4, but I upgrated to Tomcat v6 2.0
    I decided to use primeFaces for my uiComponents and this requires JSF 2.0
    I install primeFaces.jar and download jsf-api.jar and jsf-impl.jar
    I changed my config to 2.0 in my faces-config and the weapp works fine! I'm tryin' to Login using <p:commandButton> (from PrimeFaces) with action attribute, but when the app calls the action from my managedBean, an error appears....
    javax.servlet.ServletException: Erro de argumento: The parameter viewId is null
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:323)
         br.com.webtraffic.big.filter.ExpireFilter.doFilter(ExpireFilter.java:27)
         org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         br.com.webtraffic.big.controller.authorization.AuthorizationViewRedirectionFilter.doFilter(AuthorizationViewRedirectionFilter.java:24)
         org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    root cause
    java.lang.NullPointerException: Erro de argumento: The parameter viewId is null
         com.sun.faces.util.Util.notNull(Util.java:221)
         com.sun.faces.application.view.MultiViewHandler.getActionURL(MultiViewHandler.java:270)
         org.springframework.faces.webflow.FlowViewHandler.getActionURL(FlowViewHandler.java:50)
         com.sun.faces.renderkit.html_basic.FormRenderer.getActionStr(FormRenderer.java:234)
         com.sun.faces.renderkit.html_basic.FormRenderer.encodeBegin(FormRenderer.java:137)
         javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
         javax.faces.component.UIComponent.encodeAll(UIComponent.java:1608)
         javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
         com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:415)
         com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:204)
         com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
         org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:90)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
         com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:311)
         br.com.webtraffic.big.filter.ExpireFilter.doFilter(ExpireFilter.java:27)
         org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         br.com.webtraffic.big.controller.authorization.AuthorizationViewRedirectionFilter.doFilter(AuthorizationViewRedirectionFilter.java:24)
         org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)I think I'm having a Navigation problem, because Navigation of JSF2.0 has new features but I did search and research about it and nothing worked.
    I deleted the FaceletViewHandler tag from faces-config 'cause is not compatible with JSF2.0
    <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
    Anyone knows what possible I can be doing wrong?
    Here's my faces-config:
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
                  version="2.0">
    <application>
         <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver>
         <locale-config>
              <default-locale>pt_BR</default-locale>
              <supported-locale>en</supported-locale>
              <supported-locale>es</supported-locale>
         </locale-config>
         <message-bundle>messages</message-bundle>
    </application>
         <navigation-rule>
              <from-view-id>/tools/formLogin.xhtml</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/tools/index.xhtml</to-view-id>
                   <redirect />
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>/tools/formForgotPassword.xhtml</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/tools/forgotPasswordSuccess.xhtml</to-view-id>
                   <redirect />
              </navigation-case>
         </navigation-rule>
    </faces-config>Please I'm trying about 2 days...any ideas?
    TKS!

    so once the VM Enviroment is set for 11.1.2.1
    i can just used the Essbase EAS Wizards
    to bring the Applications and Other Objects into the new Enviroment 11.1.2.1
    and then Export the Data from the old Enviroment 11.1.2
    and import into the new Enviroment 11.1.2.1
    Correct ????
    Edited by: Next Level on Jul 28, 2011 7:53 AM
    Edited by: Next Level on Jul 28, 2011 7:57 AM
    Edited by: Next Level on Jul 28, 2011 7:57 AM

  • Migrating from JSF 1.1 to JSF 1.2

    I'm migrating an existing JSF 1.1 application that was based closely on the examples in the Core JavaServer Faces book. I'm having a very specific problem getting pages to render once I log into the application. Specifically the code associated with the TabbedPaneRenderer specified in chapter 9. The application worked fine under JSF 1.1 but after upgrading to 1.2 it seems that the functionality that was provided with the includePage method will no longer work.
    The source code that was implemented is as follows:
       private void includePage(FacesContext fc, UIComponent component) {
         FacesContext     ctx        =  FacesContext.getCurrentInstance();
         VariableResolver vr         =  ctx.getApplication().getVariableResolver();
         ExternalContext  ec         =  fc.getExternalContext();
         ServletContext   sc         =  (ServletContext) ec.getContext();
         UITabbedPane     tabbedPane =  (UITabbedPane) component;
         String           content    =  tabbedPane.getContent();
         ServletRequest  request  = (ServletRequest) ec.getRequest();
         ServletResponse response = (ServletResponse) ec.getResponse();
         try {
           sc.getRequestDispatcher(content).include(request, response);
         } catch (ServletException ex) {
           logError(ctx, vr, "Couldn't load page " + content + ": " + ex);
         } catch (IOException ex) {
           logError(ctx, vr, "Couldn't load page: " + content + ": " + ex);
       }This code is called from the encodeEnd method of the Renderer. Unfortunately the page that is being included never gets rendered. How should this be done in the JSF 1.2 implementation?
    Thanks for the help...

    Hello cmathrusse,
    I just ran across the same issue. We were using JSF 1.1 and tomcat 5 and JDK 1.5 and and Tiles 1.1. We are migrating to JSF 2.0 JDK 1.6 and Tomcat 6 and our Custom Component also doesnt show up. I believe we are in the same situation.
    Did you ever fig out the issue?
    Thanks,
    Tahir

  • Migration from JSF 1.1 to 1.2 using WebLogic 10.3

    I am upgrading my application from JSF 1.1 to JSF 1.2 and to Web Logic 10.3.
    Initially everything seems to be fine when the page displays. Problem occurs only when my page is being submitted. I am getting the following error message on the screen when the form gets submitted.
    - Illegal Syntax for Set Operation
    - MyForm:htmlBoxes: An error occurred when processing your submitted information.My JSF code is:
    <h:selectManyCheckbox id="htmlBoxes" value="#{billsearch.location_types}">
    <f:selectItem itemLabel="#{bundle.senatefile}" itemValue="senfile" />
    <f:selectItem itemLabel="#{bundle.assemfile}" itemValue="assemfile" />
    <f:selectItem itemLabel="#{bundle.sencomm}" itemValue="sencomm" />
    <f:selectItem itemLabel="#{bundle.assemcomm}" itemValue="assemcomm" />
    </h:selectManyCheckbox>Any help on this issued is highly appreciated.
    Thanks
    Edited by: SirGeneral on Oct 7, 2008 11:16 AM

    Hi,
    I'm experience the same problem. Curiosly I developed my app using tomcat 6.0.x and using jsf-api.jar and jsf-impl.jar. Later due the specifications I have changed to tomcat 5.0.28 and jsf-api-1.2.jar and jsf-impl-1.2.jar and I'm getting this error.
    sourceId=main:TP20[severity=(ERROR 2), summary=(main:TP20: An error occurred when processing your submitted information.), detail=(main:TP20: An error occurred when processing your submitted information.)]
    this is ocurred in an HtmlInputText
    Any suggestions??
    need code??
    Thanks

  • Migrating from JSF 1.1 to 1.2

    Hi folks,
    My curent app uses JSF 1.1. I want to move to JSF1.2 which is the latest release. But when I try to deploy my app in Oracle App server after replacing new libs, I am getting error as
    Exception: NoClassDefFoundError: javax/el/ExpressionFactory
    Operation failed with error: javax/el/ExpressionFactory
    I am not able to go farward and I am complete stuck here. Please help me out how solve this migration problem,
    These are the steps I follwed in mgrating,
    1. Download JSF1.2 from net.
    2. Replace old jsf-api.jar , jsf-impl.jar with new jars.
    3. Packed(creating ear) and deployed...
    Please let me know whetehr any wrong in this process..
    Fast respose will be great !!!

    Thanks for your quick replay,
    Currently I don't know, whether My app server supoorts JSP2.1 and servlet2.5. I will check out this.
    Could you please tell how to add facelets to my app server. What are these facelet?
    Once agaian thanks for replay

  • Migration from jsf 1.2  with spring to JSF 2.0

    Hi guys,
    I have a project written with JSF 1.2 and Spring IOC as bean container and i use Tomcat 6.20, now i see that a lot of people try jsf 2.0, my question is what exactly i need to move to JSF 2.0 , i did a little research and found out that i have to implement my own View scope if i use Spring , here is one implementation example http://cagataycivici.wordpress.com/2010/02/17/port-jsf-2-0s-viewscope-to-spring-3-0/.
    have anybody try this solution?
    so from where i have to start migration? is there any step by step document? the system is already in production and i have to evaluate the risks of migration.
    i use myfaces implementation with richfaces and primefaces . will old tags work under jsf 2.0 ? Please provide me with some information .

    so from where i have to start migration? is there any step by step document? the system is already in production and i have to evaluate the risks of migration.Do you actually NEED Jsf 2.0? The application is already working I presume, so it would seem a huge waste of time, money and effort to migrate it without a good reason to do so. If it isn't broken, don't fix it.
    I'd wait until a new application needs to be implemented and then make the choice to use JSF 2.0. A review of all the changes done in JSF 2.0 can be a good place to start to make the decision.

  • Upgrading from JSF 1.2 to JSF1.2_09 OR JSF2.0.0

    Hi All,
    I am currently using JSF 1.2 version with IDE NetBeans 6.0.1 and GlassFish-V2 application server. Now I want to upgrad the JSF version to either 1.2_09 or 2.0.0. I know that I can dowload the latest versions from https://javaserverfaces.dev.java.net/. But I dont know the procedure to upgrad the version.
    Please suggest me how can I upgrad the JSF version (if possible pl tell me the step by step procedure).

    Replace the JSF JAR files. There's a Glassfish updater as well. Documentation is just available at the homepage.

  • Question on migrating from JSF 1.2 to JSF 2.0

    My application on JSF 1.2 has a fairly large faces-config.xml file. Just the sort of thing that some features of JSF 2.0 is supposed to reduce. However I find that under Glassfish v3 I can't create managed beans with the annotations and no entries in faces-config. I read the JSF 2.0 spec and I can't see any mention of whether a mix of declarations (XML + Annotations) are permitted.
    Can someone tell me if this is supposed to work, and if it is how Glassfish behaves with regard to this?

    Replace the JSF JAR files. There's a Glassfish updater as well. Documentation is just available at the homepage.

  • Problem when migrating from JSF1.1 to 1.2

    Hi,
    We are migrating WAS6.0 to WAS 7.0 - JSF1.1 to JSF1.2
    We have modified faces-config file and added below part.
    <faces-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
    version="1.2">
    But while trying to access the application we are getting the below error,
    [6/7/11 22:40:36:520 EDT] 00000037 SystemOut O 2011-06-07 22:40:36,519 [WebContainer : 0 - ClientControllerServlet - ] DEBUG - action=locales
    [6/7/11 22:40:36:537 EDT] 00000037 AdfFacesFilte W oracle.adf.view.faces.webapp.AdfFacesFilterHelper verifyFilterIsInstalled The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    [6/7/11 22:40:36:579 EDT] 00000037 lifecycle E JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: "") Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@403b403b]
    [6/7/11 22:40:36:590 EDT] 00000037 SystemOut O 2011-06-07 22:40:36,590 [WebContainer : 0 - SessionCheckPhaseListener - ] DEBUG - page will be shown as user[null]
    [6/7/11 22:40:36:590 EDT] 00000037 SystemOut O 2011-06-07 22:40:36,590 [WebContainer : 0 - SessionCheckPhaseListener - ] DEBUG - show page[true]
    [6/7/11 22:40:36:591 EDT] 00000037 SystemOut O 2011-06-07 22:40:36,591 [WebContainer : 0 - CustomFacesServlet - ] ERROR - javax.servlet.ServletException: viewId:/brazil/web/brazil/client/languages.jsp - View /brazil/web/brazil/client/languages.jsp could not be restored.
    [6/7/11 22:40:36:869 EDT] 00000037 AdfFacesFilte E oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl _setupJboDomainStuff
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl._setupJboDomainStuff(AdfFacesFilterHelperImpl.java:192)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl.init(AdfFacesFilterHelperImpl.java:64)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.init(AdfFacesFilterImpl.java:96)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.init(AdfFacesFilter.java:58)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:140)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:548)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:462)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:319)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:379)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:860)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
    Caused by: java.lang.IllegalStateException: ELResolvers cannot be added after the application initialization is complete.
    at com.sun.faces.application.ApplicationImpl.setPropertyResolver(ApplicationImpl.java:424)
    at oracle.adfinternal.view.faces.webapp.AdfModelHelper.init(AdfModelHelper.java:37)
    ... 34 more
    Could you please help us to resolve this issue?
    Regards,
    Mohanraj M

    Hi,
    Currently we are migrating from WAS 6.0 to WAS 7.0. We are using JSF1.1 and ADF 10.1.3 . We don't want to migrate JSF and ADF , so we are using shared libraries.
    Everything is working fine except adf popup. New window is opening, but we are not able to pass any value from parent to child. It is coming as null. Also we are not able to close popu also not able to transfer any data from popup to parent using returnfromdialog method.
    We are getting the below exception,
    [6/16/11 14:58:59:495 EDT] 00000042 DialogService W oracle.adfinternal.view.faces.context.DialogServiceImpl returnFromDialog No 'DialogUsedRK' key available for returnFromDialog to do the right thing!
    [6/16/11 14:58:59:496 EDT] 00000042 InvokeApplica E com.sun.faces.lifecycle.InvokeApplicationPhase execute popView(): No view has been pushed.
    java.lang.IllegalStateException: popView(): No view has been pushed.
    at oracle.adfinternal.view.faces.context.DialogServiceImpl.popView(DialogServiceImpl.java:69)
    at oracle.adfinternal.view.faces.context.DialogServiceImpl.returnFromDialog(DialogServiceImpl.java:230)
    at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.returnFromDialog(AdfFacesContextImpl.java:91)
    at oracle.adfinternal.view.faces.taglib.listener.ReturnActionListener.processAction(ReturnActionListener.java:39)
    at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
    at oracle.adf.view.faces.component.UIXComponentBase.broadcast(UIXComponentBase.java:548)
    at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:200)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
    at com.avon.arrm.brazil.presentation.common.CustomFacesServlet.service(CustomFacesServlet.java:55)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
    at com.avon.arrm.brazil.presentation.common.ServletADFFilter.doFilter(ServletADFFilter.java:42)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:105)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
    [6/16/11 14:58:59:505 EDT] 00000042 SystemOut O 2011-06-16 14:58:59,505 [WebContainer : 1 - CustomFacesServlet - ] ERROR - javax.servlet.ServletException: popView(): No view has been pushed.
    Hi,
    Currently we are migrating from WAS 6.0 to WAS 7.0. We are using JSF1.1 and ADF 10.1.3 . We don't want to migrate JSF and ADF , so we are using shared libraries.
    Everything is working fine except adf popup. New window is opening, but we are not able to pass any value from parent to child. It is coming as null. Also we are not able to close popu also not able to transfer any data from popup to parent using returnfromdialog method.
    We are getting the below exception,
    [6/16/11 14:58:59:495 EDT] 00000042 DialogService W oracle.adfinternal.view.faces.context.DialogServiceImpl returnFromDialog No 'DialogUsedRK' key available for returnFromDialog to do the right thing!
    [6/16/11 14:58:59:496 EDT] 00000042 InvokeApplica E com.sun.faces.lifecycle.InvokeApplicationPhase execute popView(): No view has been pushed.
    java.lang.IllegalStateException: popView(): No view has been pushed.
    at oracle.adfinternal.view.faces.context.DialogServiceImpl.popView(DialogServiceImpl.java:69)
    at oracle.adfinternal.view.faces.context.DialogServiceImpl.returnFromDialog(DialogServiceImpl.java:230)
    at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.returnFromDialog(AdfFacesContextImpl.java:91)
    at oracle.adfinternal.view.faces.taglib.listener.ReturnActionListener.processAction(ReturnActionListener.java:39)
    at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
    at oracle.adf.view.faces.component.UIXComponentBase.broadcast(UIXComponentBase.java:548)
    at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:200)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
    at com.avon.arrm.brazil.presentation.common.CustomFacesServlet.service(CustomFacesServlet.java:55)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
    at com.avon.arrm.brazil.presentation.common.ServletADFFilter.doFilter(ServletADFFilter.java:42)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:105)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
    [6/16/11 14:58:59:505 EDT] 00000042 SystemOut O 2011-06-16 14:58:59,505 [WebContainer : 1 - CustomFacesServlet - ] ERROR - javax.servlet.ServletException: popView(): No view has been pushed.
    Could anyone please help us to resolve this issue.

  • Problem while migrating from JSF1.1 to JSF1.2

    I'm facing the following issues while migrating from WAS 6.1 to WAS7.0
    For this I have upgraded Jsf 1.1 to 1.2 and webmodule to 2.5, and following errors I'm having...
    1. Description     The method getExceptionMessageString(String) is undefined for the type Util
    2. Description The method getMyForm(UIComponent) in the type CommandLinkRenderer is not applicable for the arguments (FacesContext, UICommand)     
    3. Description     The method getName() is undefined for the type HtmlBasicRenderer.Param     LinkRendererWithName.java
    4. Description     The method getParamList(UIComponent) in the type HtmlBasicRenderer is not applicable for the arguments (FacesContext, UICommand)
    5. Description     The method getValue() is undefined for the type HtmlBasicRenderer.Param     LinkRendererWithName.java
    Any alternative methods to those above methods in JSF1.2?
    or am I need to upgrade any of the jaf dependencies?
    Any suggestions are appreciated.
    Thanks

    i_oss wrote:
    But you should consider implementing your Renderers only using the API and not extending the com.sun.faces.* implementation classes, or you might end up changing your code again on your next jsf updates.Hm, good thinking. I didn't think about the split between the API and the implementation.
    OT question on that subject: is it really good design to have that split? JSF, JAXB, JAX-WS, even CDI has an API and an implementation part to it. But do we really need that? In the case of JSF, you have Mojarra and Myfaces (and some other obscure JSF implementation I believe). But why would you use Myfaces over Mojarra since they both solve the same problem and are both actively developed? Why do we have to deal with API/implementation conflict hell that you can often find when using JAXB, especially in a Mavenized environment? We have Weld as the implementation for CDI. What would move anyone to make a 'competing' implementation of it?
    For something like JPA I can at least understand it; the persistence providers were already there before JPA saw the light of day. There was no need for Sun to create a competing implementation, so they provided the API in stead. But in all other cases... I just don't get it.

  • A problem in JSF migration from 1.1 to 1.2

    Hi all,
    This is Sailaja I am working with a project that is about migrating JSF1.1 to JSF1.2,
    My problem is..
    In my project we have used CommandLinkTag class to develop a custom component when using 1.1
    But in 1.2 vertion CommandLinkTag class designed as "final" so now i am unable to extend the final class so my old code gets problem.
    Please any one provide some solution or else i need some clarification about why they made that class as final,
    Is there any other class developed for that..
    Thanks
    Sailaja N
    Edited by: nsailaja on Aug 24, 2010 5:43 AM

    If the target forest is running Exchange 2003, you aren't 100% wrong in saying it may not be possible. If you are migrating from Exchange 2010 to a new forest, you need to be migrating into an Exchange 2010 organization - downlevel migrations aren't supported,
    to the best of my knowledge. Here are the links supporting Exchange forest migrations, and they specifically say they are for migrations into an Exchange 2010 organization:
    http://blogs.technet.com/b/meamcs/archive/2011/06/10/exchange-2010-cross-forest-migration-step-by-step-guide-part-i.aspx
    https://gallery.technet.microsoft.com/office/Cross-Forest-Migration-7443029c
    http://blogs.technet.com/b/exchange/archive/2010/08/10/3410619.aspx
    http://technet.microsoft.com/en-us/library/dd876952.aspx
    I'm pretty sure that the tools used won't allow you to migrate from Exchange 2010 into Exchange 2003.  I'm sure you can kludge together a migration process that exports mailboxes to PST, then imports them into the target mailboxes, but that would be
    a painful process.

  • Jspx template migration to jsf 2 problematic

    Hello experts,
    I have a ADF web application developed with JDeveloper 11.1.1.4 using JSF 1.2 deployed on WebLogic server 10.3.4.
    When I migrate to the new version jsf 2: Build JDEVADF_11.1.2.2.0_GENERIC_120418.2212.6183.1 and WebLogic server 10.3.5, the jspx template below misbehaves.
    The menu is brought from the left to the right hand side, though it expands and navigates well, the page contents, but the menu and logo, are not displayed.
    In other words, I can only see the logo, the moved but working menu but nothing else.
    Is there any way of correcting that kind of behaviour and migrate the app?
    Thank you in advance!
    NA
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <af:pageTemplateDef var="attrs">
    <af:panelStretchLayout id="pt_psl1" topHeight="113px">
    <f:facet name="center">
    <af:panelSplitter id="pt_ps1" orientation="vertical"
    splitterPosition="792">
    <f:facet name="first">
    <af:decorativeBox id="pt_db2" topHeight="26px">
    <f:facet name="center">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pt_pgl7">
    <f:verbatim>
    <div align="center">
    <af:facetRef facetName="content"/>
    </div>
    </f:verbatim>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="top">
    <af:menuBar id="pt_mb1">
    <af:group id="pt_g1">
    <af:popup id="aboutPopup">
    <af:dialog id="pt_d1" type="ok"
    title="About Auction Bazaar">
    <af:panelGroupLayout id="pt_pgl3" halign="center"
    layout="vertical">
    <af:outputText value="Developed by Nick Aiva. Version #{initParam.ActionBazaarApplicationVersion } Copyright
    2012 #{requestContext.timeZone.displayName} "
    id="outputText1"/>
    <af:outputText value="Language and locale settings follow:
    #{facesContext.application.defaultLocale.displayLanguage}
    #{facesContext.application.defaultLocale.language}
    #{facesContext.application.defaultLocale.displayCountry}
    #{facesContext.application.defaultLocale.ISO3Country}
    #{facesContext.application.defaultLocale.ISO3Language}" id="pt_ot3"/>
    <af:spacer width="20" height="10" id="spacer1"/>
    <af:outputText value="For newer versions please visit:" id="pt_ot2"/>
    <af:spacer width="20" height="10" id="spacer3"/>
    <af:goLink id="goLink1" targetFrame="_blank"
    destination="http://nickaiva.blogspot.com"
    inlineStyle="font-size:medium;"
    text="http://nickaiva.blogspot.com"/>
    <af:spacer width="20" height="10" id="spacer2"/>
    </af:panelGroupLayout>
    </af:dialog>
    </af:popup>
    <af:menuBar id="menuBar1">
    <af:menu text="User" id="menu2">
    <af:commandMenuItem text="Add new user"
    id="commandMenuItem3"
    action="createUser"/>
    <af:commandMenuItem text="Query users"
    id="commandMenuItem4"
    action="queryUsers"
    rendered="#{securityContext.userInRole['ADMINISTRATOR']}"/>
    <af:commandMenuItem text="Change bidder status"
    id="pt_cmi3"
    action="changeBidderStatus"
    rendered="#{securityContext.userInRole['ADMINISTRATOR']}"/>
    <af:commandMenuItem text="My personal details"
    id="commandMenuItem12"
    action="home"/>
    <af:commandMenuItem text="Log out" id="pt_cmi4"
    rendered="#{securityContext.authenticated}"
    action="#{login.performLogout}"/>
    </af:menu>
    <af:menu text="Bid" id="menu3"
    textAndAccessKey="&amp;Bid">
    <af:commandMenuItem text="Add new bid"
    id="commandMenuItem5"
    action="addBid"
    rendered="#{securityContext.userInRole['BIDDER , ADMINISTRATOR']}"/>
    <af:commandMenuItem text="Query bids"
    id="commandMenuItem6"
    action="queryBids"/>
    <af:commandMenuItem text="Withdraw a bid"
    id="commandMenuItem11"
    action="withdraw"
    rendered="#{securityContext.userInRole['BIDDER , ADMINISTRATOR']}"/>
    </af:menu>
    <af:menu text="Item" id="pt_m2"
    textAndAccessKey="&amp;Sell">
    <af:commandMenuItem text="Add new item" id="pt_cmi2"
    action="addItem"
    rendered="#{securityContext.userInRole['SELLER, ADMINISTRATOR']}"/>
    <af:commandMenuItem text="Query items"
    id="commandMenuItem1"
    action="queryItems"/>
    <af:commandMenuItem text="Update item"
    id="commandMenuItem14"
    action="updateItem"
    rendered="#{securityContext.userInRole['SELLER, ADMINISTRATOR']}"/>
    <af:commandMenuItem text="Place item in category"
    id="commandMenuItem16"
    action="placeItemInCategory"
    rendered="#{securityContext.userInRole['SELLER, ADMINISTRATOR']}"/>
    </af:menu>
    <af:menu text="Category" id="menu4"
    textAndAccessKey="&amp;Bid">
    <af:commandMenuItem text="Add new category"
    id="commandMenuItem7"
    action="addCategory"
    rendered="#{securityContext.userInRole['ADMINISTRATOR']}"/>
    <af:commandMenuItem text="Query categories"
    id="commandMenuItem8"
    action="queryCategories"/>
    <af:commandMenuItem text="Update category"
    id="commandMenuItem15"
    action="updateCategory"
    rendered="#{securityContext.userInRole['ADMINISTRATOR']}"/>
    </af:menu>
    <af:menu text="Order" id="menu5"
    rendered="#{securityContext.userInRole['BIDDER,ADMINISTRATOR ']}">
    <af:commandMenuItem text="Create Shipping Info"
    id="pt_cmi1"
    action="createShippingInfo"/>
    <af:commandMenuItem text="Add new order"
    id="commandMenuItem9"
    action="addOrder"/>
    <af:commandMenuItem text="Query orders"
    id="commandMenuItem10"
    action="queryOrders"/>
    </af:menu>
    <af:menu text="Help" id="menu1"
    textAndAccessKey="&amp;Help">
    <af:commandMenuItem id="commandMenuItem2"
    textAndAccessKey="&amp;About"
    text="About">
    <af:showPopupBehavior popupId="aboutPopup"
    triggerType="action"/>
    </af:commandMenuItem>
    <af:goMenuItem text="Diagnostics" id="goMenuItem1"
    destination="/servlet/SuperSnoop"/>
    <af:commandMenuItem id="commandMenuItem13"
    action="resetLog4j"
    text="ResetLog4j"/>
    </af:menu>
    </af:menuBar>
    </af:group>
    </af:menuBar>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    <f:facet name="top">
    <af:decorativeBox id="pt_db1" topHeight="50px">
    <f:facet name="center">
    <af:panelGroupLayout id="pt_pgl1" layout="horizontal"
    valign="middle">
    <af:goLink id="pt_gl1"
    targetFrame="_blank"
    destination="http://nickaiva.blogspot.com"
    inlineStyle="font-size:medium;">
    <af:image id="pt_i1" shortDesc="http://nickaiva.blogspot.com"
    inlineStyle="height:auto; width:auto;"
    source="/images/cropped-small-sea-wave .jpg"/>
    <af:spacer width="20" height="10" id="pt_s1"/>
    </af:goLink>
    <af:outputText value="#{attrs.pageTitle}" id="pt_ot1"
    inlineStyle="color:Navy; font-size:large;"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="bottom">
    <af:panelStretchLayout id="pt_psl3" startWidth="200px">
    <f:facet name="center">
    <af:panelGroupLayout id="pt_pgl2" halign="end" layout="horizontal">
    <af:panelGroupLayout id="pt_pgl4" layout="vertical">
    <af:spacer width="230" height="8" id="pt_s2"/>
    <af:outputFormatted value="Copyright &amp;copy; 2012 http://nickaiva.blogspot.com. All rights reserved."
    id="pt_of1" styleUsage="pageStamp"
    inlineStyle="text-align:right;"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="start">
    <af:panelGroupLayout id="pt_pgl5" layout="vertical">
    <af:spacer width="200" height="8" id="pt_s3"/>
    <af:panelGroupLayout id="pt_pgl6" layout="horizontal">
    <af:spacer width="4" height="10" id="pt_s4"/>
    <af:switcher id="pt_s5"
    facetName="#{securityContext.authenticated?'loggedon':'loggedoff'}"
    defaultFacet="loggedoff">
    <f:facet name="loggedoff">
    <af:outputFormatted value="[Not Connected]" id="pt_of5"
    styleUsage="pageStamp"/>
    </f:facet>
    <f:facet name="loggedon">
    <af:outputFormatted value="[Connected as  #{securityContext.userName}]"
    id="pt_of6" styleUsage="pageStamp"/>
    </f:facet>
    </af:switcher>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </f:facet>
    </af:panelStretchLayout>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>templateABDef</display-name>
    <facet>
    <facet-name>content</facet-name>
    </facet>
    <attribute>
    <attribute-name>
    pageTitle
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    Auction Bazaar
    </default-value>
    </attribute>
    </component>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>
    Edited by: NickAiva on Aug 1, 2012 4:01 PM

    Submitted bug at http://java.net/jira/browse/ADFEMG-43
    under the title:
    Problematic jspx template migration to jsf 2
    Edited by: NickAiva on Aug 2, 2012 8:52 AM
    Removing some jdev visual editor libraries solved the issue
    Edited by: NickAiva on Aug 7, 2012 9:25 AM

  • Migration from Jdeveloper 11g r1 to 11g r2 problem

    Hi all
    I have a project initially created in Jdeveloper 11g r1
    after migrating it to Jdeveloper 11g r2 i tried to replace lookup ejb invocation to dependency injection.
    So i used @EJB annotation in my managed bean. I'm shure there could be no mistakes in the way how i used this anno, i did it many times
    it looks something like this
    @EJB(name="StatelessSessionEJBEx",beanInterface =StatelessSessionEJBEx.class, beanName = "StatelessSessionEJBEx")
    as a result it generated an exception which said that the EJB interface could not be found, though all dependencies between business and view projects are in place. After a while i figured out that the problem is it used JSF 1.2 specification instead of 2.0 so i replaced the version of JSF in managed been source code
    <?xml version="1.0" encoding="windows-1251"?>
    <faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee"> ....
    but it seemed to make no effect at all.
    So are there any guesses what i did wrong
    Thanks. Alex.

    Hi,
    the server used by JDeveloper 11g R2 is a patched WLS 10.3.5 or 10.1.3.6 server (depends on teh JDeveloper version), which is not a Java EE 6 version but Java EE 5 (which explains why CDI doesn't work as expected). To read up on how to get annotated EJBs work from JSF managed beans, see http://buttso.blogspot.de/2011/03/jsf-with-managed-beans-and-dependency.html.
    The upcoming 12c release will solve all of this. My suggestion therefore is to keep on going with the web.xml reference and then replace it later with @EJB annotation references
    Frank

Maybe you are looking for

  • Why is 'Sherlock' TV show not showing up on my original ipad?

    We have a large shared iTunes library with LOTS of movies, tv shows and music. The library is stored on an 8TB Promise Pegasis RAID drive linked to a mac mini. We aos have three 1 iPhone 4, 2 iPhone 5, 2 original iPads, 1 iPad (3rd generation) and 2

  • Assistance pls: ~50% links not working on page, iWeb 3.0.4

    I built a new page on a longstanding iWeb site last night, uploaded it (to my own domain hosted at Earthlink) and discovered that about 50% of the links on the page are not working, though all the links are formatted identically. Here's the page: htt

  • Older Macbook Pro Locking Up Every Few Minutes, Help Troubleshooting Please

    Hi Folks, I've been having problems with the trackpad click-bar acting up, but now suddenly the computer is repeatedly freezing/locking up.  Each time I have to use the power button to turn it off, then reboot. How can I start figuring out what the h

  • Using lightroom 5 to delete unwanted photos

    I have LR5 locating photos on each hard drive. I know how to select and import INTO Lightroom What I would like is to be able to delete the images I don't want from with Lightroom. Is this possible? Also a Best Practices question: Should I put all ph

  • JMS receiver Adapter - Weblogic

    Hi, Could you please help us. We are sending messages from XI to Weblogic server with the help of JMS Adapter. The Queue is available in Weblogic we are able to ping the Weblogic server from XI Server. The port is right one. Our  configuration  of JM