python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
JSF: how to tell if a ValueExpression does not exist or actually its value is null?
FacesContext context = FacesContext.getCurrentInstance();
ELContext ctx = context.getELContext();
ValueExpression expression = context.getApplication().getExpressionFactory().createValueExpression(
...
eastwater
Votes: 0
Answers: 1
JSF selectOneMenu converter null or class cast exception
JVM Version: 14.0.2+12-46
myfaces-api 2.3.9
myfaces-impl 2.3.9
apache-tomee-webprofile-8.0.4
I am using the following converter for an simple entity class:
package view;
import entities.Chain;
impo...

Daniel Maldonado
Votes: 0
Answers: 0
Conditional checking with class names not working with tomcat in primefaces xhtml
I am using rendered attribute like rendered="#{(column[0].class.name == 'java.lang.String')}". It was working fine with my wildfly server. I have switched to tomcat and using class.name == i...
Ankit
Votes: 0
Answers: 0
How can I cast from double to int in jstl?
This is my jstl version
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
I want to cast from double to int like in Java.
${(int)(Math.toDegrees(city.latitude)...
Zakhar Borisov
Votes: 0
Answers: 1