English 中文(简体)
• 如何通过一个jax修改网络输入中的物体?
原标题:How to modify an object in webflow through ajax?

我对麻省、一名控制员和网络流能如何互动感到困惑。

从现在起,我的项目通过流动从不同观点国家的页到页。

然而,在其中一些不同网页上,我有几条亚克斯电话,这些电话被送到各种控制器上,在“并行目标”上进行服务器处理。 这些服务回头是个目标,我需要把这个目标重新纳入我的“当前目标”。

仅阐明: 我愿表示反对A,反对B,反对A与“当前目标”有关。 我的服务器处理和完成协会(因此,“当前目标”与与反对B有关的物体A有关,并将物体节省到数据库中)。 当我点击“重新点燃新物体”时,网络流量仍然有“现成物体”,因为物体A与物体B有关。

我想把我最新的“当前目标”从我的控制人员网络流进来,这样,通过“jax”呼吁在网络流中修改目标的最佳办法是什么?

Adam

问题回答

这是一种骗局。 我的情况类似,认为这一职位是有益的:。 Ajax + Spring Webflow

基本问题是,您的网页上的标语是序列化的,因此,就象你会赢得正常的控制者那样,在亚马斯特和亚马斯特角做过呼吁,然后在非行做一些修改。

就我而言,基本示范目标为“计划”,我希望放弃一个叫做“task”的儿童物体。 在我的网络流中,我建立了以下过渡:

<transition on="dropTask">
    <evaluate expression="planService.dropTaskFromPlan(requestParameters.taskID,  plan)" />
</transition>

“计划服务”这一类将穿过我的“Plan”物体,将任务交给指定的身份证处理,并删除。

The ajax calls:

var targetUrl = $("#actionPlanForm").attr("action") +      &_eventId_dropTask=_eventId_dropTask ;
$.ajax({
    type :  POST ,
    data: $("#actionPlanForm").serialize() +  &taskID=  + taskID,
    url : targetUrl
});




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签