struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alireza Fattahi <afatt...@yahoo.com>
Subject Re: Define the a property
Date Thu, 11 Jul 2013 10:08:52 GMT
Hi,

Sorry for sending the email directly, it was a mistake !

Any way, I expect that when this happens a warning message displayed to the developers not
a full stack trace. 
You know, usually when you see this stack, it shows that something terribly bad happened !!


Do you know which interceptor creates this ?

 
~Regards,
~~Alireza Fattahi


________________________________
 From: Lukasz Lenart <lukaszlenart@apache.org>
To: Alireza Fattahi <afattahi@yahoo.com> 
Sent: Wednesday, 10 July 2013, 16:43
Subject: Re: Define the a property
 

Could you ask such questions on the User Mailing List?

And this was introduced to warn developer about missing properties or
typo in properties. This warning is only emitted in devMode.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/7/10 Alireza Fattahi <afattahi@yahoo.com>:
> Well, who make this?!
> I think it was preaperparam interceptor, can we update log4j in the way that
> ikt does not show these warning .
>
>
> ~Regards,
> ~~Alireza Fattahi
> ________________________________
> From: Lukasz Lenart <lukaszlenart@apache.org>
> To: Alireza Fattahi <afattahi@yahoo.com>
> Sent: Wednesday, 10 July 2013, 13:51
> Subject: Re: Define the a property
>
> No, but you will get warning in devMode
>
> 2013/7/10 Alireza Fattahi <afattahi@yahoo.com>:
>> Hi,
>>
>> Should we always define the a property in the action for all the textfiled
>> that we have in the form
>>
>> See below:
>>    <s:textfield id="echo" name="echo" value="Hello World!!!"/>
>>
>>
>> Error setting expression 'echo' with value ['Hello World!!!', ] - [unknown
>> location]
>>    at
>>
>> com.opensymphony.xwork2.ognl.OgnlValueStack.handleRuntimeException(OgnlValueStack.java:201)
>>    at
>>
>> com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:178)
>>    at
>>
>> com.opensymphony.xwork2.ognl.OgnlValueStack.setParameter(OgnlValueStack.java:152)
>>    at
>>
>> com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:329)
>>    at
>>
>> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:241)
>>    at
>>
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>>    at
>>
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>    at
>>
>> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:249)
>>    at
>>
>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>>    at
>>
>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>
>> ~Regards,
>> ~~Alireza Fattahi
>>
>>
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message