[4.1.1] Angular Admin Portlets

classic Classic list List threaded Threaded
34 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[4.1.1] Angular Admin Portlets

Nathan Keiter

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

https://www.gettysburg.edu

 

--
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 [hidden email].
To post to this group, send email to [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

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

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 9:28 AM
To: [hidden email]
Subject: [dotcms] [4.1.1] Angular Admin Portlets

 

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

https://www.gettysburg.edu

 

--
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6d28f33905ff49f8abe0cbf852c45742%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Jason Tesser-2
I would need to play with it BUT we have a REST Portlet  

We use NG 4 in the latest.  dotCMS never implmented AngularJS. 

You should be able to map a Rest Portlet. Look at our portlet.xml 

On Fri, Nov 10, 2017 at 11:26 AM Nathan Keiter <[hidden email]> wrote:

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: <a href="tel:(717)%20337-6993" value="+17173376993" target="_blank">717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 9:28 AM
To: [hidden email]
Subject: [dotcms] [4.1.1] Angular Admin Portlets

 

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: <a href="tel:(717)%20337-6993" value="+17173376993" target="_blank">717.337.6993

https://www.gettysburg.edu

 

--
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6d28f33905ff49f8abe0cbf852c45742%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GMHNxTmXUxCM_UAYx9xnmTeerCVO8ddPA3satYyXQffoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

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

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Friday, November 10, 2017 11:32 AM
To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

I would need to play with it BUT we have a REST Portlet  

 

We use NG 4 in the latest.  dotCMS never implmented AngularJS. 

 

You should be able to map a Rest Portlet. Look at our portlet.xml 

 

On Fri, Nov 10, 2017 at 11:26 AM Nathan Keiter <[hidden email]> wrote:

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 9:28 AM
To: [hidden email]
Subject: [dotcms] [4.1.1] Angular Admin Portlets

 

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

--
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6d28f33905ff49f8abe0cbf852c45742%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GMHNxTmXUxCM_UAYx9xnmTeerCVO8ddPA3satYyXQffoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/99cc44571c6d458a80aecb74afc1e846%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

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

 

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

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 11:35 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Jason Tesser
Sent: Friday, November 10, 2017 11:32 AM
To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

I would need to play with it BUT we have a REST Portlet  

 

We use NG 4 in the latest.  dotCMS never implmented AngularJS. 

 

You should be able to map a Rest Portlet. Look at our portlet.xml 

 

On Fri, Nov 10, 2017 at 11:26 AM Nathan Keiter <[hidden email]> wrote:

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 9:28 AM
To: [hidden email]
Subject: [dotcms] [4.1.1] Angular Admin Portlets

 

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

--
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6d28f33905ff49f8abe0cbf852c45742%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GMHNxTmXUxCM_UAYx9xnmTeerCVO8ddPA3satYyXQffoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/99cc44571c6d458a80aecb74afc1e846%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/044feaa52d4341109d695696388508c8%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

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

 

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

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 11:42 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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

 

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

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 11:35 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Jason Tesser
Sent: Friday, November 10, 2017 11:32 AM
To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

I would need to play with it BUT we have a REST Portlet  

 

We use NG 4 in the latest.  dotCMS never implmented AngularJS. 

 

You should be able to map a Rest Portlet. Look at our portlet.xml 

 

On Fri, Nov 10, 2017 at 11:26 AM Nathan Keiter <[hidden email]> wrote:

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 9:28 AM
To: [hidden email]
Subject: [dotcms] [4.1.1] Angular Admin Portlets

 

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

--
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6d28f33905ff49f8abe0cbf852c45742%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GMHNxTmXUxCM_UAYx9xnmTeerCVO8ddPA3satYyXQffoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/99cc44571c6d458a80aecb74afc1e846%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/044feaa52d4341109d695696388508c8%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6353573679b40d78cc191c407deedc7%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Jason Tesser-2
that is older but yes should also work.  

On Fri, Nov 10, 2017 at 2:39 PM Nathan Keiter <[hidden email]> wrote:

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

 

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: <a href="tel:(717)%20337-6993" value="+17173376993" target="_blank">717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 11:42 AM


To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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

 

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: <a href="tel:(717)%20337-6993" value="+17173376993" target="_blank">717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 11:35 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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: <a href="tel:(717)%20337-6993" value="+17173376993" target="_blank">717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Jason Tesser
Sent: Friday, November 10, 2017 11:32 AM
To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

I would need to play with it BUT we have a REST Portlet  

 

We use NG 4 in the latest.  dotCMS never implmented AngularJS. 

 

You should be able to map a Rest Portlet. Look at our portlet.xml 

 

On Fri, Nov 10, 2017 at 11:26 AM Nathan Keiter <[hidden email]> wrote:

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: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 9:28 AM
To: [hidden email]
Subject: [dotcms] [4.1.1] Angular Admin Portlets

 

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: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

--
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6d28f33905ff49f8abe0cbf852c45742%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GMHNxTmXUxCM_UAYx9xnmTeerCVO8ddPA3satYyXQffoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/99cc44571c6d458a80aecb74afc1e846%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/044feaa52d4341109d695696388508c8%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6353573679b40d78cc191c407deedc7%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNLd%2B9-4k_rsJA82PJjVri_85hjvsur3E9zC1_NeDdMaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter
How do I get my portlet JSPs from the OSGI plugin into the proper "/WEB-INF/.." path?


Portlet is working, but can't find JSPs. See screenshots.


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
https://www.gettysburg.edu
________________________________
From: [hidden email] <[hidden email]> on behalf of Jason Tesser <[hidden email]>
Sent: Friday, November 10, 2017 5:02 PM
To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

that is older but yes should also work.

On Fri, Nov 10, 2017 at 2:39 PM Nathan Keiter <[hidden email]<mailto:[hidden email]>> wrote:
Jason, it looks like the answer to most of my questions is in this file. :)

