I have made a little progress in figuring out what is going on with this.
I am now able to submit a form and update a tile.
When just calling a transition in SWF with a get link:
Code:
<a id="addPersonLink" href="portfolio-flow.htm?execution=${flowExecutionKey}&_eventId=addPerson">+ Person</a>
<script type="text/javascript">
Spring.addDecoration(new Spring.AjaxEventDecoration({
elementId: "addPersonLink",
event: "onclick",
params: {fragments:"productList"}
}));
The fragments resolve as expected.
When submitting a form:
Code:
<input type="submit" id="addPerson" name="_eventId_addPerson" value="AddPerson" onclick="Spring.remoting.submitForm('addPerson', 'addPersonForm', params: {fragments:"clientList"}); return false;" />
or
Code:
<input type="submit" id="addPerson" name="_eventId_addPerson" value="AddPerson" />
<script type="text/javascript">
Spring.addDecoration(new Spring.AjaxEventDecoration({
elementId: "addPerson",
event: "onclick",
formId:"addPersonForm",
params: {fragments:"clientList"}
}));
</script>
The tiles doesn't automatically update until I add <div id="clientList"></div> around the content.
The auto-resolving of the tiles seems to fail even though the server is sending back the update correctly. If I discover anything else that resolves this i will post later.