Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-jsf-dev] Is there anyway to get the JSF version from faces config EMF model?


Hi,

Is there anyway to get the JSF version from faces config EMF model, not from XML model or project's facet? You know, in the faces config editor, we want to provide the version information to user, but it seems that faces config EMF model hides this.


This is a 1.1 faces config file:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">

<faces-config>

</faces-config>


This is a 1.2 faces config file:

<?xml version="1.0" encoding="UTF-8"?>

<faces-config
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-facesconfig_1_2.xsd"
    version="1.2">

</faces-config>


Thanks!

Vincent. Shi

Sybase Software (China) Co., Ltd
Email: shao-feng.shi@xxxxxxxxxx

Back to the top