Great! Thanks!
2014-08-21 10:31 GMT+02:00 Fabian Richter :
> Done, see WW-4390
>
> Am 20.08.2014 um 21:09 schrieb Lukasz Lenart:
>>
>> 2014-08-19 17:09 GMT+02:00 Fabian Richter :
>>>
>>> Hi,
>>>
>>> when using paramsPrepareParamsStack with
Done, see WW-4390
Am 20.08.2014 um 21:09 schrieb Lukasz Lenart:
2014-08-19 17:09 GMT+02:00 Fabian Richter :
Hi,
when using paramsPrepareParamsStack with the convention plugin I'm getting
multiple errors/warnings in devMode=true:
Error setting expression 'token
2014-08-19 17:09 GMT+02:00 Fabian Richter :
> Hi,
>
> when using paramsPrepareParamsStack with the convention plugin I'm getting
> multiple errors/warnings in devMode=true:
>
> Error setting expression 'token' with value
> ['5UVO47K811DQ15DUZF4QV2NQ8DHIH
Hi,
when using paramsPrepareParamsStack with the convention plugin I'm
getting multiple errors/warnings in devMode=true:
Error setting expression 'token' with value
['5UVO47K811DQ15DUZF4QV2NQ8DHIHSUY', ]
Error setting expression 'token' with value
['5
Thanks for reply!
Sorry, my fault: I explained not everything well.
I do not need access the User object in my navigation interceptor. They
have no contact points!
I just execute the interceptor before the paramsPrepareParamsStack to be
sure the navigation content gets generated, before the
s interceptor.
You can either call the params interceptor one more time before your
navigation interceptor or you can replicate the paramsPrepareParamsStack
into your new stack and put your navigation interceptor anywhere in that
stack you want.
(*Chris*)
On Fri, Dec 13, 2013 at 6:53 AM, jotp
Hello List,
I build myself a custom interceptorstack. The core part has to be the
paramsPrepareParamsStack, because i work with an or-mapper.
In my action class, there are 2 variables:
private User user
It should work as you reference the same instance (interceptors are
instantiated per stack), maybe it is something else?
Maybe try copy paramsPrepareParamsStack and redefine excludeParams?
Regards
--
Ćukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/10/9 Dmytro Kostiuchenko :
> Hi
many ERROR entries in log like this one:
Error setting expression 'token' with value ['...', ]
The problem here is that referred paramsPrepareParamsStack has 2
'params' interceptors,
but 'excludeParams' parameter is set only for the f
Loosely based on the paramsPrepareParams interceptor I found this
interceptor configuration to solve my problem
The params interceptor fires once before the prepare interceptor. So far
there're no side effects
I'm not sure why the paramsPrepareParams
input,back,cancel
input,back,
Am 14.03.2012 21:21, schrieb Dave Newton:
And you've set the other referenced properties appropriately?
Well, here are my settings
value="myapp-common" />
I double checked my code there seems nothing wrong with the pattern
matching in general. For instance when I request t
nir Benzid
>> wrote:
>>
>> My problem is the id is always null.
>>>
>>> First I thought it could be b/c of the way the defaultStack is set up so
>>> I
>>> switched to paramsPrepareParamsStack, yet the problem still remains.
>>>
id is always null.
First I thought it could be b/c of the way the defaultStack is set up so I
switched to paramsPrepareParamsStack, yet the problem still remains.
Any ideas on how to obtain the id from the request?
Thanks!
Mounir
@Namespace("/public")
public class PersonCRUDAction
t could be b/c of the way the defaultStack is set up so I
> switched to paramsPrepareParamsStack, yet the problem still remains.
>
> Any ideas on how to obtain the id from the request?
>
> Thanks!
> Mounir
>
> @Namespace("/public")
> public class PersonCRUDActio
My problem is the id is always null.
First I thought it could be b/c of the way the defaultStack is set up so
I switched to paramsPrepareParamsStack, yet the problem still remains.
Any ideas on how to obtain the id from the request?
Thanks!
Mounir
@Namespace("/public")
pu
Hi All,
Although it is documented that paramsPrepareParamsStack is similar as
defaultStack, there seems to be some differences. For example, it does not
have the scopedModelDriven interceptor. If I need the scopedModelDriven,
will it be safe to create a custom stack by copying the
Hi,
Using paramsPrepareParamsStack with ModelDriven, I want to receive an userId
and then retrieve the user and display it. I see a strange behavior - even
if I pass something like http://localhost:8080/gweb/profile?userId=5 (having
an action property userId) and try to catch it in prepare or
lastname;
>> }
>> @Column(name="USER_PASSWORD")
>> public String getPassword() {
>> return password;
>> }
>> @RequiredStringValidator(message="Password must be
>> present",key="validate.password",trim=true)
>> public void setPassword(String password) {
>> this.password = password;
>> }
>> }
>>
>>
>> findUser-success.jsp wrote:
>>>
>
e="Password must be
> present",key="validate.password",trim=true)
> public void setPassword(String password) {
> this.password = password;
> }
> }
>
>
> findUser-success.jsp wrote:
>>
>> <%...@page contentT
spsarolkar wrote:
public void prepare(){
if(emailId==null){
this.user=new User();
}
else{
this.user=userService.findByEmail(emailId);
}
}
So if emailId is null you construct a new one, but if it is not null and
findB
java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
When i tried to debug it I am getti
Wes, you were spot on. I didn't extend the right package. Thanks. :)
-Ryan
-Original Message-
From: Wes Wannemacher [mailto:w...@wantii.com]
Sent: Friday, January 16, 2009 3:17 PM
To: Struts Users Mailing List
Subject: Re: paramsPrepareParamsStack
On Fri, 2009-01-16 at 13:49
On Fri, 2009-01-16 at 13:49 -0700, Stanley, Eric wrote:
> All,
> My humble app need to make use of the paramsPrepareParamsStack, but
> is having trouble finding the right class it seems. Here is the error:
>
> SEVERE: Exception starting filter struts2
>
> Unable to f
All,
My humble app need to make use of the paramsPrepareParamsStack, but
is having trouble finding the right class it seems. Here is the error:
SEVERE: Exception starting filter struts2
Unable to find interceptor class referenced by ref-name
paramsPrepareParamsStack - interceptor-ref -
file
> Almost. Really it should be the other way around, since you don't want
> user-set parameters to override your static parameters.
I agree with you.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
GF wrote:
do you think is there any issue adding also before the first in this way:
...
...
Almost. Really it should be the other way around, since you don't want
user-set parameters to override your
paramsPrepareParamsStack is defined this way
It seems to me that for the majority or senarios you would want
paramsPrepareParamsStack to be the default stack. One thing we have
noticed with this as our default and devMode turned on is that we get
errors with pages with checkboxs because the checkbox interceptor is
being called after the
It seems to me that for the majority or senarios you would want
paramsPrepareParamsStack to be the default stack. One thing we have
noticed with this as our default and devMode turned on is that we get
errors with pages with checkboxs because the checkbox interceptor is
being called after the
I don't quite understand how the validation is handled when using the
paramsPrepareParamsStack.
I have an action with a view() method that will be called via a get request
specifying a blog id (blog.id) which should be numeric. This is working, but
I want to make sure that if someone pass
30 matches
Mail list logo