On Fri 08 Nov 2013 05:39:54 AM PST, Juraj Húska wrote:
Hello,
what approach we want to take regarding to the RW vs RF5 component
handlers.
I would have these specific questions:
1. The doc for event handlers differ slightly. Do we want the same
behavior in RW and RF5 ? I mean the same conditions when an event is
triggered.
1.1 e.g. doc for change from RW:
[...]
1.2 IMHO we are taking over the behavior from RW, so the doc should be
the same as in the event.
In many cases the RichFaces taglib doc is borrowed from the JSF doc. I
don't think we should impose any restrictions on the RichWidget docs,
and should document them as would best be received by the target
community. That being said, they shouldn't disagree as the above
picklist change docs do.
2. Do we plan to expose more event handlers for RW components ? For
example for +pickList+ the same which are currently accessible in the
RF5 ? (e.g. onclick ?).
The jQuery syntax for registering event handlers is rather concise, we
don't gain anything by introducing a new API for registering handlers
for native events.
Brian