Assuming in my backing bean:
String x []= ....
public String [] getOutput { return this.x;}
public String getOutputAsString(){ return Arrays.asString(x);}
then in the output page we get the output :
#{ myBackingbean.outputAsString }
My question is how to eliminate that getOutputAsString()
and outputting directly in the ouput page :
I could do just
#{ myBackingbean.output[0])
but for a looping example ?? Imagine something like
for ( i to #{myBackingbean.ouput.length; ){
#{myBackingbean.ouput [i]; }
}
How to do that?
Thanks