If you put a whole tabbedpanel inside a remote div, then you can reload it
anytime you want.

regards
musachy

On 5/15/07, Jason Wyatt <[EMAIL PROTECTED]> wrote:

Hi, we're using the Struts 2 tabbedpanel tag. One problem we're having is
that whenever we do a submit from within a tab, we to reload the same tab
with the results.

At the moment we our submit button posts to an XAction mentioned in the
<s:div> tag for the given X tab.

The XAction returns a TabsResult that causes the main.jsp page containing
the tabbedpanel to be loaded.

The main.jsp page causes the XAction related the given X tab to be hit
again, this time to load the contents of the tab.

The XAction returns a different TabXResult, causing a related Xtab.jsp to
be
loaded and displayed in the <s:div> layer.

This works ok for one layer of tabs... we now want nested layers, which is
looking like a complex problem.

Is there an easier solution, that can maybe just reload the specific tab's
<s:div> layer with the result of the XAction? That would be most
excellent.


Thanks in advance, regards

Jason


-----
Falun Dafa  Truth - Compassion - Forbearance

A mind & body practice under persecution in China

<http://www.faluninfo.net/> http://www.faluninfo.net




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to