Hi Swaminathan!
It's easy. Add to the main page static field.
Override onBeforeHtmlOutput method for it:
CSpider.getCommonPage("subPageName").load(true);
Make your subpage.
Remove from html-source of subpage <html><head><body>
and leave only [[spiderpage]]
It works in all ND versions.
"Swaminathan" <[EMAIL PROTECTED]> wrote:
>
>Hi chip,
>
> Could you send me the dynamic addition of subpages through java, since I am
>trying
>to do something similiar to that. Note that I am using ND5.x. I don't know ND5.x
>provides this facility or not ( I could not find any addSubPageNames method or
>anything closer!! ), but I certainly want to try that. Thanks in advance.
>
>[EMAIL PROTECTED] wrote:
>>
>>i got this to work by spoofing subpage loads
>>within a "main" page.
>>
>>if anyone wants to see it email me and i'll
>>send you the project.
>>
>>[EMAIL PROTECTED] wrote:
>>> I want to use the capability to add subpages
>>>to an existing page at run-time using Java, but I can not figure out how
>>>to get two of these subpages to be displayed side by side as opposed to
>>>one after the other in horizontal stripes.
>>>
>>> I am trying to divide a page into subcomponents (such as a nav bar,
>>>banner image, and What's new section) that can be shared among multiple
>>>pages, where each subcomponent can contain information pulled from the
>>>database. This will mean that if I want to change the nav bar, I can do
>>>it once and the whole site will reflect that change.
>>>
>>>
>>
>
_________________________________________________________________________
To unsubscribe from this mailing list please send an email to:
[EMAIL PROTECTED]
Please remember to use the same email address you subscribed with.
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]