Hi,

I'm using a tabbedPanel to include a call to several actions in tabs, each 
action displaying a form on its own:
How can the "main" (or parent) JSP access what's in the forms of the actions in 
each tab?

I.e., I have something like mainTabs.jsp:

<s:tabbedPanel id="mainPanelTabs">
 <s:div    id="basicInfo"
                label="basicInfo"
                theme="ajax"
                href="%{basicInfoTab}"
                executeScripts="true"
                separateScripts="true" />
<s:div     id="metadata"
label="metadata"
                theme="ajax"
                href="%{metadataTab}"
                executeScripts="true"
                separateScripts="true" />
</s:tabbedPanel>

And for example, the first tab is rendered in basicInfo.jsp, with a form:

<s:form action="basicInfo">
 ...
</s:form>

In mainTabs.jsp, I'm trying to get ahold of the form object included in the 
tab, but getElementById('basicInfo') returns null, and looking at 
document.forms.length returns only 1 (the other form that's defined in 
mainTabs.jsp).

Is there any way the parent JSP can access the form objects contained in the 
tabs?

Thanks
David

________________________________________________________________________

CONFIDENTIALITY - This email and any files transmitted with it, are 
confidential, may be legally privileged and are intended solely for the use of 
the individual or entity to whom they are addressed. If this has come to you in 
error, you must not copy, distribute, disclose or use any of the information it 
contains. Please notify the sender immediately and delete them from your system.

SECURITY - Please be aware that communication by email, by its very nature, is 
not 100% secure and by communicating with Perform Group by email you consent to 
us monitoring and reading any such correspondence.

VIRUSES - Although this email message has been scanned for the presence of 
computer viruses, the sender accepts no liability for any damage sustained as a 
result of a computer virus and it is the recipient’s responsibility to ensure 
that email is virus free.

AUTHORITY - Any views or opinions expressed in this email are solely those of 
the sender and do not necessarily represent those of Perform Group.

COPYRIGHT - Copyright of this email and any attachments belongs to Perform 
Group, Companies House Registration number 6324278.

Reply via email to