[jsr-314-open] AJAX library in JSF 2.0
Jim Driscoll
Jim.Driscoll at Sun.COM
Sun Sep 13 09:20:31 EDT 2009
I agree with just about everything Werner says, I'd just like to expand
on one comment:
On 9/13/09 4:04 AM, Werner Punz wrote:
> I will give an example, below mentioned is the statuses I dont think
> this needs to be in the core spec, since the foundation of this
> is the listener system, every component lib can introduce statuses by
> using the listener system.
In the case of the client side event system - I'd originally proposed a
system that was, to put it kindly, heavyweight. It was unanimously
voted down by the Ajax subcommittee (and when I say unanimous, I include
myself in there). I'd also proposed using the OpenAjax hub, just like
the RichFaces guys are proposing - but that, too, was voted down, this
time with my more reluctant consent - but with the understanding that
bridging the two systems would be trivial - and indeed it is - I just
posted a blog describing how to do so, and it was almost embarrassingly
short.
So if there's something they'd like to do with client events that they
can't currently do, I'd like to hear it. Alexander?
As far as I'm aware, the only significant gap is that you can't cancel a
listener in the API once it's registered - an omission that I've already
filed a spec enhancement request for - though again, it'd be quite easy
for a library to implement this themselves if they can't live without
it. But I fully anticipate that being in the 2.1 spec - adding it is as
simple as adding a token return code to addOnEvent, and a corresponding
cancel function.
Jim
More information about the jsr-314-open-mirror
mailing list