It is possible. You probably have probably copied the <con:container / > tag from another webskin that used stobj.objectID as the label and that variable doesn't exist in the page called by <cfmodule />
One option would be to pass the objectid through to the include via <cfmodule template="blah" objectid="#stobj.objectid#" /> and then use #attributes.objectid# as the label in the container in the included page.... Clear as Mud? Alternatively, the label can be anything you want it to be... You might use #request.navid# (the primary key of the navigation node) which will generally be unique for each page and is available though out the entire request. This might be a better option. Kind regards -- -- Matthew Bryant Product Development Manager Daemon Internet Consultants Adobe Solutions Partner http://www.daemon.com.au/ p. 02 9380 4162 f. 02 9380 4204 On 17/02/2008, at 4:20 AM, Zocoloco Studios wrote: > > I have some include templates (/webskin/includes) that I am trying to > put containers in. When I add these includes to my display page > (<cfmodule template=/f[oath/to/include/template> I get an error > Element OBJECTID is undefinted in STOBJ. > > If I take these same containers and put them on the display page > without the include template, it works fine. > > Is it possible to add containers to include templates? > > thanks, > elaine > > > > > > -- > Message protected by MailGuard: e-mail anti-virus, anti-spam and > content filtering. > http://www.mailguard.com.au/mg > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
