|
Home > Archive > WebSphere Commerce suite > May 2006 > Implementing some extra business logic in Logincmd
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Implementing some extra business logic in Logincmd
|
|
|
| Hi,
I am trying to use some extra logic in the login cmd.(Say for example we only want to allow users from a specific ip address to access a store.). I started extending one of the task commands VerifyCredentials. HOwever i am unable to set any properties thr
u the task command.Basically I am trying to pass a particular NVP thru this task command to the jsp view whenever this Ip checking fails.HOwever it appears that this NVP is never set.Can someone please suggest a way of achieving this ?
| |
|
| Instead of extending task command, extend the ControllerCmd, perform your business logic, if success call super.performexecute or else put the response message in response properties and forward to error view
| |
|
|
|
|
|