/tomcat8/webapps/ROOT/WEB-INF/jsp/rest_example_portlet/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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>
Phone: 717.337.6993<tel:(717)%20337-6993>
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]<mailto:[hidden email]>] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 11:42 AM

To: [hidden email]<mailto:[hidden email]>
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

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. :)

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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>
Phone: 717.337.6993<tel:(717)%20337-6993>
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 11:35 AM
To: [hidden email]<mailto:[hidden email]>
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>
Phone: 717.337.6993<tel:(717)%20337-6993>
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Friday, November 10, 2017 11:32 AM
To: [hidden email]<mailto:[hidden email]>
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

I would need to play with it BUT we have a REST Portlet

We use NG 4 in the latest.  dotCMS never implmented AngularJS.

You should be able to map a Rest Portlet. Look at our portlet.xml

On Fri, Nov 10, 2017 at 11:26 AM Nathan Keiter <[hidden email]<mailto:[hidden email]>> wrote:
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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>
Phone: 717.337.6993<tel:(717)%20337-6993>
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]<mailto:[hidden email]>] On Behalf Of Nathan Keiter
Sent: Friday, November 10, 2017 9:28 AM
To: [hidden email]<mailto:[hidden email]>
Subject: [dotcms] [4.1.1] Angular Admin Portlets

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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>
Phone: 717.337.6993<tel:(717)%20337-6993>
https://www.gettysburg.edu<https://www.gettysburg.edu/>

--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/5046c2f4717c4ab189788b7e4265d53d%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/5046c2f4717c4ab189788b7e4265d53d%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6d28f33905ff49f8abe0cbf852c45742%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/6d28f33905ff49f8abe0cbf852c45742%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GMHNxTmXUxCM_UAYx9xnmTeerCVO8ddPA3satYyXQffoA%40mail.gmail.com<https://groups.google.com/d/msgid/dotcms/CALDe1GMHNxTmXUxCM_UAYx9xnmTeerCVO8ddPA3satYyXQffoA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/99cc44571c6d458a80aecb74afc1e846%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/99cc44571c6d458a80aecb74afc1e846%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/044feaa52d4341109d695696388508c8%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/044feaa52d4341109d695696388508c8%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6353573679b40d78cc191c407deedc7%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/d6353573679b40d78cc191c407deedc7%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNLd%2B9-4k_rsJA82PJjVri_85hjvsur3E9zC1_NeDdMaQ%40mail.gmail.com<https://groups.google.com/d/msgid/dotcms/CALDe1GNLd%2B9-4k_rsJA82PJjVri_85hjvsur3E9zC1_NeDdMaQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1510592201005.43536%40gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

