jsf-2.3

<f:websocket> Tag Library supports namespace: http://xmlns.jcp.org/jsf/core, but no tag was defined for name: websocket

删除回忆录丶 提交于 2019-12-11 01:42:01
问题 I'm upgrading jsf 2.2 to jsf 2.3, using wildfly 11.0.0 Beta as server. i follow the instructions on this site. http://arjan-tijms.omnifaces.org/p/jsf-23.html#1396 Server starts well and the application works fine. When i call the push.xhtml (testing the new Websocket Integration), <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui" > <h:body> <h:form id="form"> <p:growl

doctype not rendered in JSF “master” template

戏子无情 提交于 2019-12-11 01:14:46
问题 As the subject said, the needed doctype is not rendered in my JSF pages. My used versions: Payara Server Payara Server 4.1.2.181 #badassfish (build 220)]] Mojarra 2.3.3 ( 20171008-2230 673408fa9199477d87f44521ff873d709128c88b) PrimeFaces 6.2 ("official" version) I already tried the bundled (2.2.14/13/15?) version, no change, so I upgraded to 2.3.3 from github (official release). In my entire project I have only one doctype and that is in my "master" template: base.tpl : <?xml version="1.0"

f:convertNumber on Double: ClassCastException

与世无争的帅哥 提交于 2019-12-10 00:37:56
问题 In JSF 2.3, I have an h:inputText to edit a Double value, which has in addition Bean-Validation constraints. The h:inputText has a f:convertNumber . When submitting the form, this leads to a ClassCastException (see below). So, it seems, that f:convertNumber produces a Long which then, could not be converted to Double to validate the @DecimalMin constraint, right? In JSF 2.2 this worked as expected, the problem occured after upgrading to JSF 2.3. Does anybody has any ideas what could be the

h:selectOneRadio group problem within nested ui:repeat elements

◇◆丶佛笑我妖孽 提交于 2019-12-08 08:10:44
问题 I'm currently trying to implement a dynamic survey page containing pages, sections and questions defined by the user (part of a larger application). The user may defined different question types, which will render a different component (radio, textarea, textfield, selectionlist, ...). This app is currently deployed in Wildfly 16 / Java 8 / JSF 2.3 / Servlet 4. Since the user may define a specific set of values and associated images for the radio button, I need to customize the radio button

<f:ajax render=“@none” execute=“@this”> and reducing submitted post data size in large form

梦想的初衷 提交于 2019-12-07 07:22:28
问题 i have a huge jsf-page with an underlying ViewScopeBean that contains a very large form (containing nearly 100 inputs) with many ajaxified input fields. for every input field, i only submit the current value and render nothing. so just a sample field in that form: <h:selectBooleanCheckbox id="includeForeignCurrencies" value="#{RatingManagerBean.formData.foreignCurrencies}" action="#{RatingManagerBean.calculate}"> <f:ajax render="@none" execute="includeForeignCurrencies"/> </h

f:convertNumber on Double: ClassCastException

廉价感情. 提交于 2019-12-04 20:39:05
In JSF 2.3, I have an h:inputText to edit a Double value, which has in addition Bean-Validation constraints. The h:inputText has a f:convertNumber . When submitting the form, this leads to a ClassCastException (see below). So, it seems, that f:convertNumber produces a Long which then, could not be converted to Double to validate the @DecimalMin constraint, right? In JSF 2.2 this worked as expected, the problem occured after upgrading to JSF 2.3. Does anybody has any ideas what could be the problem? I could reproduce this in WildFly 15.0.1 with the following minimal example with just one

Why is WildFly 10 + JSF 2.3 not working with Omnifaces 2.6.1?

你离开我真会死。 提交于 2019-12-04 11:57:01
I've been trying to get an app up and running using jsf 2.3, primefaces 6 and omnifaces 2.6.1 on Wildfly 10. I have already splitted the jsf 2.3 (api and impl) and completed the set up for WildFly. The applications starts smoothly without omnifaces 2.6.1. But right when I add the omnifaces jar to the application classpath (/lib) this one fails at start up, giving the next exception: 13:21:52,024 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 78) Critical error during deployment: : com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

f:websocket in JSF 2.3

眉间皱痕 提交于 2019-12-02 08:38:30
问题 I trying to get BalusC's JSF 2.3+ example (How can server push asynchronous changes to a HTML page created by JSF?) working using JBoss WildFly 12.0.0.Final I have added the JBoss JSF JAR: jboss-jsf-api_2.3_spec-2.3.3.SP1.jar However when I try and display my XHTML page which has: <h:form> <f:websocket channel="push"> <f:ajax event="updateNotifications" render=":panelGridSelect" /> </f:websocket> </h:form> I get: javax.faces.view.facelets.TagException: /enterProduct.xhtml @61,45 Tag Library

f:websocket in JSF 2.3

天涯浪子 提交于 2019-12-02 06:25:43
I trying to get BalusC's JSF 2.3+ example ( How can server push asynchronous changes to a HTML page created by JSF? ) working using JBoss WildFly 12.0.0.Final I have added the JBoss JSF JAR: jboss-jsf-api_2.3_spec-2.3.3.SP1.jar However when I try and display my XHTML page which has: <h:form> <f:websocket channel="push"> <f:ajax event="updateNotifications" render=":panelGridSelect" /> </f:websocket> </h:form> I get: javax.faces.view.facelets.TagException: /enterProduct.xhtml @61,45 Tag Library supports namespace: http://xmlns.jcp.org/jsf/core , but no tag was defined for name: websocket In

FacesContext not injectable in Wildfly 14 with JSF 2.3 (Mojarra, main module)

 ̄綄美尐妖づ 提交于 2019-12-01 00:37:47
I have a bean: import javax.faces.context.FacesContext; import javax.faces.view.ViewScoped; ... @Named @ViewScoped public class SimpleBean implements Serializable { private static final long serialVersionUID = 1L; @Inject protected FacesContext facesContext; ... } According to https://arjan-tijms.omnifaces.org/p/jsf-23.html#1316 this should work with 2.3 ... When deploying to Wildfly 14, this results in: 13:02:33,516 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 72) HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect 13:02:33,563 INFO [org.hibernate.envers.boot