Sunday 15 February 2015

Refactoring namespaces in JSF using NetBeans -



Refactoring namespaces in JSF using NetBeans -

i'm using netbeans 8.0.1. started java ee application using jsf 2.1.9 2 years ago. jsf version gradually reached 2.2 (currently 2.2.8-02).

the namespaces in jsf 2.2 different previous versions know, example,

before jsf 2.2 :

xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jsp/jstl/core"

in jsf 2.2 :

xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"

and others.

it therefore, time refactor of such namespaces. kept trying on replacing manually got tired half-way through there several xhtml pages.

i'm uisng netbeans (fortunately or unfortunately not know). there way refactor these namespaces reasonably in 1 go using netbeans not required manually replaced going through pages in application?

jsf netbeans xml-namespaces jsf-2.2 netbeans-8

No comments:

Post a Comment