[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [faces-dev] change of specification or an error ?
|
try to ask the EL guys, Faces just reuses the ExpressionLanguage
Thanks.
Using the error message java.lang.NumberFormatException: For input string: "Go "
I made some more guesses I experimented with this
value="#{'50' + 70}"
the answer is 120 as the button label.
Something doesn't seem quite right to me.
Any insight into this would be good too ?
I have a book I am using to practice Java Server Faces.
In this book the example code given is
<h:commandButton
value="#{'Go ' + xyz.submit}"
action="">
Using the above syntax I was getting the error
java.lang.NumberFormatException: For input string: "Go "
After some intuitive guesses I changed the syntax to this.
value="Go #{xyz.submit}"
This produced the expected results, so I now know how to dynamically update button label.
My question is , did the book provide me with incorrect syntax or
was there a change in the specification ?
_______________________________________________
faces-dev mailing list
faces-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/faces-dev
_______________________________________________ faces-dev mailing list faces-dev@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/faces-dev
_______________________________________________
faces-dev mailing list
faces-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/faces-dev
Back to the top