Hi, unfortunately the behavior changes if you use the parameters (especially the queue-size). The parameters pps and errorlevel don't change the behavior. For me pps is a performance enhancement because it doens't make sense to pass all the elemenents on the page when they are not mentioned in the "execute"-parameter. Maybe we don't need the errorlevel extension because the spec. says errorhandling is controlled by project stage (see 13.3.6.3 in the spec.)
The queue-size is very interesting. In many cases the last user interaction is relevant. So a one-element-queue-size would be ok but Werner had some examples where a larger queue-size is necessary. So +1 for the f:attributes solution :-) 2009/4/17 Simon Kitching <[email protected]> > Matthias Wessendorf schrieb: > > On Fri, Apr 17, 2009 at 2:24 PM, Ganesh <[email protected]> wrote: > >> > >> As Simon said, inclusion into f:ajax is probably not a good idea, > because > >> applications using JSP+Mojarra would break when containing the > additional > >> param. > > Just FYI, myfaces core *must* pass the Sun TCK (compatibility test kit) > in order to call itself "JSF" at all. And the TCK specifically checks > for non-standard attributes on any standard tags/classes. So adding any > non-standard attributes to standard tags (eg adding stuff to f:ajax) > simply cannot be done; the TCK will fail. > > Sun's intention is to specifically catch cases where a vendor has > "non-standard" extensions that make pages non-portable to other > implementations - like when Microsoft tried to extend Java with > windows-only features. And this is a good thing IMO. Non-portable > extensions have to go into separate libs instead. > > From your description of the new flags, it sounds like a page will "fall > back gracefully" when run on other containers (slightly noisier with JSF > error messages, slightly more data posted on each submit, but still > working) so nesting f:attributes seems fair in this case. One thing to > check would be that the f:ajax tag isn't marked as "empty" in the > DTD/schema, ie that f:attribute tags can be nested inside it. > > Cheers, Simon > -- Mit freundlichen Grüßen / Kind regards Alexander Bell J4Fry OpenSource Community Internet: http://www.j4fry.org E-Mail: [email protected] Webprofil: http://www.j4fry.org/alexanderbell.shtml
