Announcement Announcement Module
Collapse

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions (http://www.springsource.org/extensions) project, this forum has been decommissioned in favour of Spring Extensions one at:
http://forum.springsource.org/forumdisplay.php?f=44

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Cheers,
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
See more
See less
[XT Ajax] ajax-redirect: prefix Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • [XT Ajax] ajax-redirect: prefix

    Hi Sergio,

    Was wondering what was the rationale behind the ajax-redirect: prefix?

    Reason I ask is that I'm trying to integrate XT Ajax validation in an entirely transparent manner, so that if Javascript is disabled a normal submit takes place and if validation, etc, goes well, results in a normal redirect.

    The requirement to use a special prefix on the successView url makes this more difficult. (I have worked around it with another HandlerInterceptor that transforms redirect: prefixes to ajax-redirect: when processing ajax requests but this is rather ugly).

    I can't see why the AjaxHandlerInterceptor doesn't just accept the redirect: prefix in the case of ajax requests.

    Cheers,

  • #2
    Originally posted by derek View Post
    Was wondering what was the rationale behind the ajax-redirect: prefix?

    Reason I ask is that I'm trying to integrate XT Ajax validation in an entirely transparent manner, so that if Javascript is disabled a normal submit takes place and if validation, etc, goes well, results in a normal redirect.
    The requirement to use a special prefix on the successView url makes this more difficult.
    Hi Derek,

    the rationale is that I want it to be clear that it actually is a redirect by using Ajax.

    However, being compatible with the normal redirect prefix is good, so please open a Jira issue about that: I'll fix it ASAP.

    Thanks,
    Cheers,

    Sergio B.

    Comment


    • #3
      Thanks, have opened it here:

      http://opensource.atlassian.com/proj...browse/MOD-319

      Regards,
      Derek

      Comment

      Working...
      X