Have Samigo include the jQuery like the rest of the tools
GENERAL
TESTING
GENERAL
TESTING
Description
depends on
is related to
Activity
Show:

Hudson CI Server December 6, 2014 at 1:08 PM
SUCCESS: Integrated in sakai-trunk-java-1.7 #555 (See http://builds.sakaiproject.org:8080/job/sakai-trunk-java-1.7/555/)
Use PortalUtils.includeLatestJQuery() to include jQuery in
Samigo. (csev@umich.edu: rev 315941)

Charles R Severance December 6, 2014 at 8:54 AM
svn commit
Sending pom.xml
Sending sakai-samigo/webapp/include/header.inc
Sending src/webapp/WEB-INF/faces-config.xml
Transmitting file data ...
Committed revision 315941.

Charles R Severance December 6, 2014 at 8:49 AM
Or since I am in Java code just access my static class directly instead of wrapping it in a bean. Doh.

Charles R Severance December 6, 2014 at 8:31 AM
Looks like this is how I get a request-scoped bean in Java code:
http://stackoverflow.com/questions/2633112/jsf-get-managed-bean-by-name
Bean bean = (Bean) request.getAttribute("beanName");
This will simply use the PortalUtils.includeLatestJquery() to include jquery in a consistent manner like the other tools.