Screen Shot 2017-11-13 at 10.40.44 AM.png (80K) Download Attachment
Screen Shot 2017-11-13 at 11.04.52 AM.png (40K) Download Attachment
Screen Shot 2017-11-13 at 11.05.01 AM.png (42K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Xander
Hi Nathan,

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

Kind regards,

Xander

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

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

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] 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,

 

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

 

Kind regards,

 

Xander

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

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

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 8:40 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] 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,

 

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

 

Kind regards,

 

Xander

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Jason Tesser-2
You can in your activator copy your files and on undeploy delete them.  

On Tue, Nov 14, 2017 at 8:49 AM Nathan Keiter <[hidden email]> wrote:

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: <a href="tel:(717)%20337-6993" value="+17173376993" target="_blank">717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 8:40 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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: <a href="tel:(717)%20337-6993" value="+17173376993" target="_blank">717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] 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,

 

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

 

Kind regards,

 

Xander

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNLxeZDUN5drs0En3_ORgTh1Fh%3DG-V7jaoD%2BnPGR33vrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

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.

 

https://github.com/dotCMS/core/blob/master/dotCMS/src/main/java/com/dotcms/rest/BaseRestPortlet.java#L100

 

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

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:08 AM
To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

You can in your activator copy your files and on undeploy delete them.  

 

On Tue, Nov 14, 2017 at 8:49 AM Nathan Keiter <[hidden email]> wrote:

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 8:40 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] 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,

 

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

 

Kind regards,

 

Xander

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNLxeZDUN5drs0En3_ORgTh1Fh%3DG-V7jaoD%2BnPGR33vrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Jason Tesser-2
The copy your be a Java file copy. You have access to the file system and such. Just place the files in the same place a static plugin would place your files from the ROOT directory 

On Tue, Nov 14, 2017 at 9:12 AM Nathan Keiter <[hidden email]> wrote:

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.

 

https://github.com/dotCMS/core/blob/master/dotCMS/src/main/java/com/dotcms/rest/BaseRestPortlet.java#L100

 

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: <a href="tel:(717)%20337-6993" value="+17173376993" target="_blank">717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:08 AM
To: [hidden email]


Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

You can in your activator copy your files and on undeploy delete them.  

 

On Tue, Nov 14, 2017 at 8:49 AM Nathan Keiter <[hidden email]> wrote:

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: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 8:40 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] 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,

 

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

 

Kind regards,

 

Xander

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].


For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GO98t9uRT4g1vsTq6gSddPRqg7GE1wuxd8GENcoue3Xtg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

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.

 

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

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:21 AM
To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

The copy your be a Java file copy. You have access to the file system and such. Just place the files in the same place a static plugin would place your files from the ROOT directory 

 

On Tue, Nov 14, 2017 at 9:12 AM Nathan Keiter <[hidden email]> wrote:

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.

 

https://github.com/dotCMS/core/blob/master/dotCMS/src/main/java/com/dotcms/rest/BaseRestPortlet.java#L100

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:08 AM
To: [hidden email]


Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

You can in your activator copy your files and on undeploy delete them.  

 

On Tue, Nov 14, 2017 at 8:49 AM Nathan Keiter <[hidden email]> wrote:

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g" target="_blank"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 8:40 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g" target="_blank"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] 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,

 

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

 

Kind regards,

 

Xander

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].


For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GO98t9uRT4g1vsTq6gSddPRqg7GE1wuxd8GENcoue3Xtg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/81f231d46ec947eaa7882aa417286ecb%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Jason Tesser-2
I see what you are asking.  The source file is in the JAR.  You need get the file from the JAR then copy those files to the location you want. 
Consider the below pseudo example
URL inputUrl = getClass().getResource("/absolute/path/of/source/in/jar/file");
File dest = new File("/path/to/destination/file");
FileUtils.copyURLToFile(inputUrl, dest);

On Tue, Nov 14, 2017 at 9:23 AM Nathan Keiter <[hidden email]> wrote:

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.

 

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: <a href="tel:(717)%20337-6993" value="+17173376993" target="_blank">717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:21 AM


To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

The copy your be a Java file copy. You have access to the file system and such. Just place the files in the same place a static plugin would place your files from the ROOT directory 

 

On Tue, Nov 14, 2017 at 9:12 AM Nathan Keiter <[hidden email]> wrote:

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.

 

https://github.com/dotCMS/core/blob/master/dotCMS/src/main/java/com/dotcms/rest/BaseRestPortlet.java#L100

 

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: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:08 AM
To: [hidden email]


Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

You can in your activator copy your files and on undeploy delete them.  

 

On Tue, Nov 14, 2017 at 8:49 AM Nathan Keiter <[hidden email]> wrote:

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: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 8:40 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] 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,

 

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

 

Kind regards,

 

Xander

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].


For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].


For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/81f231d46ec947eaa7882aa417286ecb%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNb7itDcKbP-0T%3D2oMyk4_8gt2pgRe68iOxep-bHv95rA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

Yes, thanks. I’m assuming the destination context is the parent of WEB-INF ? (The site doc root?)

 

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

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:29 AM
To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

I see what you are asking.  The source file is in the JAR.  You need get the file from the JAR then copy those files to the location you want. 

Consider the below pseudo example

URL inputUrl = getClass().getResource("/absolute/path/of/source/in/jar/file");

File dest = new File("/path/to/destination/file");

FileUtils.copyURLToFile(inputUrl, dest);

 

On Tue, Nov 14, 2017 at 9:23 AM Nathan Keiter <[hidden email]> wrote:

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.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:21 AM


To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

The copy your be a Java file copy. You have access to the file system and such. Just place the files in the same place a static plugin would place your files from the ROOT directory 

 

On Tue, Nov 14, 2017 at 9:12 AM Nathan Keiter <[hidden email]> wrote:

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.

 

https://github.com/dotCMS/core/blob/master/dotCMS/src/main/java/com/dotcms/rest/BaseRestPortlet.java#L100

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g" target="_blank"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:08 AM
To: [hidden email]


Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

You can in your activator copy your files and on undeploy delete them.  

 

On Tue, Nov 14, 2017 at 8:49 AM Nathan Keiter <[hidden email]> wrote:

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g" target="_blank"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 8:40 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g" target="_blank"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] 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,

 

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

 

Kind regards,

 

Xander

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].


For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].


For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/81f231d46ec947eaa7882aa417286ecb%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNb7itDcKbP-0T%3D2oMyk4_8gt2pgRe68iOxep-bHv95rA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8fa9519a09204226bcb4940fa7beb6b4%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

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

 

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

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 9:31 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

Yes, thanks. I’m assuming the destination context is the parent of WEB-INF ? (The site doc root?)

 

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

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:29 AM
To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

I see what you are asking.  The source file is in the JAR.  You need get the file from the JAR then copy those files to the location you want. 

Consider the below pseudo example

URL inputUrl = getClass().getResource("/absolute/path/of/source/in/jar/file");

File dest = new File("/path/to/destination/file");

FileUtils.copyURLToFile(inputUrl, dest);

 

On Tue, Nov 14, 2017 at 9:23 AM Nathan Keiter <[hidden email]> wrote:

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.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:21 AM


To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

The copy your be a Java file copy. You have access to the file system and such. Just place the files in the same place a static plugin would place your files from the ROOT directory 

 

On Tue, Nov 14, 2017 at 9:12 AM Nathan Keiter <[hidden email]> wrote:

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.

 

https://github.com/dotCMS/core/blob/master/dotCMS/src/main/java/com/dotcms/rest/BaseRestPortlet.java#L100

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g" target="_blank"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:08 AM
To: [hidden email]


Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

You can in your activator copy your files and on undeploy delete them.  

 

On Tue, Nov 14, 2017 at 8:49 AM Nathan Keiter <[hidden email]> wrote:

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g" target="_blank"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 8:40 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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 <a href="https://maps.google.com/?q=2453&#43;%7C&#43;300&#43;North&#43;Washington&#43;Street&#43;%7C&#43;Gettysburg,&#43;PA&#43;17325&amp;entry=gmail&amp;source=g" target="_blank"> 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" target="_blank"> 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] 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,

 

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

 

Kind regards,

 

Xander

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].


For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].


For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/81f231d46ec947eaa7882aa417286ecb%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNb7itDcKbP-0T%3D2oMyk4_8gt2pgRe68iOxep-bHv95rA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8fa9519a09204226bcb4940fa7beb6b4%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/14efab7ddf3f47d09be5eab20997a0f0%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter
Plugin source directory structure:


[cid:4db7e559-128c-479b-82de-980e8cab6227]


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
https://www.gettysburg.edu
________________________________
From: [hidden email] <[hidden email]> on behalf of Nathan Keiter <[hidden email]>
Sent: Tuesday, November 14, 2017 10:50 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

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

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
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 9:31 AM
To: [hidden email]
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

Yes, thanks. I’m assuming the destination context is the parent of WEB-INF ? (The site doc root?)

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
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:29 AM
To: [hidden email]<mailto:[hidden email]>
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

I see what you are asking.  The source file is in the JAR.  You need get the file from the JAR then copy those files to the location you want.
Consider the below pseudo example
URL inputUrl = getClass().getResource("/absolute/path/of/source/in/jar/file");
File dest = new File("/path/to/destination/file");
FileUtils.copyURLToFile(inputUrl, dest);

On Tue, Nov 14, 2017 at 9:23 AM Nathan Keiter <[hidden email]<mailto:[hidden email]>> wrote:
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.

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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>
Phone: 717.337.6993<tel:(717)%20337-6993>
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]<mailto:[hidden email]>] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:21 AM

To: [hidden email]<mailto:[hidden email]>
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

The copy your be a Java file copy. You have access to the file system and such. Just place the files in the same place a static plugin would place your files from the ROOT directory

On Tue, Nov 14, 2017 at 9:12 AM Nathan Keiter <[hidden email]<mailto:[hidden email]>> wrote:
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.

https://github.com/dotCMS/core/blob/master/dotCMS/src/main/java/com/dotcms/rest/BaseRestPortlet.java#L100

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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>
Phone: 717.337.6993<tel:(717)%20337-6993>
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]<mailto:[hidden email]>] On Behalf Of Jason Tesser
Sent: Tuesday, November 14, 2017 9:08 AM
To: [hidden email]<mailto:[hidden email]>

Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

You can in your activator copy your files and on undeploy delete them.

On Tue, Nov 14, 2017 at 8:49 AM Nathan Keiter <[hidden email]<mailto:[hidden email]>> wrote:
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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>
Phone: 717.337.6993<tel:(717)%20337-6993>
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]<mailto:[hidden email]>] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 8:40 AM
To: [hidden email]<mailto:[hidden email]>
Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>
Phone: 717.337.6993<tel:(717)%20337-6993>
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]] 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,

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

Kind regards,

