Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Made redirect and forward view resolution configurable #13

Closed
wants to merge 2 commits into from

Conversation

foo4u
Copy link
Contributor

@foo4u foo4u commented Jun 14, 2013

In some applications, redirect: and forward: prefixes are used to redirect to a controller request mapping, not a view name. This change adds support for configuring whether redirect: and forward: prefixes adjust the view name to a device specific view name or leave it unchanged.

In some applications, redirect: and forward: prefixes are used to redirect to a controller request mapping, not a view name.  This change adds support for configuring whether redirect: and forward: prefixes adjust the view name to a device specific view name or leave it unchanged.
@royclarkson
Copy link
Contributor

LiteDeviceDelegatingViewResolver shouldn't be adjusting view names when redirecting or forwarding, since the view resolver is handling that itself when it receives the request. Given that, I don't think having a configuration option is valuable. AbstractDeviceDelegatingViewResolver should probably just return the view name if it detects a redirect or forward.

https://jira.springsource.org/browse/MOBILE-70

Thanks for the feedback!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants