java - spring web flow transition on attribute -


I am trying to understand how the spring web flow works, I know that I am making the flow in a different file. Something like this with the definition of XML flow:

  & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Flow xmlns = "http://www.springframework.org/schema/webflow" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" XSI: schema location = "http: // Www .springframework.org / schema / webflow http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd"> & Lt; View-state ID = "Hello" view = "/ jsp / smp / wzory / wzory" & gt; & Lt; = "NextView" for = "next" transition on & gt; & Lt; / Visual state & gt; & Lt; End-state ID = "Next scene" visible = "/ jsp / smp / wzory / next" />   

  • Next View (/jsp/smp/wzory/next.jsp)

    And now I see nextView I want to see from seeing Hello. I want to trigger this operation after clicking on the hyperlink a href = "" But what does the expression mean?

      on transition = "next"  
    < P> What's that?

      http: // localhost: 8080 / Next & lt; A hyperlink has to be passed to the spring webflow to move to the next view state?  
      & lt; A href = "http: // localhost: 8080 / somePage   
  • See eventID for example (this is the spring web flow and thiaméléf code)

       flowExecutionUrl < / Code> 


    Comments

    Popular posts from this blog

    python - Overriding the save method in Django ModelForm -

    html - CSS autoheight, but fit content to height of div -

    qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -