Affects Version/s: 1.1
Fix Version/s: None
Operating System: All
I suggest to introduce concept of decoders as functionality that works
independently from rendering functionality. JSF already has dedicated Renderer
class. So it makes sense to do the same thing for decoding functionality.
The first benefit from this approach would be possibility to send data from
client directly to decoder, skipping on the way to it necessity to use JSF
components and JSF life cycle. JSF developers will be able to create more
The first usage of decoder would be the following kind of scenario:
, render: 'input1');
ValueExpression ve = getValueExpression(context, key);
Note: The first argument of the method "post" would be optional and called "url".
In case if developer need to customize handling of data from client we will use
this argument as way to identify decoder that will handle the data.
jsf.ajax.post([url], [data], [handleAs], [render], [onSuccess(data)],