I have a production dashboard that tracks, in table format, various production items in the company.
However, since some of the data is unrelated to other parts, (also for modularity) I created each "category" of data in it's own module. Eg; quoted shopping carts are in one /action.do, and the number of units shipped is in another. These are all loaded via IFRAME into a "master" page.
Now we want to change the site and make it more dynamic and user friendly. We're looking at implementing the portal system found in Yahoo's YUI suite (info: http://developer.yahoo.com/yui/3/examples/dd/portal-drag.html). It doesn't seem to like Iframes being loaded into it's modules (drops functionality, and won't populate the module menu if all the items are iframes)
I found an IncludeAction thing, but I don't think that's ultimately going to work for me.
Does anyone else have any idea on what alternates to the Iframe solution currently in place there might be?
That looks like simple Ajax-oriented stuff; if the contents of the draggable windows are Ajax requests then just use the Struts actions as the request targets and put the resulting HTML into a target div.
Joined: Nov 03, 2008
David Newton wrote:That looks like simple Ajax-oriented stuff; if the contents of the draggable windows are Ajax requests then just use the Struts actions as the request targets and put the resulting HTML into a target div.
I'm not too up on AJAX. So, uh... how would you do that?
The short answer is "it depends." The long answer is in any of those books on Ajax...