Xander
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com<https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNLxeZDUN5drs0En3_ORgTh1Fh%3DG-V7jaoD%2BnPGR33vrg%40mail.gmail.com<https://groups.google.com/d/msgid/dotcms/CALDe1GNLxeZDUN5drs0En3_ORgTh1Fh%3DG-V7jaoD%2BnPGR33vrg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GO98t9uRT4g1vsTq6gSddPRqg7GE1wuxd8GENcoue3Xtg%40mail.gmail.com<https://groups.google.com/d/msgid/dotcms/CALDe1GO98t9uRT4g1vsTq6gSddPRqg7GE1wuxd8GENcoue3Xtg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/81f231d46ec947eaa7882aa417286ecb%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/81f231d46ec947eaa7882aa417286ecb%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNb7itDcKbP-0T%3D2oMyk4_8gt2pgRe68iOxep-bHv95rA%40mail.gmail.com<https://groups.google.com/d/msgid/dotcms/CALDe1GNb7itDcKbP-0T%3D2oMyk4_8gt2pgRe68iOxep-bHv95rA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8fa9519a09204226bcb4940fa7beb6b4%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/8fa9519a09204226bcb4940fa7beb6b4%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/14efab7ddf3f47d09be5eab20997a0f0%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/14efab7ddf3f47d09be5eab20997a0f0%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1510675318735.40093%40gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

Screen Shot 2017-11-14 at 10.58.49 AM.png (196K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.1] Angular Admin Portlets

Nathan Keiter

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.

 

https://gist.github.com/nkeiter/88041f1b72783802f8aa6dfe8eb111f5#file-rest-portlet-activator-another-attempt-L33-L56

 

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

https://www.gettysburg.edu

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, November 14, 2017 11:02 AM
To: [hidden email]
Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

Plugin source directory structure:

 

 

[cid:4db7e559-128c-479b-82de-980e8cab6227]

 

 

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

https://www.gettysburg.edu

________________________________

From: [hidden email] <[hidden email]> on behalf of Nathan Keiter <[hidden email]>

Sent: Tuesday, November 14, 2017 10:50 AM

To: [hidden email]

Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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

 

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

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, November 14, 2017 9:31 AM

To: [hidden email]

Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

Yes, thanks. I’m assuming the destination context is the parent of WEB-INF ? (The site doc root?)

 

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

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]] On Behalf Of Jason Tesser

Sent: Tuesday, November 14, 2017 9:29 AM

To: [hidden email]<mailto:[hidden email]>

Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

I see what you are asking.  The source file is in the JAR.  You need get the file from the JAR then copy those files to the location you want.

Consider the below pseudo example

URL inputUrl = getClass().getResource("/absolute/path/of/source/in/jar/file");

File dest = new File("/path/to/destination/file");

FileUtils.copyURLToFile(inputUrl, dest);

 

On Tue, Nov 14, 2017 at 9:23 AM Nathan Keiter <[hidden email]<mailto:[hidden email]>> wrote:

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.

 

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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>

Phone: 717.337.6993<tel:(717)%20337-6993>

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]<mailto:[hidden email]>] On Behalf Of Jason Tesser

Sent: Tuesday, November 14, 2017 9:21 AM

 

To: [hidden email]<mailto:[hidden email]>

Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

The copy your be a Java file copy. You have access to the file system and such. Just place the files in the same place a static plugin would place your files from the ROOT directory

 

On Tue, Nov 14, 2017 at 9:12 AM Nathan Keiter <[hidden email]<mailto:[hidden email]>> wrote:

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.

 

https://github.com/dotCMS/core/blob/master/dotCMS/src/main/java/com/dotcms/rest/BaseRestPortlet.java#L100

 

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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>

Phone: 717.337.6993<tel:(717)%20337-6993>

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]<mailto:[hidden email]>] On Behalf Of Jason Tesser

Sent: Tuesday, November 14, 2017 9:08 AM

To: [hidden email]<mailto:[hidden email]>

 

Subject: Re: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

You can in your activator copy your files and on undeploy delete them.

 

On Tue, Nov 14, 2017 at 8:49 AM Nathan Keiter <[hidden email]<mailto:[hidden email]>> wrote:

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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>

Phone: 717.337.6993<tel:(717)%20337-6993>

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]<mailto:[hidden email]>] On Behalf Of Nathan Keiter

