Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Anyone succesfully clone/extend OOTB portlet?
dcjung
Hi,
I'm not a Java Servlet guy so I wanted to "reality check" a potential solution. I want to clone the OOTB "my tasks" portlet in CC Std. Specifically, in an extended version of that portlet, I want to add a link to a custom cgi interface that will allow our end users to reassign ownership of "approval" tasks. I've proved I can create another jsp portlet that achieves this same functionality, but now I want to integrate it with the "my tasks" portlet.
I tried this a while ago, by removing the "New Job" link in "my_tasks_portlet_jsp.java", then saving the servlet with a different name. I saved it to the customer_samples_src directory, (not sure if this makes a difference or not). Then, I registered the servlet mappings in the deployment descriptor web.xml file. From my recollection, the build failed on importing the "interwoven java packages"
e.g.
import com.interwoven.cssdk.workflow.*;
import com.interwoven.ui.base.command.*;
etc.
Is what I'm trying to do possible and are there any vendor support implications of cloning and extending OOTB portlets? I appreciate any feedback.
TIA
Dan Jung
St. Paul Travelers
Find more posts tagged with
Comments
Migrateduser
You should be aware that hacking the generate Java code in this way is not supported by the product. It may work for you for awhile, but it will likely fail if you ever upgrade the product.
Brinko Kobrin
Interwoven Staff Engineer
dcjung
Brinko,
Thank you for your input in this matter. The only reason I was even considering doing this is due to the relatively low computer literacy level of some of our business users. We upgraded to Teamsite 6.1 and our end users have been accustomed to using it so I'd rather not change the UI too drastically as it could confuse them. Adding a link in the "my tasks" portlet would have been a subtle change that would have fulfilled their request while minimizing any drastic change to the CC Std UI.
Now that I've heard your caveat, I will build my own customized portlet that will hopefully achieve the same requirement. Thanks again for your feedback.
--Dan