Re: [uportal-dev] Registering a CPD externally to uportal-war

2011-03-02 Thread Eric Dalquist
It is stored in the DB and from 3.2 on there is a foreign key constraint from the channel type table to the channel definition table. So what would need to happen is on portal startup iterate over all of the deployed portlet apps (this list is available from the Pluto SPI) and check each for a

Re: [uportal-dev] Registering a CPD externally to uportal-war

2011-03-02 Thread Steve Swinsburg
So is the registration done at startup, or is it imported and persisted somewhere? On the face of it, it sounds like it should be straightforward enough to get the CPDs from each webapp as you say. That would indeed be neat. cheers, Steve On 03/03/2011, at 1:02 PM, Eric Dalquist wrote: > It h

Re: [uportal-dev] Registering a CPD externally to uportal-war

2011-03-02 Thread Eric Dalquist
It has to be inside of uPortal. I'm not that familiar with the CPD registration code but it would be neat to extend uPortal to do something like check in the META-INF directory of every portlet webapp for .cpd files and auto-register them. I really don't know what would be involved with that on

[uportal-dev] Registering a CPD externally to uportal-war

2011-03-02 Thread Steve Swinsburg
Hi, I have a CPD for a portlet and up until now have been placing it into uportal-war/src/main/resources/org/jasig/portal/channels/ and then rebuilding the uPortal war. I then run a crn-import on a .channel-type I have that references the CPD. It is fine for the channel-type to be external to u