Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8017059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:43:40+00:00 2026-06-04T20:43:40+00:00

First, I am using spring webflow and some spring javascript to make ajax calls

  • 0

First, I am using spring webflow and some spring javascript to make ajax calls easier.

As of right now, I am having ajax make a call into webflow to display the appropriate fragment.

So I am attempting to use Spring.AjaxEventDecoration for my ajax needs for my application. However, I am having some trouble with this method and webflow and from what I can tell, there are very few examples available to work with.

On a side note, I am not using a form or a select box. I thought I would mention this since every example I’ve found has used a form/form submit with onlick event or select box with onchange event.

Main question: if I have a method in my webflow that has parameters coming from my ajax, can I actually pass in the parameters from ajax to webflow?

Code:

<transition on="disassociateProperty" >
     <evaluate expression="dService.disassociateProperty(requestParameters.currentPId ,currentD)"  result="flowScope.currentD" />
<render fragments="PList" />
</transition>

So, when I look at the ajax call in firebug, it has the parameter I’m passing in (currentPId) and the correct eventId.

I put a debug point on the first line of the disassociateProperty method and it tells me currentPId is null.

So I would assume requestParameters.currentPId in webflow isn’t pulling the currentPId from the ajax call.

Is this expected? Could anyone explain and give an example?

I would appreciate any help provided.

Adam

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:43:41+00:00Added an answer on June 4, 2026 at 8:43 pm

    If you think that the problem comes from ajax call, it would be helpful if you write here the ajax call, so we could check if the call is being done correctly.

    You could try to pass the form serialized in the data parameter when doing the ajax call. Also, do not forget to add the ajaxSource parameter in the URL. Hope this help.

    HTML example:

    <form id="formId" method="post" action="${flowExecutionUrl}&_eventId=disassociateProperty">
        <input type="text" id="currentPId" />
    </form>
    

    jQuery Example:

    $.ajax({
            type: "POST",
            data: $("#formId").serialize(),
            url: $("#formId").attr("action") + "&ajaxSource=true",
            ...
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to put together a contract-first web application using Spring-WS. I want to
I'm using Spring's test annotations for the first time, and trying to understand how
i need to trim a string to its first 100 characters using jquery/javascript. also
I am using spring web flow 2. I want that my first page to
I'm trying to make this 2-player web game application using Spring MVC. I have
I'm using Spring AOP to make a system log, my aop pointcut is like:
So I'm using Spring Web Flow on a project and want to make use
I am using Spring MVC in the backend system and HTML, AJAX, JSON with
I am using webflow for the first time and I am trying to set
I Am using Spring's @ExceptionHandler annotation to catch exceptions in my controllers. Some requests

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.