Hi Rudy, If you think this is a specification bug, then please file an issue for that on https://javaserverfaces-spec-public.dev.java.net/. And very great would also be if you would create a myfaces issue afterwards with the link to the spec-issue.
Thanks! Regards, Jakob 2010/3/2 Rudy De Busscher <[email protected]> > Hi, > > Sorry, I was a bit too fast saying <f:event> isn't implemented, my fault. > > But I was trying to use the tag on a form, and there wasn't no call to the > listener. > > After diging into the code, I found out that Myfaces implemented the > PostValidateEvent and PreValidateEvent only on EditableValueHolders > (specified in the spec) and not for instance on the form (as Mojarra does, > probably because the specs aren't saying that the ValidateEvents are not > restricted to EditableValueHolders) > > But now I have problems creating a custom tag based on java class tagged > with @FacesComponent (trying to extends HtmlForm so that I can mimic Mojarra > behaviour. Just only for demonstrative purposes for ExtVal functionality > which is much easier and portable). But that is another story. > > regards > Rudy. > > > > On 1 March 2010 20:27, Werner Punz <[email protected]> wrote: > >> Actually the spec clearly states that all new features tagwise will be >> Facelets only since JSP is only seen as legacy technology. >> But that does not prevent anyone >> backporting those features if he/she is willing to do that :-) >> >> >> Werner >> >> >> >> Am 28.02.10 15:04, schrieb Jakob Korherr: >> >>> Hi, >>> >>> The tag exists (and works) only if you're using facelets-2. It is no >>> supported on JSP (like some other new features like e.g. f:ajax). >>> >>> Regards, >>> Jakob >>> >>> 2010/2/28 Rudy De Busscher <[email protected] >>> <mailto:[email protected]>> >>> >>> >>> Hi, >>> >>> I saw on several places the mentioning of a "Declarative Event >>> Handling" in JSF 2. But I couldn't find support for the <f:event> >>> in Myfaces 2 beta. A quick look into Mojarra revealed that they also >>> don't support the tag. >>> >>> Looking up the tag documentation shows a difference between the 2 >>> sources . >>> >>> The VDL Tag Library Documentation for JSF >>> (__ >>> https://javaserverfaces.dev.java.net/nonav/docs/2.0/pdldocs/facelets/index.html >>> ) >>> doesn't have a mention of <f:event> but the VDL tag Library >>> Documentation for facelets2 >>> ( >>> https://javaserverfaces.dev.java.net/nonav/docs/2.0/pdldocs/jsp/index.html >>> ) >>> has the tag listed. >>> >>> Is there a Declarative Event Handling in JSF 2 (and thus missing >>> code) or not ?? >>> >>> Thx >>> regards >>> >>> Rudy. >>> >>> >>> >> >> >
