Re: JSF / MyFaces 2.2

2014-01-20 Thread l.pe...@senat.fr

On 18/01/2014 09:14, Michael Kurz wrote:
You can have a look at my blog http://jsflive.wordpress.com/. I wrote 
some articles about JSF 2.2 features.

Thank you, that is exactly the kind of articles I am looking for.

Best regards,

Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|



Re: java.lang.IllegalArgumentException - object is of type java.lang.String; expected type: mauro.entity.Heart

2014-01-20 Thread maurojava
Please i not have resolved .i have tried many times but i get errors



--
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-tp116991p117013.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: java.lang.IllegalArgumentException - object is of type java.lang.String; expected type: mauro.entity.Heart

2014-01-20 Thread Mike Kienenberger
If you don't answer our questions, we cannot help you.

On Mon, Jan 20, 2014 at 6:30 AM, maurojava mauro2java2...@gmail.com wrote:
 Please i not have resolved .i have tried many times but i get errors



 --
 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-tp116991p117013.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: java.lang.IllegalArgumentException - object is of type java.lang.String; expected type: mauro.entity.Heart

2014-01-20 Thread Jim May
JSF Select components cannot have specific objects as selected values. You
need a converter or make the selected value a string.
On Jan 20, 2014 9:20 AM, Mike Kienenberger mkien...@gmail.com wrote:

 If you don't answer our questions, we cannot help you.

 On Mon, Jan 20, 2014 at 6:30 AM, maurojava mauro2java2...@gmail.com
 wrote:
  Please i not have resolved .i have tried many times but i get errors
 
 
 
  --
  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-tp116991p117013.html
  Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: java.lang.IllegalArgumentException - object is of type java.lang.String; expected type: mauro.entity.Heart

2014-01-20 Thread Mike Kienenberger
On Mon, Jan 20, 2014 at 11:03 AM, Jim May jim.webg...@gmail.com wrote:
 JSF Select components cannot have specific objects as selected values. You
 need a converter or make the selected value a string.

His question is about errors returned from his converter, so that's not it :)


Re: java.lang.IllegalArgumentException - object is of type java.lang.String; expected type: mauro.entity.Heart

2014-01-20 Thread maurojava
I have read at 

http://stackoverflow.com/questions/14892680/selectonemenu-with-complex-objects-is-a-converter-necessary


if i have understand it is not  necessaries to create a ListSelectItem .
It  work also with a list of  SameType .
I have to implem a converter that return
a string of id of myentity and return a object after transform the id string
into the type of the id  and retrouve the entyty objject from db .




--
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-tp116991p117019.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.