Mar 2nd, 2009, 05:37 AM
Flow - Subflow - Ajax rendering
I have 2 div in my html page. These DIV have been update in Ajax,
The first div contain an Event with th id "refreshEvent". It will refresh the first div.
In the second div I have a representation of a subflow (from the first one). The second div contains event for the subflow.
My problem is when I use the refreshEvent from the first flow. The first div is update in Ajax. At this momment ALL the link define for the sublfow are out of date.
ps:I cant use custom rendering (in action-state)
Last edited by jujuz; Mar 2nd, 2009 at 06:01 AM.
Mar 2nd, 2009, 07:44 AM
Mar 2nd, 2009, 09:03 AM
Is it possible to force incrementation of the flow excution key when enter in a subflow?
Mar 2nd, 2009, 01:50 PM
Are you trying to render a page where one view-state renders part of a page, and another view-state (in a subflow) renders another part of a page?
I doubt this will work, and I don't think SWF is designed to do this, but I've never tried. Maybe if one of the SWF developers could chime in?
Mar 3rd, 2009, 03:46 AM
It is exactly what I am trying to do.
If SWF developers can explains the good way to design SWF with Ajax (rendering a part of a view). My problem is I cant use SpringJS but our own Frameworks (it s a corporate issue).
I have migrate to make popup working with prototype-js but I dont understand how partial fragments rendering works.
In fact how do you manage rendering when SWF is used in a Ajax J2EE Portal, Do we have to manage each portlet as a separate flow? when enterred in a sublfow it may open a new Portlet in ajax, so previous portlet have to be closed?
Last edited by jujuz; Mar 3rd, 2009 at 04:20 AM.
Mar 5th, 2009, 10:24 AM
little up .