|
Home > Archive > WebSphere Portal Server > August 2006 > IStrutsPrepareRender problems with ActionError
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 |
IStrutsPrepareRender problems with ActionError
|
|
|
| I have created a Struts Action implementing the IStrutsPrepareRender. This action class is executed in the doView() mode.
In my configure mode I have other action classes that do not implement this interface.
When there is an application error, I use saveErrors(...) method and forward to the corresponding jsp. Unfortunately the doView() is being called immediately after the doConfigure() and that re-executes the action implementing this inerface.
Any help appreciated. If I don't use saveErrors(...) the configure mode is retained but then I cannot display <html:errors/>
| |
|
| Is there a way to call a Struts action from the doView() ? This way I don't have to implement the IStrutsPrepareRender in my action and resolve my earlier issue with ActionErrors.
MyPortlet extend WpsStrutsPortlet {
doView() {
//call my action
}
}
|
|
|
|
|