Re: JSF 2.2 Exit Flow
On Thu, Jan 16, 2014 at 8:10 PM, Geoffrey Longo wrote: > I have an application that consists of a dropdown menu bar with many menu > items. Each menu item will initiate a new faces flow. This is working > correctly, however, once I am inside a flow, I would like any click on a > menu item to exit the current flow, and then start a new one. There are > dozens of menu items in the application, so I was wondering if there is any > way to have the current flow automatically exit when a menu item is clicked > without having to define a flow-return for each menu item? > > Thanks, > Geoff I was wondering how your code looked. Now I know via your post[1] in PrimeFaces forum. :) i'm not using Faces Flow yet, so I'm just listening/reading. :) [1] http://forum.primefaces.org/viewtopic.php?f=3&t=35881
JSF 2.2 Exit Flow
I have an application that consists of a dropdown menu bar with many menu items. Each menu item will initiate a new faces flow. This is working correctly, however, once I am inside a flow, I would like any click on a menu item to exit the current flow, and then start a new one. There are dozens of menu items in the application, so I was wondering if there is any way to have the current flow automatically exit when a menu item is clicked without having to define a flow-return for each menu item? Thanks, Geoff
Re: JSF / MyFaces 2.2
i would go with those 2 URLs that I provided, and just last night, while reading Leonardo's blog about MyFaces 2.2 (what's new), he said that there was a previous blog about view pooling, so i looked at his list of blogs on the right hand side (the menu/navigator/tree), and found the following: http://lu4242.blogspot.com/2013/12/view-pooling-in-jsf-22-using-apache.html which is on my to-do list. i want to see if i can or have need to add that to my app. On Thu, Jan 16, 2014 at 1:07 PM, Ludovic Pénet wrote: > Well, you know what, I already googled (thanks) and read release notes > (thanks again)... > > Best regards, > > > > "Howard W. Smith, Jr." a écrit : > >> On Thu, Jan 16, 2014 at 4:56 AM, l.pe...@senat.fr wrote: >> >> >> what documents do you suggest to read to get an idea of what's new in JSF >>> 2.2 >> >> >> >> i just searched google.com for jsf 2.2 and below was first in 'my' (google) >> search results (since I been there before) >> >> http://jdevelopment.nl/jsf-22/ >> >> What's new in JSF 2.2? | J-Development >> jdevelopment.nl/jsf-22/? >> >> You've visited this page 5 times. Last visit: 10/22/13 >> >> >> >> >> and in our favourite JSF implementation, MyFaces ? >> >> >> >> Leonardo sent an email (a few days ago) about the following: >> >> [core] What's new in MyFaces 2.2 >> >> where he referenced the following blog: >> >> http://lu4242.blogspot.com/2014/01/whats-new-in-myfaces-22.html >> >> also, you can check release notes for MyFaces 2.2, and that should list >> everything in MyFaces 2.2. I think the announcement emails sent to user >> list, about MyFaces 2.2 (beta and final releases) also mentioned the >> release notes. >> >> > -- > Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté. > > | > | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT. > | > >
Re: JSF / MyFaces 2.2
Well, you know what, I already googled (thanks) and read release notes (thanks again)... Best regards, "Howard W. Smith, Jr." a écrit : >On Thu, Jan 16, 2014 at 4:56 AM, l.pe...@senat.fr >wrote: > >> >> what documents do you suggest to read to get an idea of what's new in >JSF >> 2.2 > > >i just searched google.com for jsf 2.2 and below was first in 'my' >(google) >search results (since I been there before) > >http://jdevelopment.nl/jsf-22/ > >What's new in JSF 2.2? | J-Development >jdevelopment.nl/jsf-22/? > >You've visited this page 5 times. Last visit: 10/22/13 > > > > >> and in our favourite JSF implementation, MyFaces ? >> >> >Leonardo sent an email (a few days ago) about the following: > >[core] What's new in MyFaces 2.2 > >where he referenced the following blog: > >http://lu4242.blogspot.com/2014/01/whats-new-in-myfaces-22.html > >also, you can check release notes for MyFaces 2.2, and that should list >everything in MyFaces 2.2. I think the announcement emails sent to user >list, about MyFaces 2.2 (beta and final releases) also mentioned the >release notes. -- Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté. | | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT. |
Re: JSF / MyFaces 2.2
On Thu, Jan 16, 2014 at 4:56 AM, l.pe...@senat.fr wrote: > > what documents do you suggest to read to get an idea of what's new in JSF > 2.2 i just searched google.com for jsf 2.2 and below was first in 'my' (google) search results (since I been there before) http://jdevelopment.nl/jsf-22/ What's new in JSF 2.2? | J-Development jdevelopment.nl/jsf-22/? You've visited this page 5 times. Last visit: 10/22/13 > and in our favourite JSF implementation, MyFaces ? > > Leonardo sent an email (a few days ago) about the following: [core] What's new in MyFaces 2.2 where he referenced the following blog: http://lu4242.blogspot.com/2014/01/whats-new-in-myfaces-22.html also, you can check release notes for MyFaces 2.2, and that should list everything in MyFaces 2.2. I think the announcement emails sent to user list, about MyFaces 2.2 (beta and final releases) also mentioned the release notes.
Re: java.lang.IllegalArgumentException - object is of type java.lang.String; expected type: mauro.entity.Heart
What is the method signature for "#{bodyController.selected.heart}" ? What are the types being assigned in #{heartController.itemsAvailableSelectOne}"? My guess is that your SelectItem value field is a String, not a Heart. On Thu, Jan 16, 2014 at 5:53 AM, maurojava wrote: > > > hi . i try a simple application jsf CRUD with 2 entity . > When i try to insert a entity i get the following exception : > > Caused by: > java.lang.IllegalArgumentException - object is of type java.lang.String; > expected type: > > > object is of type java.lang.String; expected type: mauro.entity.Heart > > viewId=/body/Create.xhtml > location=/home/utente_javaee7/NetBeansProjects/progetti_nuovnetbeans/Study_relations_JPA/build/web/body/Create.xhtml > phaseId=RENDER_RESPONSE(6) > > Caused by: > java.lang.IllegalArgumentException - object is of type java.lang.String; > expected type: mauro.entity.Heart > at > mauro.jsf.HeartController$HeartControllerConverter.getAsString(HeartController.java:225) > > how resolve??? > > > read at : > http://pastebin.com/rsFJes66 > > tank you mauro > > > > -- > View this message in context: > http://myfaces.10567.n7.nabble.com/java-lang-IllegalArgumentException-object-is-of-type-java-lang-String-expected-type-mauro-entity-Heat-tp116991.html > Sent from the MyFaces - Users mailing list archive at Nabble.com.
java.lang.IllegalArgumentException - object is of type java.lang.String; expected type: mauro.entity.Heart
hi . i try a simple application jsf CRUD with 2 entity . When i try to insert a entity i get the following exception : Caused by: java.lang.IllegalArgumentException - object is of type java.lang.String; expected type: object is of type java.lang.String; expected type: mauro.entity.Heart viewId=/body/Create.xhtml location=/home/utente_javaee7/NetBeansProjects/progetti_nuovnetbeans/Study_relations_JPA/build/web/body/Create.xhtml phaseId=RENDER_RESPONSE(6) Caused by: java.lang.IllegalArgumentException - object is of type java.lang.String; expected type: mauro.entity.Heart at mauro.jsf.HeartController$HeartControllerConverter.getAsString(HeartController.java:225) how resolve??? read at : http://pastebin.com/rsFJes66 tank you mauro -- View this message in context: http://myfaces.10567.n7.nabble.com/java-lang-IllegalArgumentException-object-is-of-type-java-lang-String-expected-type-mauro-entity-Heat-tp116991.html Sent from the MyFaces - Users mailing list archive at Nabble.com.
JSF / MyFaces 2.2
Dear all, what documents do you suggest to read to get an idea of what's new in JSF 2.2 and in our favourite JSF implementation, MyFaces ? Best regards, Ludovic | | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT. |