Sent: Tuesday, November 14, 2017 8:40 AM

To: [hidden email]<mailto:[hidden email]>

Subject: RE: [dotcms] RE: [4.1.1] Angular Admin Portlets

 

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<https://maps.google.com/?q=2453+%7C+300+North+Washington+Street+%7C+Gettysburg,+PA+17325&entry=gmail&source=g>

Phone: 717.337.6993<tel:(717)%20337-6993>

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]] 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,

 

If I put a velocity file in the OSGi-plugin's /ext folder it is placed in WEB-INF/velocity/osgi/my-plugin-name/ext. I assume the same thing will happen to a JSP file, or maybe WEB-INF/jsp/osgi/my-plugin-name/ext? For a portlet I'm able to access it with "/ext/my-vtl-file.vtl" in the view-template value field of portlet.xml.

 

Kind regards,

 

Xander

--

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+[hidden email]<mailto:dotcms+[hidden email]>.

To post to this group, send email to [hidden email]<mailto:[hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com<https://groups.google.com/d/msgid/dotcms/32563245-266c-4604-80d3-69d47abc5250%40googlegroups.com?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

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+[hidden email]<mailto:dotcms+[hidden email]>.

To post to this group, send email to [hidden email]<mailto:[hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/cfaf8383d1e947a586263542478dd8be%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

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+[hidden email]<mailto:dotcms+[hidden email]>.

To post to this group, send email to [hidden email]<mailto:[hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/2ea6f08d896945f1be34ca136a15479f%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

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+[hidden email]<mailto:dotcms+[hidden email]>.

To post to this group, send email to [hidden email]<mailto:[hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNLxeZDUN5drs0En3_ORgTh1Fh%3DG-V7jaoD%2BnPGR33vrg%40mail.gmail.com<https://groups.google.com/d/msgid/dotcms/CALDe1GNLxeZDUN5drs0En3_ORgTh1Fh%3DG-V7jaoD%2BnPGR33vrg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

 

For more options, visit https://groups.google.com/d/optout.

--

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+[hidden email]<mailto:dotcms+[hidden email]>.

To post to this group, send email to [hidden email]<mailto:[hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/d6d3d5e7c6b749f99e211db5cd7588a6%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

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+[hidden email]<mailto:dotcms+[hidden email]>.

To post to this group, send email to [hidden email]<mailto:[hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GO98t9uRT4g1vsTq6gSddPRqg7GE1wuxd8GENcoue3Xtg%40mail.gmail.com<https://groups.google.com/d/msgid/dotcms/CALDe1GO98t9uRT4g1vsTq6gSddPRqg7GE1wuxd8GENcoue3Xtg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

 

For more options, visit https://groups.google.com/d/optout.

--

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+[hidden email]<mailto:dotcms+[hidden email]>.

To post to this group, send email to [hidden email]<mailto:[hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/81f231d46ec947eaa7882aa417286ecb%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/81f231d46ec947eaa7882aa417286ecb%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

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+[hidden email]<mailto:dotcms+[hidden email]>.

To post to this group, send email to [hidden email]<mailto:[hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GNb7itDcKbP-0T%3D2oMyk4_8gt2pgRe68iOxep-bHv95rA%40mail.gmail.com<https://groups.google.com/d/msgid/dotcms/CALDe1GNb7itDcKbP-0T%3D2oMyk4_8gt2pgRe68iOxep-bHv95rA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

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+[hidden email]<mailto:dotcms+[hidden email]>.

To post to this group, send email to [hidden email]<mailto:[hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8fa9519a09204226bcb4940fa7beb6b4%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/8fa9519a09204226bcb4940fa7beb6b4%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

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+[hidden email]<mailto:dotcms+[hidden email]>.

To post to this group, send email to [hidden email]<mailto:[hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/14efab7ddf3f47d09be5eab20997a0f0%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/14efab7ddf3f47d09be5eab20997a0f0%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

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+[hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1510675318735.40093%40gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/3af6264c246744fc8767383b827d3648%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
12