I've been out of the Struts loop for a long time now (some of you old
timers should remember me).  I've been reading the docs in firehose mode
the last few days, but I have some questions about Ajax-related
capabilities in the latest release.  I'd like to see if certain
combinations of features are viable, and any issues or guidelines
towards implementing those capabilities.

I'd like to see a page with a data table and a tabbed panel.  The data
in the table row would be populated from data fields in a tab.  A button
on the table will add a new empty row to the table (there would also be
a "delete row" function).

Below the data table is a tabbed panel, where the first tab and the last
tab are "static", with specific fields in those two tabs.  When the "add
row" button on the table is pressed, it will add the data table row and
also dynamically add a tab to the tabbedpanel.  Each of the added
"dynamic" tabs will all have the same fields, but with different values
associated with a "primary key".

In the JSP, it would be nice if the "dynamic" tabs were rendered with
some sort of a repeat loop.  Alternatively, a certain "maximum" number
of dynamic tabs could be unrendered initially, with local actions
causing them to be rendered (and populated).

One of the tabs would have a "Submit" button which would submit all the
data entered in all the tabs.  The action on that button is about the
only action that would cause a full page refresh.  Everything else would
be local actions.

So, is this viable in the latest Struts release?  Are there any obvious
problems or issues I should expect to run into while implementing this?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to