Questions tagged [methodexpression]
34 questions
0
votes
0 answers
f:ajax listener method argument
TODO: Get selected row in h:datatable.
Code Snippet using HtmlDataTable binding:

dShringi
- 1,497
- 2
- 22
- 36
0
votes
0 answers
JSF 1.2 to JSF 2.2 Migration - MethodBinding in Custom Component
I've recently inherited a legacy (JSF 1.2) project and have been tasked with making it JSF 2.2 compliant. I'm not an experienced JSF developer, and have been following various advice from around the web. One problem that I'm faced with that I…

clownbaby
- 152
- 6
0
votes
1 answer
java.lang.NullPointerException at java.lang.Class.isAssignableFrom in MethodExpression
public void startDecompteMonthly(String value) {
if (value == null)
{
System.out.print("ooo");
}
I want to get the value of my input text with this :

Display name
- 31
- 2
- 8
0
votes
1 answer
Pass a method expression to a custom component
I'm looking for a minimal example on how to pass a method expression to a custom component. I tried the following, but the responsible setter of my component is never called.
Bean for my view:
public String bar(){
//do stuff
return…

FeinesFabi
- 1,147
- 2
- 12
- 25