f:event throwing ClassNotFoundException for type

2010-03-16 Thread Bruno Aranda
Hi, I am testing a webapp with the latest myfaces snapshot, and the f:event tag is throwing a ClassNotFoundException because it is not able to find the type preRenderView... f:event type=preRenderView listener=#{experimentController.loadData}/ Why is it trying to search for the class

Re: f:event throwing ClassNotFoundException for type

2010-03-16 Thread Marcus Büttner
Hi I think you must use type=javax.faces.event.PreRenderViewEvent regards, Marcus Bruno Aranda schrieb: Hi, I am testing a webapp with the latest myfaces snapshot, and the f:event tag is throwing a ClassNotFoundException because it is not able to find the type preRenderView... f:event

Re: f:event throwing ClassNotFoundException for type

2010-03-16 Thread Leonardo Uribe
Hi It seems we don't have it on org.apache.myfaces.config.NamedEventManager, so f:event is unable to resolve it correctly. Just register it there will solve the problem. regards, Leonardo Uribe 2010/3/16 Bruno Aranda brunoara...@gmail.com Hi, I am testing a webapp with the latest myfaces

Re: f:event throwing ClassNotFoundException for type

2010-03-16 Thread Marcus Büttner
Hi, but if you will register the name you have to take the name property instead of type in f:event. The type property requires a class name. Isn't? regards, Marcus Leonardo Uribe schrieb: Hi It seems we don't have it on org.apache.myfaces.config.NamedEventManager, so f:event is unable to

Re: f:event throwing ClassNotFoundException for type

2010-03-16 Thread Bruno Aranda
Ah yes, now I see. I will create the ticket and commit the fix! Thanks guys! Bruno On 16 March 2010 16:12, Leonardo Uribe lu4...@gmail.com wrote: Hi It seems we don't have it on org.apache.myfaces.config.NamedEventManager, so f:event is unable to resolve it correctly. Just register it

Re: f:event throwing ClassNotFoundException for type

2010-03-16 Thread Leonardo Uribe
Hi There was a problem about f:event name and type attribute. Finally it was clearified the real attribute is type, but this attribute also has the semantic of name, so the code proposed is valid. I'll create and issue and fix it soon. regards, Leonardo Uribe 2010/3/16 Marcus Büttner

Re: f:event throwing ClassNotFoundException for type

2010-03-16 Thread Leonardo Uribe
Hi It is done (see MYFACES-2608) regards, Leonardo Uribe 2010/3/16 Leonardo Uribe lu4...@gmail.com Hi There was a problem about f:event name and type attribute. Finally it was clearified the real attribute is type, but this attribute also has the semantic of name, so the code proposed is

Re: f:event throwing ClassNotFoundException for type

2010-03-16 Thread Bruno Aranda
argh! created a duplicate hehe On 16 March 2010 16:27, Leonardo Uribe lu4...@gmail.com wrote: Hi It is done (see MYFACES-2608) regards, Leonardo Uribe 2010/3/16 Leonardo Uribe lu4...@gmail.com Hi There was a problem about f:event name and type attribute. Finally it was

Re: f:event throwing ClassNotFoundException for type

2010-03-16 Thread Matthias Wessendorf
right, and also there is some lack of description about the shortnames in the spec (don't remember the spec issue number, I filed for that) -Matthias On Tue, Mar 16, 2010 at 9:24 AM, Leonardo Uribe lu4...@gmail.com wrote: Hi There was a problem about f:event name and type attribute. Finally