Re: [Trinidad] PanelTabbed does not work properly
Hi Saw some javascripts being put by Trinidad in source of the page But no java csript error. This seems to be an issue with facelets + trinidad 2.0.0 as when I removed the ui:composition etc from the page (I.e. facelet stuff) then the PanelTab works fine. So the issue seems to be facelet + trinidad 2.0.0 related. I tried moving to trinidad 2.0.1 but unfortunately when I use 2.0.1, the page stops rendering all togather (nothing is shown) Have not been able to resolve the issue. Any help will be appreciated. thanks Sandeep On Tue, Mar 20, 2012 at 9:39 PM, Sandeep Gupta sgu...@anantadvantages.comwrote: Hi Thanks for your reply. I do not have access to my work host now. Will check tomorrow and reply. Thanks Sandeep On 3/20/2012 9:28 PM, Richard Yee wrote: Can you view the source and see if the tags include javascript resources? Most of the JSF tags use javascript. -Richard On Tue, Mar 20, 2012 at 8:39 AM, Sandeep Gupta sgu...@anantadvantages.com**wrote: Hi No Java script in xhtml file and hence no possibility of this rgds Sandeep On 3/20/2012 9:07 PM, Richard Yee wrote: Are there any javascript errors shown in the browser console when you click the tab? -Richard On Tue, Mar 20, 2012 at 12:13 AM, Sandeep Gupta sgu...@anantadvantages.comwrote: Hi I have taken PanelTabbed example source and copied it as follows tr:panelTabbed tr:showDetailItem text=Apache Trinidad Components position=above tr:panelHeader text=Apache Trinidad Components First Child / tr:panelHeader text=Apache Trinidad Components Second Child/ /tr:showDetailItem tr:showDetailItem text=Architecture tr:panelHeader text=Architecture First Child/ tr:panelHeader text=Architecture Second Child / /tr:showDetailItem tr:showDetailItem text=Release disabled=true tr:panelHeader text=Release First Child/ tr:panelHeader text=Release Second Child/ /tr:showDetailItem /tr:panelTabbed The tabs are shown.Now do the following sequence. press, 'Architecture' tab, that tab is shown. Press 'Apache Trinidad Components' tab, tab is shown. Press 'Architecture' tab again - Now this tab is NOT SHOWN I am working with the following enviornment Application server: Jboss AS7 (JSF implementation provided by JBOSS) Trinidad: 2.0.0 jars web.xml as follows ?xml version=1.0 encoding=UTF-8 ? web-app xmlns:xsi=http://www.w3.org/******2001/XMLSchema-instancehttp://www.w3.org/2001/XMLSchema-instance htt**p://www.w3.org/**2001/**XMLSchema-instancehttp://www.w3.org/**2001/XMLSchema-instance http:**//www.w3.org/2001/**XMLSchema-**instancehttp://www.w3.org/2001/XMLSchema-**instance http://**www.w3.org/2001/XMLSchema-**instancehttp://www.w3.org/2001/XMLSchema-instance xmlns=http://java.sun.com/**xml/ns/javaeehttp://java.sun.com/xml/ns/javaee http://java.**sun.com/**xml/ns/javaeehttp://java.sun.com/**xml/ns/javaee http://java.sun.**com/xml/ns/**javaeehttp://java.sun.com/** xml/ns/javaee http://java.sun.com/xml/ns/javaee xmlns:web=http://java.sun.**com/xml/ns/javaee/web-app_2_** 5.xsd http://java.sun.com/xml/**ns/**javaee/web-app_2_5.xsdhttp://java.sun.com/xml/**ns/javaee/web-app_2_5.xsd http://**java.sun.com/xml/ns/javaee/**web-app_2_5.xsdhttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd xsi:schemaLocation=http://j**ava.sun.com/xml/ns/javaeeh** ttp://java.sun.com/xml/ns/**javaeehttp://java.sun.com/xml/ns/javaee http**://java.sun.com/xml/ns/**javaeehttp://java.sun.com/xml/ns/javaee http://java.sun.com/**xml/ns/javaeehttp://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/**javaee/web-app_3_0.xsdhttp://java.sun.com/xml/ns/javaee/web-app_3_0.xsd http:/**/java.sun.com/xml/ns/**javaee/**web-app_3_0.xsdhttp://java.sun.com/xml/ns/**javaee/web-app_3_0.xsd http://**java.sun.com/xml/ns/**javaee/**web-app_3_0.xsdhttp://java.sun.com/xml/ns/javaee/**web-app_3_0.xsd http:**//java.sun.com/xml/ns/javaee/**web-app_3_0.xsdhttp://java.sun.com/xml/ns/javaee/web-app_3_0.xsd id=WebApp_ID version=3.0 display-nameMediTraceWEB/**display-name welcome-file-list welcome-fileindex.html/**welcome-file welcome-fileindex.htm/**welcome-file welcome-fileindex.jsp/**welcome-file welcome-filedefault.html/**welcome-file welcome-filedefault.htm/**welcome-file welcome-filedefault.jsp/**welcome-file /welcome-file-list context-param param-namejavax.faces.**CONFIG_FILES/param-name param-value/WEB-INF/faces-**config.xml/param-value /context-param context-param param-namejavax.faces.**DEFAULT_SUFFIX/param-name param-value.xhtml/param-**value /context-param context-param param-namejavax.faces.**FACELETS_SKIP_COMMENTS/param-** ****name param-valuetrue/param-**value /context-param context-param descriptionState saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2/description
Help : Eclipse doesn't recognize facelets components
Hi every body, I'm working now on a web project using MyFaces2.1.6(Facelets)/RichFaces4, i'm surprised of a thing which is : I have imported an existing web project from my desktop to my Eclipse Helios IDE, when i deployed it, it works noramlly without any interruption but when i open any view page which had an .xhtml extension it give me a warning saying : Multiple markers at this line - Error: ui:composition is not recognized! - Warning: discarding unexpected ui:composition The browser is able to diplay each facelet i have in my project including its richfaces components, but eclipse cannot recognize it (ctrl+space doesn't even work !!), what's up pleaase i want solve this problem a long time ago, i made researchs on the internet without any satisfaying result, help mee pleaaase. Thanks.
Re: Help : Eclipse doesn't recognize facelets components
Hi there, have you enabled the JSF Facet in your eclipse project settings? (Right click on project - settings - project facets) Regards, Robert On 03/21/2012 04:25 PM, ayouB __ wrote: Hi every body, I'm working now on a web project using MyFaces2.1.6(Facelets)/RichFaces4, i'm surprised of a thing which is : I have imported an existing web project from my desktop to my Eclipse Helios IDE, when i deployed it, it works noramlly without any interruption but when i open any view page which had an .xhtml extension it give me a warning saying : Multiple markers at this line - Error:ui:composition is not recognized! - Warning: discarding unexpectedui:composition The browser is able to diplay each facelet i have in my project including its richfaces components, but eclipse cannot recognize it (ctrl+space doesn't even work !!), what's up pleaase i want solve this problem a long time ago, i made researchs on the internet without any satisfaying result, help mee pleaaase. Thanks.
RE: Help : Eclipse doesn't recognize facelets components
Hi, Yes i did it but i still having the same problem !!
RE: Help : Eclipse doesn't recognize facelets components
I still waiting for your replies and your suggestions, plese HELP ME
Re: Help : Eclipse doesn't recognize facelets components
You could try to install JBoss Tools, this normally makes working with Eclipse a bit easier. Regards Michael Am 21.03.2012 17:55, schrieb ayouB __: I still waiting for your replies and your suggestions, plese HELP ME
Re: MyFaces and CODI
Hi gerhard , got CODI working on wls 11g \o/. We fixed the problem with our page layout(the frames) and are using the client side windowId solution(the default one), so no especial configuration was required, we only changed the webbeans listener listener listener-classorg.apache.myfaces.extensions.cdi.openwebbeans.startup.WebBeansAwareConfigurationListener/listener-class /listener other info is that we are using exploded ear, with war we could not deploy the app (i posted the error and the war is this thread). many thanks for all your help and time, i really apreciated it! Att, Rafael M. Pestano Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul Graduando em Ciência da Computação UFRGS @realpestano http://code.google.com/p/jsf-conventions-framework/ De: Gerhard Petracek gerhard.petra...@gmail.com Para: MyFaces Discussion users@myfaces.apache.org Enviadas: Domingo, 18 de Março de 2012 18:33 Assunto: Re: MyFaces and CODI hi rafael, i just can say that i've used it already with wls 11g. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/3/18 Rafael Pestano rmpest...@yahoo.com.br hi gerhard, tried that but got the same error, the generated war can be found here: http://bit.ly/xvbtu7 Mark, thanks for the reply, ill try that. Att, Rafael M. Pestano Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul Graduando em Ciência da Computação UFRGS @realpestano http://code.google.com/p/jsf-conventions-framework/ - Mensagem original - De: Gerhard Petracek gerhard.petra...@gmail.com Para: MyFaces Discussion users@myfaces.apache.org Cc: Enviadas: Domingo, 18 de Março de 2012 17:32 Assunto: Re: MyFaces and CODI hi rafael, for a wls 11g deployment you have to follow [1]. regards, gerhard [1] https://cwiki.apache.org/confluence/display/EXTCDI/JavaEE5+Support http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/3/18 Rafael Pestano rmpest...@yahoo.com.br Hi guys, I think that what Mark stated can be happening in the environment at my company(weblogic 11g, mojarra 1.2, owb and CODI) cause a simple forward is also causing the bean to be instantiated(tested with ViewAccess and WindowScoped), How can i ensure that the whole Context is being initialized? About the server side solution Gerhard proposed i can confirm it is working here at home, the main problem is something with theconstalation that the application at my company is using, maybe the frame based layout, jspx extension or something else. i also tried to deploy Gerhard example here in weblogic here at home without success, the CDI container cannot start. i just changed from myfaces to mojarra, instaled the example via maven and deployed the war in weblogic 11g(10.3.2), to try simulate the enviroment at my company, here is the error: INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/playground-jsf12-1.0.4' 18/03/2012 17:10:46 org.apache.myfaces.extensions.cdi.core.api.provider.ServiceProvider clinit INFO: org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider installed successfully. 18/03/2012 17:10:46 org.apache.myfaces.extensions.cdi.core.api.provider.ServiceProvider clinit INFO: org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProviderContext installed successfully. java.lang.IllegalStateException: no org.apache.myfaces.extensions.cdi.core.api.provider.BeanManagerProvider in place! Please ensur e that you configured the CDI implementation of your choice properly. If your setup is correct, please clear all caches and compil ed artifacts. If there is still a problem, try one of the controlled bootstrapping add-ons for the CDI implementation you are usin g. at org.apache.myfaces.extensions.cdi.core.api.provider.BeanManagerProvider.getInstance(BeanManagerProvider.java:81) at org.apache.myfaces.extensions.cdi.core.impl.util.CodiUtils.getContextualReferenceByClass(CodiUtils.java:124) at org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase.PhaseListenerExtension.consumePhaseListeners(PhaseListenerExt ension.java:110) at org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase.CodiLifecycleFactoryWrapper.getLifecycle(CodiLifecycleFactory Wrapper.java:65) at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1115) at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:766) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529) at