Announcement Announcement Module
Collapse
No announcement yet.
SimpleFormController --> sucessView URL not View Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SimpleFormController --> sucessView URL not View

    Hi Everyone,

    I need to be able to map a URL to the sucessView property of a SimpleFormController instead of a view.

    Basically I need it to go to the url so it will get sent to a controller for the page i am accessing. By just using a view it goes straight to the jsp and not via the controller.

    Is there anyway of doing this?

    Thanks in advance,

    Ed

  • #2
    I have found a sort-of solution to this:

    if you set the successView to: forward:<Your page goes here>

    but this doesnt change the URL in the address bar. This is pretty annoying as it still has the page url of the previous form...

    Does anyone know a way around this?

    Thanks,

    Ed

    Comment


    • #3
      Try redirect:newurl instead.

      Comment


      • #4
        Thanks! thats worked great :-)

        Comment


        • #5
          Try doing clean build.



          ___________________________
          Economical Web Hosting Solution
          Last edited by yosphorn_s48125; Nov 12th, 2008, 06:27 AM.

          Comment

          Working...
          X