Announcement Announcement Module
Collapse
No announcement yet.
validation forward page problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • validation forward page problem

    I have a Tab view in HTML where I display theree pages on one Tab. On first page (this page uses Spring MVC & SimpleFormController), I have a validatator.

    Code:
    <bean name="/issue" class="com.web.action.IssueAddController"> 
            <property name="sessionForm"><value>true</value></property> 
            <property name="commandName"><value>issueForm</value></property> 
            <property name="commandClass"><value>com.domain.Issue</value></property> 
            <property name="formView"><value>issue</value></property> 
            <property name="successView"><value>issueTab</value></property> 
            <property name="issueManager"><ref bean="issueManagerImpl"/></property> 
            <property name="referenceDataManager"><ref bean="referenceDataManagerImpl"/></property> 
            <property name="emailManager"><ref bean="emailManagerImpl"/></property> 
            <property name="validator"><ref bean="issueFormValidator"/></property> 
            
      </bean>
    Above is just one of the pages on the tab. Now when error occurs Spring shows an error correctly but forwards to "issue"
    Code:
     <property name="formView"><value>issue</value></property>
    whereas I want it to display error on "issue" page but inside the Tab view

    Basically, my requirement is : upon error want to forward to another controller along with error and request data(data entered on the issue page) instead of letting Spring use
    Code:
    <property name="formView"><value>issue</value></property>
    Anyone ?how can I make this happen. Any pointers would be appreciated.

    Thanks,

  • #2
    Anyone????????

    Comment

    Working...
    X