Re: [Trinidad] Generating duplicate icon elements?
tr:inputText generates a label. Set simple=true to stop it from doing so. Aaah, seems I was looking in the wrong place. Thanks a bunch! - Bram
Re: Trinidad vs Tobago
Hi Udo, well, this sounds good. But what about the release plan for a stable 1.1.0 version? We're thinking about lauching a new project starting with 1.1.0 to have the benefits of the new layout manager. But our project schedule is very short, so we don't have the time to deal with new bugs etc. How about the compatibility between 1.0.x and 1.1.x. Is it possible to port a 1.0.x app to 1.1.x with little effort and vice versa? Regards Helmut Udo Schnurpfeil schrieb: Hi all, let me explain the actual status of the Tobago development: We have branched the development into the tobago-1.0.x branch and the trunk which is the next major release. The tobago-1.0.x branch is stable and basis of the actual releases. The next release (1.0.21) will come up in the next days. This branch contains bugfixes and some (smaller) new features. You can see the changes of the next release here: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truepid=12310273fixfor=12313470 The trunk (1.1.x) is an area of many refactorings and implementation of new features. But the status is still alpha. Here is a list of issues for the next major release: * Reimplementation of the layout management: - make renderer more independent from the layout management. - more flexible - more type of layout managers - better testability (unit tests) - better support for browser-window resizing * New tree implementation * Better support for integrating 3rd party components * Client side coordinates of action event on server side (mouse event, click event) * simplify css and javascript files * support for many tabs * improved sheet performance * more support for other renderkits and many internal refactorings (plan) * Generating tag classes and components * Enhanced tobago lifecyle with buildView layoutView (registerResource) / encodeView (renderResponse) * UIPopup should be a subform * UITab should be a naming container (which tab contains a component with a Message) * Z-Index Provider * replace prototype with dojo * replace commons-logging with slf4j * Remove deprecated methods and classes * public and internal packages(public api and internal api) * remove some static classes * improved TobagoResponseWriter for javascript (JSON) * TabGroup should be an ActionSource * TabChangeEvent should be an ActionEvent * requiredMessage validatorMessage converterMessage for all EditableValueHolder in Tobago Regards Udo kanth99 schrieb: Hi all, Thanks for your replies. Groovie wrote: On Thu, Jun 4, 2009 at 2:21 AM, Christian Groove groo...@groovesytems.de wrote: Salut Hi All, We are developing a web application with myfaces. That's fine, JSF is the cool think. I worked with Tobago, that comes with a great layout manager and some cool widgets. It is not my intention to overwhelm that nice project but it seems to be dead. The development that's totally wrong ... I hope you are right, but i looks like (for me) that the development activity slowed down. 2008 was a great year an i was lucky using this wonderful component library. Could you give us a short insight of the current development ? I switched to Richfaces and found it also useful for me. What are the advantages or drawback of one lib comparing the other? Thanks Groovy of new widgets seems not to proceed so you may better look to other Taglibs like Richfaces, Icefaces. Groovy This application needs proper navigation and UI .I have observed Trinidad has good navigation practices and other utilities.Tobago has some good layouts but not good navigation practices.both these technologies have featurs like PPR. Trinidat looks a little bit old-fashioned to me, anyway there seems to be only a little support for AJAX. could some one plaese advice us which is the better technology and the distinct features of these technologies. Thanks, Srikanth
Re: Failure to build Tomahawk 1.1.9: cannot find symbol symbol : class ForceIdAware, StyleAware, ...HtmlCommandNavigationItem
Sounds like a good long-term plan. For me, I'm just going to install 2.0.9 and use that :-) On Wed, Jun 24, 2009 at 1:42 AM, Leonardo Uribelu4...@gmail.com wrote: Hi The error building tomahawk in maven 2.1.0 is because the precedence of plugin execution was changed. On maven 2.0.9 and earlier, the order when the plugins execute during lifecycle is the order in the pom. On 2.1.0, this was changed, so org.codehaus.mojo:build-helper-maven-plugin:add-source goal is executed after org.apache.myfaces.buildtools:myfaces-builder-plugin:build-metadata goal. The effect is target/tomahawk11_sources path is not readed when building myfaces-metadata.xml, causing other plugins fails. One possible solution is create a custom lifecycle in myfaces-builder-plugin, so we can configure the order of execution. Other solution is create params in build-metadata goal, so we can set source paths to be scanned without rely on build-helper-maven-plugin. regards Leonardo Uribe 2009/6/23 Leonardo Uribe lu4...@gmail.com Hi The error is because maven 2.1.0. I'll upgrade it and take a look at it. regards Leonardo Uribe 2009/6/23 Mike Kienenberger mkien...@gmail.com Trying to build a 1.1.9 sandbox instance. I've checked out the 1.1.9 tomahawk tagged source from http://svn.apache.org/repos/asf/myfaces/tomahawk/tags/1_1_9 Building with these tools: mvn -v Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400) Java version: 1.5.0_18 Java home: /usr/lib64/jvm/java-1.5.0-sun-1.5.0/jre Default locale: en_US, platform encoding: UTF-8 OS name: linux version: 2.6.30-0.1-default arch: amd64 Family: unix But it looks like it's crashing on the core 1.2 stuff -- which, ironically enough, I don't even care about. mvn clean install -Dmaven.test.skip=true [INFO] Unpacking /home/mkienenb/.m2/repository/org/apache/myfaces/tomahawk/tomahawk/1.1.9/tomahawk-1.1.9.jarto /home/mkienenb/workspaces/tomahawk_1_1_9/core12/target/tomahawk11_resources with Includes null and excludes:**/*.class,**/META-INF/**,META-INF/tagConverterClass12.vm,META-INF/NOTICE.txt,META-INF/xdoc-component.vm,META-INF/faces-config12.vm,META-INF/validatorClass12.vm,META-INF/componentClass12.vm,META-INF/xdoc-tag.vm,META-INF/facelets-taglib.vm,META-INF/LICENSE.txt,META-INF/tomahawk12.vm,META-INF/xdoc-converter.vm,META-INF/tagClass12.vm,META-INF/licenses/scriptaculous-LICENSE.txt,META-INF/licenses/kupu-LICENSE.txt,META-INF/licenses/i18n-LICENSE.txt,META-INF/licenses/jscookmenu-LICENSE.txt,META-INF/licenses/dojo-LICENSE.TXT,META-INF/licenses/prototype-LICENSE.txt,META-INF/tagValidatorClass12.vm,META-INF/xdoc-validator.vm [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 197 source files to /home/mkienenb/workspaces/tomahawk_1_1_9/core12/target/classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/mkienenb/workspaces/tomahawk_1_1_9/core12/src/main/java/org/apache/myfaces/custom/htmlTag/AbstractHtmlTag.java:[26,36] cannot find symbol symbol : class ForceIdAware location: package org.apache.myfaces.component /home/mkienenb/workspaces/tomahawk_1_1_9/core12/src/main/java/org/apache/myfaces/custom/htmlTag/AbstractHtmlTag.java:[27,36] cannot find symbol symbol : class StyleAware location: package org.apache.myfaces.component [.repeat a lot more times with variety.] /home/mkienenb/workspaces/tomahawk_1_1_9/core12/src/main/java/org/apache/myfaces/custom/navmenu/AbstractUINavigationMenuItem.java:[336,16] cannot find symbol symbol : class HtmlCommandNavigationItem location: class org.apache.myfaces.custom.navmenu.AbstractUINavigationMenuItem [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 54 seconds [INFO] Finished at: Tue Jun 23 19:52:46 EDT 2009 [INFO] Final Memory: 72M/494M [INFO]
rendered attribute gives exception
We have upgraded to Myfaces 1.2.7 and now am getting an EL exception for the commandLink rendered attribute when the value is a function. Am I missing an additional change or do i need to configure an additional resolver? This worked fine in MyFaces 1.1 - javax.el.ELException - /WEB-INF/layout/myfacelet.xhtml @47,58 rendered=#{fr:myFunctionThatUsedToWork()}: Function 'fr:myFunctionThatUsedToWork' not found -- View this message in context: http://www.nabble.com/rendered-attribute-gives-exception-tp24184347p24184347.html Sent from the MyFaces - Users mailing list archive at Nabble.com.
Failed to initialize MyFaces in OSGi evironment
Hi there, I use MyFaces (1.2.2) and Tomahawk (1.1.9) with Tomcat (6.0.18) in an OSGi environment (equinox). The tomcat runs as a bundle and works so far for jsps and servlets, even for SUNs RI. I store the myfaces and tomahawk jars in the WEB-INF/lib and added them to the classpath in the manifest. Everything else I import from the running bundles (JSTL 1.2, JSP 2.1, Servlet 2.5). The startup of MyFaces fails with the following message: ERROR org.apache.myfaces.webapp.AbstractFacesInitializer - An error occured while initializing MyFaces: null java.lang.NullPointerException at org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:60) at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:83) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:58) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.springframework.osgi.web.deployer.tomcat.TomcatWarDeployer.startCatalinaContext(TomcatWarDeployer.java:144) at org.springframework.osgi.web.deployer.tomcat.TomcatWarDeployer.startDeployment(TomcatWarDeployer.java:133) at org.springframework.osgi.web.deployer.support.AbstractWarDeployer.deploy(AbstractWarDeployer.java:93) at org.springframework.osgi.web.extender.internal.activator.WarLoaderListener$DeploymentManager$DeployTask.doRun(WarLoaderListener.java:257) at org.springframework.osgi.web.extender.internal.activator.WarLoaderListener$DeploymentManager$BaseTask.run(WarLoaderListener.java:222) at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) I think the JspFactory or the JspApplicationContext is null. My web.xml looks like this: ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameSimple Osgi WebApp Bundle/display-name descriptionSimple OSGi War/description welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list servlet servlet-nameFaces Servlet/servlet-name servlet-classorg.apache.myfaces.webapp.MyFacesServlet/servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern*.jsf/url-pattern /servlet-mapping listener listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class /listener listener listener-classorg.springframework.web.context.ContextLoaderListener/listener-class /listener listener listener-classorg.springframework.web.context.request.RequestContextListener/listener-class /listener context-param param-namecontextConfigLocation/param-name param-value/META-INF/spring/context.xml/param-value /context-param /web-app I also tried to use several versions of MyFaces (1.20, 1.25). Any ideas? -- View this message in context: http://www.nabble.com/Failed-to-initialize-MyFaces-in-OSGi-evironment-tp24188625p24188625.html Sent from the MyFaces - Users mailing list archive at Nabble.com.
RE: [trinidad]Nokia S60 Emulator: Agent[desktop,nokia_s60 525,nokia_s60]
Hi Dave, S60 SDK 5th edition uses a WebKit core based browser. Trinidad, currently uses desktop render kit to render against WebKit core browsers, including iPhone/iPod browsers. Thanks, Tadashi -Original Message- From: Dave [mailto:javao...@yahoo.com] Sent: Tuesday, June 23, 2009 8:37 PM To: users@myfaces.apache.org Subject: [trinidad]Nokia S60 Emulator: Agent[desktop,nokia_s60 525,nokia_s60] Hello, I downloaded Nokia S60 SDK 5th (window xp), and uses its Emulator to test jsf application using trinidad. From debug, the agent returned from trinidad is Agent[desktop,nokia_s60 525,nokia_s60] Why it is desktop? should it be Phone or PDA? Thanks! Dave