myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Uribe <lu4...@gmail.com>
Subject [core] remove unused/deprecated/obsolet web config parameters in 2.2.x branch
Date Fri, 08 Nov 2013 00:11:21 GMT
Hi

As part of the cleanup to be done in myfaces core 2.2.x branch, it could be
good to remove some web config parameters:

org.apache.myfaces.PRETTY_HTML
Reason : never worked well, modern browsers has support for debugging,
makes rendering slow.

org.apache.myfaces.ALLOW_JAVASCRIPT
Reason: JSF 2 and upper versions require javascript. Now it is no longer
optional, it is mandatory for JSF applications.

org.apache.myfaces.RENDER_FORM_SUBMIT_SCRIPT_INLINE
Reason: JSF 2 and upper versions require javascript. Now it is no longer
optional, it is mandatory for JSF applications. Inline rendering is no
longer required.

org.apache.myfaces.VIEWSTATE_JAVASCRIPT
Reason: Never worked.

org.apache.myfaces.HANDLE_STATE_CACHING_MECHANICS
Reason: Fix for MyFaces 1.2 state saving style in 2.0/2.1 . No need to
support it anymore.

org.apache.myfaces.SAVE_STATE_WITH_VISIT_TREE_ON_PSS
Reason: JSF 2.2 specify state saving should use visit tree call. No need to
make it optional.

org.apache.myfaces.ERROR_HANDLER
Reason: deprecated by JSF 2.0 ExceptionHandler

If you have any objection about it, this is a good time to say it. I'll
commit the changes in MYFACES-3822.

regards,

Leonardo Uribe

Mime
View raw message