Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-2.0.0.Alpha1
-
Fix Version/s: EE-2.0.0.Beta1
-
Component/s: Facelet Components
-
Labels:None
-
Environment:JSF 2.1
-
Workaround Description:
Description
The slider example like other displays the following message in the <h:messages /> tag:
Error 1:
The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within.
Error 2:
The example also shows the following error which is specific to the example:
Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace.
Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace.
Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace.
Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace
Error 1:
The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within.
Error 2:
The example also shows the following error which is specific to the example:
Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace.
Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace.
Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace.
Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | EE-2.0.0.Beta1 [ 10254 ] |
Carlo Guglielmin
made changes -
Assignee | Brad Kroeger [ brad.kroeger ] | Carlo Guglielmin [ carlo.guglielmin ] |
Patrick Corless
made changes -
Salesforce Case | [] |
Patrick Corless
made changes -
Workaround Description |
When deploying the application, make sure the the following context param is set <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Production</param-value> </context-param> |
|
Salesforce Case | [] |
Carlo Guglielmin
made changes -
Workaround Description |
When deploying the application, make sure the the following context param is set <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Production</param-value> </context-param> |
When deploying the application, make sure the the following context param is set, which will stop the warning in Error 1 from displaying. <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Production</param-value> </context-param> |
Salesforce Case | [] | |
Description |
The slider example like other displays the following message in the <h:messages /> tag: The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within. The example also shows the following error which is specific to the example: Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace. Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace. Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace. Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace |
The slider example like other displays the following message in the <h:messages /> tag: Error 1: The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within. Error 2: The example also shows the following error which is specific to the example: Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace. Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace. Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace. Warning: This page calls for XML namespace declared with prefix html but no taglibrary exists for that namespace |
Patrick Corless
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
Brad pointed out that xmlns="http://www.w3.org/1999/xhtml" is likely missing in the demo or component xhtml code.