Weston Everit

Greenhorn
+ Follow
since Aug 11, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Weston Everit

I want to implement SOAPHandler that will check if request contains all required security headers.

The "head" part of the request looks as follows:


I tried to get access to the seciurity header and I can't.

First way which I tried was:


Then I tried to correctly override getHeaders() method using QName objects (also does not work).


12 years ago
I have to agree that message is probably more appropriate.

Ok but in my controller I override following methods:
- formBackingObject
- onSubmit

In formBackingObject method I try to fetch object by ID and fill in the command object.
The question is... how to handle the situation when ID is invalid and object cannot be fetch?

How can I stop processing or show message that you mentioned above?
13 years ago
Yes I want to respond properly when the object beeing looked up doesn't exist.
I wonder what is the best, appropriate approach?
13 years ago
Hi.

I want handle update operation using SimpleFormController.
URL to this controller looks as follow:

http://example.com/updatesomething.html?id=42

I wonder how to validate on the begining if object with the given id (42) exists, because I want display 404 error page when id is incorrect and stop processing.

Thanks in advance for your answers.
13 years ago