Forum .LRN Q&A: Re: Wiki - Access Portlets

4: Re: Wiki - Access Portlets (response to 3)
Posted by Gustaf Neumann on
Dear Christian,

The {{adp ....}} interface allows to call every .adp/.tcl pair. But it does not guarantee, that this .adp/.tcl pair will work.

Many adp files are written in a way that they assume that (a) a certain list of tcl variables are set, and (b) they are called from a certain place. For example, if the .tcl file calls "give me the current community", and the package is not mounted under a community, it will fail.

In order to figure out, what adp chunks can be included, one can
a) try,
b) read the code, or
c) use the provided interfaces from the PACKAGENAME/lib directory of the packages (.tcl/.adp-pairs written for inclusion in different packages).