The documentation says parameters are supported but the example uses hl
and #
which are unknown to me where I use c: and $ instead of this which is from the docs:
<h:inputText value="#{userNumberBean.userNumber('5')}">
All I know about $ vs # in EL is that is has to do with rvalue and lvalue which I can need a further explanation when to use the # style. I'm looking for how an EL expression of typ $... can take a parameter and how to call non-getters non-setters with a parameter for example fetching a constant static string from a bean in the request context.
What does # do compared to $? How do I use parameters in EL if I want to use the $?
The scriptlets I want to migrate to EL are something like <%= Constants.CONSTANT %>
and <%= object.method(parameter) %>
that I want to do in EL.
${person.getPersonTyp(GrunduppgifterConstants.persontypSokande).ordNr}
is working. – Adolpho