Re: [Trinidad] tr:selectOneCheckbox and Boolean please help
Are you using JDK1.5? Autoboxing should take care of this... Scott Matthias Wessendorf wrote: I think it was get for Boolean is for boolean ?? at least worth to try... -m On Jan 11, 2008 2:36 PM, VISTICOT FREDERIC <[EMAIL PROTECTED]> wrote: It seems that mapping the selectOneCheckbox value attribute with a Boolean does not work. How to do this mapping ? Of course the solution is to use boolean instead of Boolean !!! But it is not always possible !! Is the solution to use a converter ??? It's not so user friendly !!! MyBean { Private Boolean _value; Public Boolean isValue() {return _value;} Public void setValue(Boolean value) {_value = value}; }
Re: [Trinidad] tr:selectOneCheckbox and Boolean please help
I think it was get for Boolean is for boolean ?? at least worth to try... -m On Jan 11, 2008 2:36 PM, VISTICOT FREDERIC <[EMAIL PROTECTED]> wrote: > It seems that mapping the selectOneCheckbox value attribute with a > Boolean does not work. > How to do this mapping ? > > Of course the solution is to use boolean instead of Boolean !!! But it > is not always possible !! > Is the solution to use a converter ??? It's not so user friendly !!! > > > > MyBean { > Private Boolean _value; > > Public Boolean isValue() {return _value;} > Public void setValue(Boolean value) {_value = value}; > > } > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org
[Trinidad] tr:selectOneCheckbox and Boolean please help
It seems that mapping the selectOneCheckbox value attribute with a Boolean does not work. How to do this mapping ? Of course the solution is to use boolean instead of Boolean !!! But it is not always possible !! Is the solution to use a converter ??? It's not so user friendly !!! MyBean { Private Boolean _value; Public Boolean isValue() {return _value;} Public void setValue(Boolean value) {_value = value}; }
MyFaces/Facelets Book Author
We are currently writing a book called "The Definitive Guide to Apache MyFaces & Facelets" for Apress Publishing. When published it will become the first book focused on designing, developing and deploying applications built on the MyFaces family of projects. * JSF (General Overview) * MyFaces (General Overview) * Tomahawk (Covers major components & context of use) * Trinidad * Tobago * Facelets * Orchestra * MyFaces Anti-Patterns We have already received fantastic contributions from the MyFaces community for the above submissions and it has been a very rewarding exercise so far. At this time, we have approximately 280 pages of "Technical Review Round 1" material. Our goal is to provide a comprehensive guide to all developers, beginner & up, that are interested in leveraging MyFaces-related technologies. We are well on the way to doing that, as the subject matter list above would indicate. Unfortunately, some unforeseen circumstances have resulted in one of our lead authors to back out of the project leaving a place open for an aspiring writer to join into the mix and close this publication out. This is a fantastic opportunity for anyone looking to make a mark on the publishing scene and giving back to a fantastic community and the foundation it belongs to. The potential author will be responsible for closing out the Apache Tomahawk chapter (we have a draft version, but it needs work for it to be of value to a reader) and polish up the introduction chapters for JSF/MyFaces. We are looking for a person who can commit significant time over the coming 4 weeks to close this book out and release for publication. If interested, you can contact me and we can discuss contractual details. We look forward to closing this out and publishing a book worthy of the MyFaces community and the people that contribute to it. Dennis Byrne
Re: RE : Sun's RI 1.1 and Tomahawk 1.1.5 / Sandbox 1.1.5: ClassNotFoundException: [Ljava.lang.String
I have experienced the same problem too. I upgraded my JSF APIs to latest versions (JDK not changed, 1.6.u3) and it solved. 2007/12/24, DZISIAK Jean-Paul <[EMAIL PROTECTED]>: > > Hello Marco, > > I was using JDK 1.6 with Tomcat 6.0. When I tried JDK 1.5 thinks worked. > > I have read somewhere that there is a regression in the Java > ClassLoader... > > Thank you again for your help. > > JeP > > -Message d'origine- > *De :* Marco Castillo [mailto:[EMAIL PROTECTED] > *Envoyé :* lundi 24 décembre 2007 2:14 > *À :* MyFaces Discussion > *Objet :* Re: Sun's RI 1.1 and Tomahawk 1.1.5 / Sandbox 1.1.5: > ClassNotFoundException: [Ljava.lang.String > > Dear Jean-Paul: > We were integrating Tomahawk 1.1.6 with Netbeans 5.5.1 with Tomcat, and > we get the same exception. Googling for this error, we found that there is > an error in the latest Java JDK, maybe you're using the latest JDK from SUN > ( 6.x.x). Try using a JDK 1.5. The latest JDK 1.5 from SUN is build 14 as > far as I know. This works for us. Hope this helps. > > Marco > > On Dec 23, 2007 4:41 AM, DZISIAK Jean-Paul < [EMAIL PROTECTED]> wrote: > > > Hello, > > > > I have used MyFaces, Tomahawk and Tomahawk sandbox successfully for my > > last project. > > I have a new project (an ESRI's ArcGIS Server 9.2 GIS system that uses > > only Sun's RI 1.1 !) and I need Tomahawk ! > > > > The problem is that when I drop "tomahawk-1.1.6.jar" and " > > tomahawk-sandbox-1.1.5-SNAPSHOT.jar" in this ArcGIS web application I > > have the errror described below. However I have been told that Tomahawk > > should work with Sun RI 1.1 so where am I wrong ? > > > > Help would be *VERY MUCH* appreciated ! > > > > Jean-Paul Dzisiak > > > > java.lang.ClassNotFoundException: [Ljava.lang.String; > > at org.apache.catalina.loader.WebappClassLoader.loadClass( > > WebappClassLoader.java:1358) > > at org.apache.catalina.loader.WebappClassLoader.loadClass( > > WebappClassLoader.java:1204) > > at com.sun.faces.config.ConfigureListener.configure( > > ConfigureListener.java:615) > > at com.sun.faces.config.ConfigureListener.configure( > > ConfigureListener.java:402) > > at com.sun.faces.config.ConfigureListener.contextInitialized( > > ConfigureListener.java:328) > > at org.apache.catalina.core.StandardContext.listenerStart( > > StandardContext.java:3830) > > at org.apache.catalina.core.StandardContext.start(StandardContext.java > > :4337) > > 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.apache.catalina.startup.HostConfig.deployDirectory( > > HostConfig.java:920) > > at org.apache.catalina.startup.HostConfig.deployDirectories( > > HostConfig.java:883) > > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java > > :492) > > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) > > at org.apache.catalina.startup.HostConfig.lifecycleEvent( > > HostConfig.java:311) > > at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent( > > LifecycleSupport.java:117) > > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java > > :1053) > > at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) > > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java > > :1045) > > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java > > :443) > > at org.apache.catalina.core.StandardService.start(StandardService.java > > :516) > > at org.apache.catalina.core.StandardServer.start(StandardServer.java > > :710) > > at org.apache.catalina.startup.Catalina.start(Catalina.java:566) > > 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:288) > > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > > > > The fololowing statements are added to the ArcGIS web.xml descriptor > > (but this is not the cause of the Exception): > > > > > > > > extensionsFilter > > org.apache.myfaces.webapp.filter.ExtensionsFilter > > > > > > uploadMaxFileSize > > 100m > > > > > > uploadThresholdSize > > 100k > > > > > > > > extensionsFilter > > *.jsf > > > > > > extensionsFilter > > /faces/* > > > > > > extensionsFilter > > /Controller > > > > > > > > > >
Re: [Trinidad] SaveState
keep in mind that with this cfg the performance will be a little slower -M On Jan 11, 2008 9:38 AM, Gerhard Petracek <[EMAIL PROTECTED]> wrote: > hello, > > please don't forget to deactivate > org.apache.myfaces.trinidad.CACHE_VIEW_ROOT > when using t:saveState with trinidad. > > alternatives: > > http://www.nabble.com/Re%3A-Dependant-selectOne*-and-input*-components-in-PPR-Trinidad-p14687423.html > > regards, > gerhard > > > > 2008/1/11, Andrew Robinson < [EMAIL PROTECTED]>: > > > The tomahawk saveState should work fine with Trinidad. > > > > If I am not mistaken, there are plans to move the saveState component into > the MyFaces commons library. > > > > > > > > On Jan 11, 2008 9:46 AM, Mirco Attocchi < [EMAIL PROTECTED]> wrote: > > > > > Trinidad hasn't it's own savestate and I suppose that I don't know the > > > right/better way to work with Trinidad and postback. > > > > > > Mirco > > > > > > > > > > > > > > > On Jan 11, 2008 5:39 PM, Andrew Robinson < [EMAIL PROTECTED] > > wrote: > > > > Why not continue to use t:saveState? > > > > > > > > > > > > > > > > On Jan 11, 2008 7:40 AM, Mirco Attocchi < [EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > > I'm starting new test project using Trinidad. > > > > > > > > > > With Tomahawk I usually save state of backbean List with > t:savestate. > > > > > Now, with Trinidad, how is the correct mode to save tr:table's value > > > > > between postbak? > > > > > > > > > > I'm working with JSF 1.2 RI + Trinidad 1.2.4 on Netbeans 6's tomcat > > > > > > > > > > Thanks > > > > > > > > > > -- > > > > > Mirco Attocchi > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Mirco Attocchi > > > > > > > > > > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org
Re: [Trinidad] SaveState
hello, please don't forget to deactivate org.apache.myfaces.trinidad.CACHE_VIEW_ROOT when using t:saveState with trinidad. alternatives: http://www.nabble.com/Re%3A-Dependant-selectOne*-and-input*-components-in-PPR-Trinidad-p14687423.html regards, gerhard 2008/1/11, Andrew Robinson <[EMAIL PROTECTED]>: > > The tomahawk saveState should work fine with Trinidad. > > If I am not mistaken, there are plans to move the saveState component into > the MyFaces commons library. > > On Jan 11, 2008 9:46 AM, Mirco Attocchi < [EMAIL PROTECTED]> wrote: > > > Trinidad hasn't it's own savestate and I suppose that I don't know the > > right/better way to work with Trinidad and postback. > > > > Mirco > > > > On Jan 11, 2008 5:39 PM, Andrew Robinson <[EMAIL PROTECTED] > > > wrote: > > > Why not continue to use t:saveState? > > > > > > > > > > > > On Jan 11, 2008 7:40 AM, Mirco Attocchi <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I'm starting new test project using Trinidad. > > > > > > > > With Tomahawk I usually save state of backbean List with > > t:savestate. > > > > Now, with Trinidad, how is the correct mode to save tr:table's value > > > > > > between postbak? > > > > > > > > I'm working with JSF 1.2 RI + Trinidad 1.2.4 on Netbeans 6's tomcat > > > > > > > > Thanks > > > > > > > > -- > > > > Mirco Attocchi > > > > > > > > > > > > > > > > > > -- > > Mirco Attocchi > > > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
Re: Is it possible to use AddResource with my own components?
On Fri, 2008-01-11 at 17:31 +0100, [EMAIL PROTECTED] wrote: > Hi, > > > > I’ve written a custom component that requires some Javascript. I have > the js in an external file but I was hoping to have it included in the > tag, kind of like the myfaces tags do. I tried using the AddResource > class, basically looked at the myfaces source and tried to do the same > thing, but it fails on the component validation. It checks if the > package starts with org.apache.myfaces.custom… or something like that. > I can’t really get past that unless if I want to rebuild myfaces. Is > there a way to get this to work externally? Or is there a way to do > this I don’t know about. For now I have to just manually include the > script in the JSP pages. This will work, but it can lead to > complication if someone else is using the tag and neglects to add the > javascript. I know that this code was written with the intention of allowing other people to use it for their own resources. However if I remember correctly, it was decided to require users to write and register a simple subclass of one of the pieces to "enable" serving resources from their own package. This greatly reduces the possibility that an attacker could trick the ExtensionsFilter into serving out all the resources an application had on its classpath (possibly including config files with database passwords etc). Sorry I cannot remember the exact details for the moment. Of course as this code is licensed under the APL, you are also free to take the necessary bits and modify them as needed. If you redistribute the result, you do need to make some minor acknowledgements; the exact details will be somewhere on the Apache website. Regards, Simon
Re: [Trinidad] SaveState
The tomahawk saveState should work fine with Trinidad. If I am not mistaken, there are plans to move the saveState component into the MyFaces commons library. On Jan 11, 2008 9:46 AM, Mirco Attocchi <[EMAIL PROTECTED]> wrote: > Trinidad hasn't it's own savestate and I suppose that I don't know the > right/better way to work with Trinidad and postback. > > Mirco > > On Jan 11, 2008 5:39 PM, Andrew Robinson <[EMAIL PROTECTED]> > wrote: > > Why not continue to use t:saveState? > > > > > > > > On Jan 11, 2008 7:40 AM, Mirco Attocchi <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > I'm starting new test project using Trinidad. > > > > > > With Tomahawk I usually save state of backbean List with t:savestate. > > > Now, with Trinidad, how is the correct mode to save tr:table's value > > > between postbak? > > > > > > I'm working with JSF 1.2 RI + Trinidad 1.2.4 on Netbeans 6's tomcat > > > > > > Thanks > > > > > > -- > > > Mirco Attocchi > > > > > > > > > > > -- > Mirco Attocchi >
JBoss + Tomahawk + Tiles = Problem!
Hello folks, this is the first time I ask for help on this list. I tried to run the Myfaces examples 1.1.6 on Jboss 4.2.2. I only had to strip the myfaces jars from the lib folders since they collided with the SUN JSF libraries provided by Jboss. Most of them work well, but I have some problems with tiles. The myfaces-example-tiles-1.1.6 application, that was working perfectly on Jboss 4.0.5 now returns a blank page. I have the same problem with another application which was migrated from Struts to JSF, using Tomahawk tiles support. It looks that all the contents between and is missed. Unfortunately, no exception or error is thrown. I tried to debug the application, but I didn't find any clue. Did anybody experience the same problem? Can you help me please? -- TREMALNAIK
Re: Is it possible to use AddResource with my own components?
The best solution is ask for permission to use myfaces AddResource code into your component code. The resource handling will be standardized in JSF 2.0 (I think). 2008/1/11, [EMAIL PROTECTED] < [EMAIL PROTECTED]>: > > Hi, > > > > I've written a custom component that requires some Javascript. I have the > js in an external file but I was hoping to have it included in the tag, kind > of like the myfaces tags do. I tried using the AddResource class, basically > looked at the myfaces source and tried to do the same thing, but it fails on > the component validation. It checks if the package starts with > org.apache.myfaces.custom… or something like that. I can't really get past > that unless if I want to rebuild myfaces. Is there a way to get this to work > externally? Or is there a way to do this I don't know about. For now I have > to just manually include the script in the JSP pages. This will work, but it > can lead to complication if someone else is using the tag and neglects to > add the javascript. > > > > Thanks > > Matt > -- Yours truly (Atenciosamente), Rogério (_rogerio_) http://faces.eti.br "Faça a diferença! Ajude o seu país a crescer, não retenha conhecimento, distribua e aprenda mais." (http://faces.eti.br/?p=45)
Re: [Trinidad] SaveState
Trinidad hasn't it's own savestate and I suppose that I don't know the right/better way to work with Trinidad and postback. Mirco On Jan 11, 2008 5:39 PM, Andrew Robinson <[EMAIL PROTECTED]> wrote: > Why not continue to use t:saveState? > > > > On Jan 11, 2008 7:40 AM, Mirco Attocchi <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm starting new test project using Trinidad. > > > > With Tomahawk I usually save state of backbean List with t:savestate. > > Now, with Trinidad, how is the correct mode to save tr:table's value > > between postbak? > > > > I'm working with JSF 1.2 RI + Trinidad 1.2.4 on Netbeans 6's tomcat > > > > Thanks > > > > -- > > Mirco Attocchi > > > > -- Mirco Attocchi
Re: [Trinidad] SaveState
Why not continue to use t:saveState? On Jan 11, 2008 7:40 AM, Mirco Attocchi <[EMAIL PROTECTED]> wrote: > Hi all, > I'm starting new test project using Trinidad. > > With Tomahawk I usually save state of backbean List with t:savestate. > Now, with Trinidad, how is the correct mode to save tr:table's value > between postbak? > > I'm working with JSF 1.2 RI + Trinidad 1.2.4 on Netbeans 6's tomcat > > Thanks > > -- > Mirco Attocchi >
Is it possible to use AddResource with my own components?
Hi, I've written a custom component that requires some Javascript. I have the js in an external file but I was hoping to have it included in the tag, kind of like the myfaces tags do. I tried using the AddResource class, basically looked at the myfaces source and tried to do the same thing, but it fails on the component validation. It checks if the package starts with org.apache.myfaces.custom... or something like that. I can't really get past that unless if I want to rebuild myfaces. Is there a way to get this to work externally? Or is there a way to do this I don't know about. For now I have to just manually include the script in the JSP pages. This will work, but it can lead to complication if someone else is using the tag and neglects to add the javascript. Thanks Matt
Re: [Trinidad] Looking for sample application with Trinidad
check out: code.google.com/p/facesgoodies the latest is only available via SVN, so you need to do the check out. (not a big deal) -Matthias On Jan 11, 2008 7:14 AM, Manley Dave A Ctr HQ 554 ELSG/SBE <[EMAIL PROTECTED]> wrote: > > > > > Are there any sample applications for downloading that use the Trinidad > components (as opposed to the original ADF Faces)? > > > > Thanks > > > > Dave Manley -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org
[Trinidad] Looking for sample application with Trinidad
Are there any sample applications for downloading that use the Trinidad components (as opposed to the original ADF Faces)? Thanks Dave Manley
[tobago] is ti seam compatible?
Hi, I'm learning Seam to use it in my Tobao project. I've found some posts like http://lists.jboss.org/pipermail/jboss-user/2006-August/007561.html or http://www.mail-archive.com/users@myfaces.apache.org/msg28872.html But all are too old to be considered as the answer. Did some changes arise from that period? Regards, -- Zied Hamdi www.into-i.fr
[Trinidad] SaveState
Hi all, I'm starting new test project using Trinidad. With Tomahawk I usually save state of backbean List with t:savestate. Now, with Trinidad, how is the correct mode to save tr:table's value between postbak? I'm working with JSF 1.2 RI + Trinidad 1.2.4 on Netbeans 6's tomcat Thanks -- Mirco Attocchi
Re: [OFFTOPIC] JSF Days Vienna
I would like to be with you guys someday, but I need earn more money first because this travel is very expensive for a brazilian citizen. 2008/1/11, Martin Marinschek <[EMAIL PROTECTED]>: > > Hi *, > > I'd like to repeat my invitation to come to the JSF Days Vienna - the > program promises to be very interesting, and we have a lot of attendees > already - we are sure it will be an exciting conference for everyone. > > The 3-day conference costs 100€, and you will meet a lot of people working > with JSF and technologies around JSF there. > > More info under: > > http://conference.irian.at/ > > regards, > > Martin > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces -- Yours truly (Atenciosamente), Rogério (_rogerio_) http://faces.eti.br "Faça a diferença! Ajude o seu país a crescer, não retenha conhecimento, distribua e aprenda mais." (http://faces.eti.br/?p=45)
[OFFTOPIC] JSF Days Vienna
Hi *, I'd like to repeat my invitation to come to the JSF Days Vienna - the program promises to be very interesting, and we have a lot of attendees already - we are sure it will be an exciting conference for everyone. The 3-day conference costs 100€, and you will meet a lot of people working with JSF and technologies around JSF there. More info under: http://conference.irian.at/ regards, Martin -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces