Oops, I told you wrong. You have to override
ActionBeanContext.getSourcePage() and make sure it doesn't return null.
Instead, return the path to the page you'd like to display.
On Fri, Jun 12, 2009 at 1:24 PM, Joao Azevedo <[email protected]>wrote:
> How exactly can I override that method? I've tried to create a custom
> ActionBeanContext, implementing that method and returning a resolution
> different than null, but the problem persists.
>
> On Fri, Jun 12, 2009 at 3:44 AM, Ben Gunter <[email protected]> wrote:
>
>> Yes, by overriding ActionBeanContext.getSourcePageResolution(). That
>> report only shows when the default implementation returns null. If you want
>> a custom error page, check for a null resolution and forward to your custom
>> page instead.
>>
>> This will likely change in the future to throw an exception instead.
>>
>> -Ben
>>
>>
>> On Thu, Jun 11, 2009 at 8:25 PM, Joao Azevedo
>> <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Is it possible to override the default behaviour and redirect to a custom
>>> page instead of showing up the default "Stripes validation error report"
>>> page?
>>>
>>> Thanks,
>>> Joao
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Crystal Reports - New Free Runtime and 30 Day Trial
>> Check out the new simplified licensing option that enables unlimited
>> royalty-free distribution of the report engine for externally facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> Stripes-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users