Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Activating infotabs on my html

Status
Not open for further replies.

SenadSe

Programmer
Dec 2, 2011
28
BA
So i implemented my functionality as mentioned here
Now i have my tab here :

When i click it i get my html (without the other tabs, and with some problems with the header search bar i think) like here:


I guess its something about cs10, but all the documentation is about 9.7.1

As you can see the header is there , and the footer.

For the tabs i tryed this in my html:

;;call <superHTMLPrefix + 'infotabs.html'>( 'MyTab', webNode.InfoCmds( .PrgSession(), nodeRec ), request, nodeRec )

but InfoCmds() seems to be Deprecated (but it should still work)


So my question is, is this the right approach?
 
Seems like you have a WebLingo include missing, can you post what you have in you _SubClassExecuteComponents and the WebLingo ?

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
do you have the variable defined like this
;String superHTMLPrefix = .Module( 'webnode').HTMLPrefix()

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
I saw that im missing nodeRec in my response.data.
I have to find out what to put in there.

@greg
_SubClassExecuteComponents is empty (default) and this is a part of the weblingo:
Code:
<body>
;Integer	i

;Assoc		response = .fResponse
;dynamic 	request = .fRequest
;Assoc		data = response.data


;string htmlPrefix = .HTMLPrefix()
;String		img = .Img()
;String		url = .URL()

;assoc args
//;args.Title1 = "Advanced Information"
;args.Title1 = request.node.pNAME
;args.Title2 = "Title two"
;args.BGColor = "blue"
;args.noSearchDate
;args.NoLivelinkUrl
;;call <htmlPrefix + "commonheader.html">(args)
;String		superHTMLPrefix = .Module( 'webnode' ).HTMLPrefix()
;Record		nodeRec = data.nodeRec



<h5>Content Information:</h5>

<table STYLE="height: 100%" CELLSPACING="2" CELLPADDING="3" WIDTH="30%" BORDER="1">
//;dynamic request = .fRequest
;dynamic contents = .fResponse.data.contents
//;object open
//, webnode
;Object		webNode = request.webNode
;object webNodes = $WebNode.WebNodes


			<TR>
				<TD>
					<!-- Tabs -->
				//	;;call <superHTMLPrefix + 'infotabs.html'>( 'AdvancedInfo', webNode.InfoCmds( .PrgSession(), nodeRec ), request, nodeRec )
				</TD>
			</TR>

</table>

@appnair

Yes, as shown in the code above.
 
I managed to activate the infoTabs , so ist not important (i found the function which populates response.data.nodeRec and other stuff).

Now, the only problem is the weired searchbar or what it is.

Im not sure if i should edit it in the weblingo or in the _SubclassExecuteComponents.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top