I've been trying to implement this:

http://www.magnolia.info/wiki/Wiki.jsp?page=Activation+Button+in+mainBar

I've gotten it to work to a point, but I get this error:

An error occurred at line: 18 in the jsp file: /admintemplates/ utilities/activatePage.jsp
Generated servlet error:
/Volumes/Magnolia/magnolia-2/tomcat/work/Catalina/localhost/ mactechAuthor/org/apache/jsp/admintemplates/utilities/ activatePage_jsp.java:92: cannot resolve symbol symbol : method activate (java.lang.String,java.lang.String,java.lang.String,boolean)
location: class info.magnolia.cms.exchange.simple.Syndicator
                { syndicator.activate("website", parent, path, includeSubs);
                            ^
1 error


I notice this says I need 5 parameters:

http://magnolia.sourceforge.net/21/apidocs/info/magnolia/cms/exchange/ simple/Syndicator.html


public void activate(String context,
                     String parent,
                     String path,
                     boolean recursive,
                     boolean includeContentNodes)
              throws ActivationException,
                     RepositoryException

or

public void activate(Subscriber subscriber,
                     String context,
                     String parent,
                     String path,
                     boolean recursive)
              throws Exception

I'm not sure how to convert this:

                { syndicator.activate("website", parent, path, includeSubs);

to the new syntax. I'm not sure what the original "website" was suppose to be... the context? Nor am I sure what includeContentNodes is. Can someone enlighten me?

Thanks for your time.

Regards,

//cheMs
--
Chems Touati
Macintosh Specialist
Student Computing Labs, Marriott Library
University of Utah
801.585.9811
[EMAIL PROTECTED]




----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to