struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Sánchez <juntandolin...@gmail.com>
Subject Re: Translating submit tag
Date Thu, 01 Aug 2013 09:22:52 GMT
Thank you :)

El Jueves, 1 de agosto de 2013 11:02:41 Lukasz Lenart escribió:
> 2013/7/31 Antonio Sánchez <juntandolineas@gmail.com>:
> > Sorry, what do you mean with Submit class?
> 
> Submit component behind submit.ftl
> 
> > Use case is simple login. The exception is thrown when the form does not pass validation
and "results" in "input".
> >
> > Displayed <s:actionmessage /> is:
> >
> > Developer Notification (set struts.devMode to false to disable this message): Unexpected
Exception caught setting 'entrar' on 'class es.juntandolineas.laboratoriostruts2.sesionConS2.control.Sesion:
Error setting expression 'entrar' with value ['Entrar', ]
> >
> > Initially I thought there was some problem with a custom interceptor and custom
interceptor stack, but I get the same using default interceptor stack.
> >
> > Stacktrace:
> >
> > jul 31, 2013 10:34:50 AM com.opensymphony.xwork2.interceptor.ParametersInterceptor
error
> > SEVERE: Developer Notification (set struts.devMode to false to disable this message):
> > Unexpected Exception caught setting 'entrar' on 'class es.juntandolineas.laboratoriostruts2.sesionConS2.control.Sesion:
Error setting expression 'entrar' with value ['Entrar', ]
> > Error setting expression 'entrar' with value ['Entrar', ] - [unknown location]
> 
> That's ok - it's just a developer notification as you don't have
> setter for field "entrar" in class "Sesion" - switch devMode to false
> and error disappear. The notification is to aware you about typos,
> missing setters, etc.
> 
> 
> Regards
> 

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message