Announcement Announcement Module
Collapse
No announcement yet.
Using a location.href='${flowExecutionUrl}&_eventId=nextFl ow' doesn't bind? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using a location.href='${flowExecutionUrl}&_eventId=nextFl ow' doesn't bind?

    inside my validator class... the '9999' didn't bind...

    someId is a member of viewModel class as String.

    jsp
    Code:
    <form:form modelAttribute="viewModel">
    	<form:errors path="*"></form:errors>
    	<form:hidden path="someId"/>
    
            <img onclick="location.href='${flowExecutionUrl}&_eventId=nextFlow'"...>
    
            .....
            onclick = "dojo.byId('someId').value='9999';
            .....
    </form:form>
    any inputs are highly appreciated.
    Last edited by eros; Mar 18th, 2010, 06:27 AM. Reason: tag as SOLVED

  • #2
    And why should it? Why should 1 onclick be invoked if you click another one...

    Comment


    • #3
      Originally posted by Marten Deinum View Post
      And why should it? Why should 1 onclick be invoked if you click another one...
      the onclick event above is the table's (grid) row event that if you select the row, it will trigger the onclick event then set <form:hidden/> value to bind upon flow event calls...

      when image's click event triggered, it calls the flow event..

      Comment


      • #4
        Fine... But an onclick that simply changes the url isn't going to issue a form submit so it is pretty much useless...

        Comment


        • #5
          Originally posted by Marten Deinum View Post
          Fine... But an onclick that simply changes the url isn't going to issue a form submit so it is pretty much useless...
          thanks for confirmation... that is what I'm asking for...
          I am thinking that I missed something that's why it didn't bind..

          it helps me a lot...
          then I found the solution...

          by using the

          Spring.remoting.submitForm

          Comment

          Working...
          X