Does anyone have experience writing dotCMS admin portlets in Angular?
I’m looking to write one for a current project.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
Going through the delivered source code for admin portlets all I see is struts with jsps and heavy utilization of Dojo.
Can’t find a single Angular reference. Is Angular being implemented via Dojo?
Is it not true Angular or Angular 2, but rather emulating Angular like behavior with Dojo?
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/5046c2f4717c4ab189788b7e4265d53d%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6d28f33905ff49f8abe0cbf852c45742%40exch13c.ms.gettysburg.edu.
Ok, thanks. That’s making a little more sense. I’ll look for it.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GMHNxTmXUxCM_UAYx9xnmTeerCVO8ddPA3satYyXQffoA%40mail.gmail.com.
Jason,
My goal is to leverage the same modern UI and be able to link seamlessly to other backend features, such as the content edit screen.
Basically have it work just like your stuff works.
So if you are doing NG 4 via REST, that’s what I’ll do. J
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/99cc44571c6d458a80aecb74afc1e846%40exch13c.ms.gettysburg.edu.
Jason, it looks like the answer to most of my questions is in this file. J
/tomcat8/webapps/ROOT/WEB-INF/jsp/rest_example_portlet/render.jsp
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/044feaa52d4341109d695696388508c8%40exch13c.ms.gettysburg.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6353573679b40d78cc191c407deedc7%40exch13c.ms.gettysburg.edu.
Yeah, I figured that out yesterday. I had named the folder something else. It is required to be named “ext” or it won’t work.
On other topics, I’m beginning to think the new REST portlets are not compatible with OSGI, just static plugins.
I was able to access it as a JSP portlet via OSGI.
The new REST portlets are very cool, but I can’t be tied down to a static plugin requiring a restart.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
From: dot...@googlegroups.com [mailto:dot...@googlegroups.com]
On Behalf Of Xander Steinmann
Sent: Tuesday, November 14, 2017 2:33 AM
To: dotCMS User Group
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets
Hi Nathan,
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
Looking at the source code for the endpoint “/api/portlet”, for REST portlets, it is hardcoded to look in WEB-INF/jsp/.
It would be a very simple change to have it look in the OSGI directories as well.
I might try that as an override plugin to allow REST portlets via OSGI. This seems to be the only obstacle in the way.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
From: dot...@googlegroups.com [mailto:dot...@googlegroups.com] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 8:40 AM
To: dot...@googlegroups.com
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu.
What would be the context root for the file operation? That sounds like an option. I just need to know what the path would be in that context to WEB-INF/jsp/{portlet-name}/{jsp-name}
I was thinking of overriding this class. Adding a catch for FileNotFound, and having it look where the OSGI JSPs are stored alternatively in the catch.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNLxeZDUN5drs0En3_ORgTh1Fh%3DG-V7jaoD%2BnPGR33vrg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu.
Ok, I’ll figure it out then… the generic activator’s copy resource method might give me a clue as to the context each way from the Activator’s perspective.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GO98t9uRT4g1vsTq6gSddPRqg7GE1wuxd8GENcoue3Xtg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/81f231d46ec947eaa7882aa417286ecb%40exch13c.ms.gettysburg.edu.
Yes, thanks. I’m assuming the destination context is the parent of WEB-INF ? (The site doc root?)
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNb7itDcKbP-0T%3D2oMyk4_8gt2pgRe68iOxep-bHv95rA%40mail.gmail.com.
Hmm. It can’t seem to find my plugin files. I’m thinking I’m looking in the wrong path? This is what I mean by context…
If I say URL = “jsp/rest_portlet_transportation_scheduling/” I get:
INFO | jvm 1 | 2017/11/14 10:20:22 | DEBUG: Bundle Transportation Portlets [54] edu/gettysburg/nkeiter/transportation/portlet/osgi/jsp/rest_portlet_transportation_scheduling/ not found by Transportation Portlets [54]
If I say URL = “/resources/jsp/rest_portlet_transportation_scheduling/” I get:
INFO | jvm 1 | 2017/11/14 10:26:05 | DEBUG: Bundle Transportation Portlets [54] resources/jsp/rest_portlet_transportation_scheduling/ not found by Transportation Portlets [54]
Activator source:
https://gist.github.com/nkeiter/64fbaf94166a02ae8b4dc014922cab51#file-rest-portlet-activator-L30-L49
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8fa9519a09204226bcb4940fa7beb6b4%40exch13c.ms.gettysburg.edu.
Jason, no matter what I try I cannot get this simple file copy operation to work. This is very frustrating.
Could someone please tell me how to access these files? I just need the right pathing context for both the source and the destination. Guessing isn’t getting me anywhere.
Latest attempt seeks to get contexts.
Still fails:
[14/11/17 11:45:18:699 EST] INFO osgi.Activator: Got to start( BundleContext ) Transportation Portlets
[14/11/17 11:45:18:734 EST] ERROR osgi.Activator: Can't copy directory [rest_portlet_transportation_scheduling]
java.io.FileNotFoundException: Source 'bundle:\54.17:1\jsp\rest_portlet_transportation_scheduling' does not exist
at com.dotcms.repackage.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1034) ~[dot.commons-io-2.0.1_2.jar:2.0.1]
at com.dotcms.repackage.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:927) ~[dot.commons-io-2.0.1_2.jar:2.0.1]
at com.dotcms.repackage.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:896) ~[dot.commons-io-2.0.1_2.jar:2.0.1]
at edu.gettysburg.nkeiter.transportation.portlet.osgi.Activator.copyJSPs(Activator.java:48) [edu.gettysburg.nkeiter.transportation.portlet-1.0.jar:?]
at edu.gettysburg.nkeiter.transportation.portlet.osgi.Activator.start(Activator.java:94) [edu.gettysburg.nkeiter.transportation.portlet-1.0.jar:?]
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2238) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2144) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1253) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1225) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1213) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:507) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
[14/11/17 11:45:18:738 EST] ERROR osgi.Activator: Can't copy directory [rest_portlet_transportation_calendar]
java.io.FileNotFoundException: Source 'bundle:\54.17:1\jsp\rest_portlet_transportation_calendar' does not exist
at com.dotcms.repackage.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1034) ~[dot.commons-io-2.0.1_2.jar:2.0.1]
at com.dotcms.repackage.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:927) ~[dot.commons-io-2.0.1_2.jar:2.0.1]
at com.dotcms.repackage.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:896) ~[dot.commons-io-2.0.1_2.jar:2.0.1]
at edu.gettysburg.nkeiter.transportation.portlet.osgi.Activator.copyJSPs(Activator.java:48) [edu.gettysburg.nkeiter.transportation.portlet-1.0.jar:?]
at edu.gettysburg.nkeiter.transportation.portlet.osgi.Activator.start(Activator.java:94) [edu.gettysburg.nkeiter.transportation.portlet-1.0.jar:?]
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2238) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2144) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1253) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1225) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1213) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:507) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
[14/11/17 11:45:18:751 EST] ERROR osgi.Activator: Can't copy directory [rest_portlet_transportation]
java.io.FileNotFoundException: Source 'bundle:\54.17:1\jsp\rest_portlet_transportation' does not exist
at com.dotcms.repackage.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1034) ~[dot.commons-io-2.0.1_2.jar:2.0.1]
at com.dotcms.repackage.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:927) ~[dot.commons-io-2.0.1_2.jar:2.0.1]
at com.dotcms.repackage.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:896) ~[dot.commons-io-2.0.1_2.jar:2.0.1]
at edu.gettysburg.nkeiter.transportation.portlet.osgi.Activator.copyJSPs(Activator.java:48) [edu.gettysburg.nkeiter.transportation.portlet-1.0.jar:?]
at edu.gettysburg.nkeiter.transportation.portlet.osgi.Activator.start(Activator.java:94) [edu.gettysburg.nkeiter.transportation.portlet-1.0.jar:?]
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2238) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2144) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) [org.apache.felix.framework-5.6.2.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1253) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1225) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1213) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:507) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312) [org.apache.felix.fileinstall-3.5.8.jar:3.5.8]
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1510675318735.40093%40gettysburg.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/3af6264c246744fc8767383b827d3648%40exch13c.ms.gettysburg.edu.
Static plugin not an option. I’ll try file by file…
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GPJ68dt1FcK-h0Qis-rO1kGEtf0QPhVzUxv5Y06btoDbw%40mail.gmail.com.
Still no luck. Trying to copy file by file. No errors, no log output whatsoever, does nothing all.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/bfe6494605b1481cbecf8cf5a111c67d%40exch13c.ms.gettysburg.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/eb9512f09b954eb8906f4eee4e942757%40exch13c.ms.gettysburg.edu.
Added some debug code. It looks like it’s finding my files just fine. But the destination “WEB-INF” is coming out null now. I’ll see if I can locate WEB-INF in a different manner.
[14/11/17 15:55:50:263 EST] INFO osgi.Activator: Got to start( BundleContext ) Transportation Portlets
[14/11/17 15:55:50:313 EST] INFO osgi.Activator: containerFolder = /jsp/rest_portlet_transportation_scheduling/
[14/11/17 15:55:50:313 EST] INFO osgi.Activator: destinationPath = null
[14/11/17 15:55:50:315 EST] INFO osgi.Activator: entries.hasMoreElements() = true
[14/11/17 15:55:50:315 EST] INFO osgi.Activator: entryPath = /jsp/rest_portlet_transportation_scheduling/init.jsp
[14/11/17 15:55:50:315 EST] INFO osgi.Activator: resourceFilePath = null/jsp/rest_portlet_transportation_scheduling/init.jsp
[14/11/17 15:55:50:316 EST] INFO osgi.Activator: entryPath = /jsp/rest_portlet_transportation_scheduling/render.jsp
[14/11/17 15:55:50:316 EST] INFO osgi.Activator: resourceFilePath = null/jsp/rest_portlet_transportation_scheduling/render.jsp
[14/11/17 15:55:50:316 EST] INFO osgi.Activator: containerFolder = /jsp/rest_portlet_transportation_calendar/
[14/11/17 15:55:50:316 EST] INFO osgi.Activator: destinationPath = null
[14/11/17 15:55:50:316 EST] INFO osgi.Activator: entries.hasMoreElements() = true
[14/11/17 15:55:50:316 EST] INFO osgi.Activator: entryPath = /jsp/rest_portlet_transportation_calendar/render.jsp
[14/11/17 15:55:50:316 EST] INFO osgi.Activator: resourceFilePath = null/jsp/rest_portlet_transportation_calendar/render.jsp
[14/11/17 15:55:50:316 EST] INFO osgi.Activator: containerFolder = /jsp/rest_portlet_transportation/
[14/11/17 15:55:50:316 EST] INFO osgi.Activator: destinationPath = null
[14/11/17 15:55:50:316 EST] INFO osgi.Activator: entries.hasMoreElements() = true
[14/11/17 15:55:50:317 EST] INFO osgi.Activator: entryPath = /jsp/rest_portlet_transportation/render.jsp
[14/11/17 15:55:50:317 EST] INFO osgi.Activator: resourceFilePath = null/jsp/rest_portlet_transportation/render.jsp
[14/11/17 15:55:50:317 EST] INFO osgi.Activator: entryPath = /jsp/rest_portlet_transportation/testing.jsp
[14/11/17 15:55:50:317 EST] INFO osgi.Activator: resourceFilePath = null/jsp/rest_portlet_transportation/testing.jsp
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNn4dZb19s%2BchQY6mvERknTMBWTMgePx%3DQNuN2R%3D4e7yQ%40mail.gmail.com.
What’s the path to WEB-INF from the Activators perspective?
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/edc7554326634169ad074f518423e048%40exch13c.ms.gettysburg.edu.
All I was missing was a blasted leading slash… arg.
The file copy is working now.
[14/11/17 16:05:38:139 EST] INFO osgi.Activator: Got to start( BundleContext ) Transportation Portlets
[14/11/17 16:05:38:184 EST] INFO osgi.Activator: containerFolder = /jsp/rest_portlet_transportation_scheduling/
[14/11/17 16:05:38:184 EST] INFO osgi.Activator: destinationPath = D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\webapps\ROOT\WEB-INF
[14/11/17 16:05:38:186 EST] INFO osgi.Activator: entries.hasMoreElements() = true
[14/11/17 16:05:38:186 EST] INFO osgi.Activator: entryPath = /jsp/rest_portlet_transportation_scheduling/init.jsp
[14/11/17 16:05:38:186 EST] INFO osgi.Activator: resourceFilePath = D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\webapps\ROOT\WEB-INF/jsp/rest_portlet_transportation_scheduling/init.jsp
[14/11/17 16:05:38:194 EST] INFO osgi.Activator: entryPath = /jsp/rest_portlet_transportation_scheduling/render.jsp
[14/11/17 16:05:38:194 EST] INFO osgi.Activator: resourceFilePath = D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\webapps\ROOT\WEB-INF/jsp/rest_portlet_transportation_scheduling/render.jsp
[14/11/17 16:05:38:197 EST] INFO osgi.Activator: containerFolder = /jsp/rest_portlet_transportation_calendar/
[14/11/17 16:05:38:197 EST] INFO osgi.Activator: destinationPath = D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\webapps\ROOT\WEB-INF
[14/11/17 16:05:38:197 EST] INFO osgi.Activator: entries.hasMoreElements() = true
[14/11/17 16:05:38:197 EST] INFO osgi.Activator: entryPath = /jsp/rest_portlet_transportation_calendar/render.jsp
[14/11/17 16:05:38:197 EST] INFO osgi.Activator: resourceFilePath = D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\webapps\ROOT\WEB-INF/jsp/rest_portlet_transportation_calendar/render.jsp
[14/11/17 16:05:38:201 EST] INFO osgi.Activator: containerFolder = /jsp/rest_portlet_transportation/
[14/11/17 16:05:38:201 EST] INFO osgi.Activator: destinationPath = D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\webapps\ROOT\WEB-INF
[14/11/17 16:05:38:201 EST] INFO osgi.Activator: entries.hasMoreElements() = true
[14/11/17 16:05:38:201 EST] INFO osgi.Activator: entryPath = /jsp/rest_portlet_transportation/render.jsp
[14/11/17 16:05:38:201 EST] INFO osgi.Activator: resourceFilePath = D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\webapps\ROOT\WEB-INF/jsp/rest_portlet_transportation/render.jsp
[14/11/17 16:05:38:205 EST] INFO osgi.Activator: entryPath = /jsp/rest_portlet_transportation/testing.jsp
[14/11/17 16:05:38:205 EST] INFO osgi.Activator: resourceFilePath = D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\webapps\ROOT\WEB-INF/jsp/rest_portlet_transportation/testing.jsp
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6cd49fcf9fad469d9587bd51ed484436%40exch13c.ms.gettysburg.edu.
Jason, the rest portlet is now being served by the rest portlet endpoint, however now I need to figure out how to add the portlet to the admin menu? Is there a special init param setting I need in portlet.xml? One option might be to add a dummy JSP as a “JSP Portlet” which simply redirects to the main rest portlet JSP.
What are my options to get this on the admin menu?
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/5063fb32ce9f471e85751e9ca8843325%40exch13c.ms.gettysburg.edu.
This is the error I'm seeing. (Attached.)
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1510928713165.23522%40gettysburg.edu.
So far I’ve tried all these pathings in portlet.xml, none work.
../WEB-INF/jsp/rest_portlet_transportation/render.jsp
/WEB-INF/jsp/rest_portlet_transportation/render.jsp
WEB-INF/jsp/rest_portlet_transportation/render.jsp
/../WEB-INF/jsp/rest_portlet_transportation/render.jsp
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c7ba5783ca0d49eb8e6a37503e752a63%40exch13c.ms.gettysburg.edu.
Drilling deep into the liferay source code, it looks like it’s trying to instantiate an abstract class.
BaseRestPortlet is an abstract class, so obviously that won’t work..
But how to fix?
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/fe63c13b0ffb4e53bdf70cd6c2276562%40exch13c.ms.gettysburg.edu.