Top "El" questions

EL (Expression Language) enables the dynamic resolution of Java objects and methods in JSP and Facelets pages.

How to pass parameter to jsp:include via c:set? What are the scopes of the variables in JSP?

I have this on welcome.jsp <c:set var="pgTitle" value="Welcome"/> <jsp:include page="/jsp/inc/…

java jsp jstl el
Method must have signature "String method() ...[etc]..." but has signature "void method()"

I have a datatable with a button in each row: <ice:dataTable ... var="item"> <ice:column> &…

eclipse validation jsf el eclipse-wtp
Getting current date in JSTL EL and doing arithmetic on it

Without using scriptlets, what's the correct way for doing date arithmetic in JSP? Here are examples what I'm trying to …

jsp date jstl el date-arithmetic
JSF-2 f:selectItems with Map does not display itemLabel

When I use f:selectItems to display items in a Map I cannot display the value of the Map item, …

jsf jsf-2 map el
Mixing JSF EL in a JavaScript file

Is there a way to have Expression Language (EL) expressions included JavaScript files be evaluated by JSF? I was hoping …

javascript jsf seam el
Why there is a need of pageContext in JSP?

When we can access all the implicit variables in JSP, why do we have pageContext ? My assumption is the following: …

java jsp el
How to output ${expression} in Freemarker without it being interpreted?

I'm trying to use Freemarker in conjunction with jQuery Templates. Both frameworks use dollar sign/curly brackets to identify expressions …

el freemarker jquery-templates
How do an OR condition in a EL expression?

I would like to make an OR condition in this menu : <li class="#{facesContext.viewRoot.viewId == ('/company/team.…

jsf jsf-2 el
Get id of parent naming container in template for in render / update attribute

I have a template and in its Definition I use several forms and buttons. The problem is the definition (define) …

jsf-2 primefaces el naming-containers
Invoke direct methods or methods with arguments / variables / parameters in EL

How can I in JSF 2.0 invoke direct methods or methods with arguments / variables / parameters in EL? For example, getting the …

jsf methods arguments parameter-passing el