Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[faces-dev] rvalue error

Hi,
 
The objective is to concatenate the literal string to field of the injected class
for output valued _expression_.
 
why should  adding the word Go in single quote cause this error ?
Has the specification changed  ?
 
  <h:commandButton
      value="#{'Go ' + xyz.submit}"  <!-- rvalue -->
      action="" <!-- go() method -->
 

HTTP Status 500 - Internal Server Error


type Exception report

messageInternal Server Error

descriptionThe server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: For input string: "Go "

 

root cause

java.lang.NumberFormatException: For input string: "Go "

 

note The full stack traces of the exception and its root causes are available in the Payara Server 5.2021.2 #badassfish logs.


Payara Server 5.2021.2 #badassfish


Back to the top