An improved Content Presenter Portlet

I've been working on a site migration project from a content manager to Weblogic Portal, and for the Weblogic Portal site we are planning to use Content Presenter Portlet to show most of the content that already exist on that site, almost all is just text and images, but there is a problem with the usability of the portal, I mean the process to create a new page(desktop) is not that simple for a non-technical user, for example the user has to create the content in the repository organize everything very well and then create the desktop, add the content presenter protlet and then configure the portlet and of course if the author wants to edit the content when the repository has library services enabled he has to follow a large process...chose edit, chech out, choose property, edit, save, check in and finally see those changes(or wait until it is approved)... in the old content manager is not that difficult to do that... so I've been thinking to write some templates for the content presenter portlet that reduces the number of steps, windows and clics for the assistant, and allow the authors to create the content instead of just choosing it, and finally allow the in-line editing with library services enabled.... What do you think about it??? I know this is not a simple task.... but I want to know your opinion.... has somebody tried to do something similar??? any comment is welcomed...

This is a sample template which explicitly was not implemented to support Library Services. The OOTB sample application in which this template lives does not have Library Services enabled on the repository. You are free to take this sample and modify it to suite your needs, either for learning or to modify to meet your requirements. The template was amply commented so that you can follow the ideas and implementation.
Brad

Similar Messages

  • Error with Authentication and Content Presenter Portlet

    I was just testing an application i'm developping when I realize that something was wrong with almost all the content presenter portlets in my portal... after authenticate into my portal i get this at log files
    <9/03/2009 10:04:08 AM GMT-06:00> <Error> <netuix> <BEA-423166> <An exception or error occurred in the backing file [com.bea.content.ui.framework.ContentUIPortletBacking] while executing its handlePostbackData method. It was java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
    java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
         at com.bea.content.ui.framework.services.PortletManagementService.getPortletSessionConfigurationKey(PortletManagementService.java:2726)
         at com.bea.content.ui.framework.services.PortletManagementService.hasReturnedFromConfiguration(PortletManagementService.java:938)
         at com.bea.content.ui.framework.ContentUIPortletBacking.handlePostbackData(ContentUIPortletBacking.java:139)
         at com.bea.netuix.servlets.controls.Backable$Impl.handlePostbackData(Backable.java:166)
         at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
         Truncated. see log file for complete stacktrace
    >
    java.lang.NullPointerException
         at login.LoginBacking.handlePostbackData(LoginBacking.java:43)
         at com.bea.netuix.servlets.controls.Backable$Impl.handlePostbackData(Backable.java:166)
         at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
         at com.bea.netuix.servlets.controls.window.Window.handlePostbackData(Window.java:606)
         at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)<9/03/2009 10:07:56 AM GMT-06:00> <Error> <netuix> <BEA-423166> <An exception or error occurred in the backing file [com.bea.content.ui.framework.ContentUIPortletBacking] while executing its handlePostbackData method. It was java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
    java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
         at com.bea.content.ui.framework.services.PortletManagementService.getPortletSessionConfigurationKey(PortletManagementService.java:2726)
         at com.bea.content.ui.framework.services.PortletManagementService.hasReturnedFromConfiguration(PortletManagementService.java:938)
         at com.bea.content.ui.framework.ContentUIPortletBacking.handlePostbackData(ContentUIPortletBacking.java:139)
         at com.bea.netuix.servlets.controls.Backable$Impl.handlePostbackData(Backable.java:166)
         at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
         Truncated. see log file for complete stacktrace
    >
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
         at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
         at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:686)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    I do not know why is this happening, cause Authentication works, except for that ugly exception that I think is thrown after trying to render the content presenter portlets
    Some of the content presenter portlets work(I mean i can see it's content and can be modified)fine but the ones recently added don't Does anybody knows the reason???
    It does not work even when i start a new project.

    I'm using the sample at wlp docs
    package login;
    import com.bea.netuix.servlets.controls.content.JspContentContext;
    import com.bea.netuix.servlets.controls.content.backing.AbstractJspBacking;
    import com.bea.p13n.security.Authentication;
    import com.bea.portlet.GenericURL;
    import com.bea.portlet.PostbackURL;
    import javax.security.auth.login.LoginException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class LoginBacking extends AbstractJspBacking {
    private static final long serialVersionUID = 1L;
    public static final String REDIRECT_ACTION = "redirect";
    public boolean handlePostbackData(HttpServletRequest request, HttpServletResponse response) {
    if (isRequestTargeted(request)) {
    if (request.getParameter(GenericURL.STATE_PARAM) == null) {
    String username = request.getParameter("username");
    String password = request.getParameter("password");
    PostbackURL url = PostbackURL.createPostbackURL(request, response);
    if (username != null && password != null) {
    try {
    Authentication.login(username, password, request, response);
    catch (LoginException le) {
    request.setAttribute("loginErrorMessage3", new String("true"));
    return false;
    else if (request.getParameter("logout") != null) {
    Authentication.logout(request);
    url.addParameter(GenericURL.LOADSTATE_PARAM, "false");
    url.addParameter(GenericURL.PAGE_LABEL_PARAM, "login");
    try {
    JspContentContext jspContext = JspContentContext.getJspContentContext(request);
    jspContext.sendRedirect(url.toString());
    catch (Exception ie) {
    ie.printStackTrace();
    return true;
    In fact the problem is at the line that executes redirection ... jspContext.sendRedirect(url.toString());

  • Content Presenter Portlet (CPP) on weblogic portal 10.3 giving error

    Hi,
    We are using WLP 10gR3 & UCM 10gR3 in our environment.
    We've done a new installation on portal following the checklist which is working fine on a working env.
    On portal application CPP giving error
    Content Presenter Portlet giving err-An appropriate display template for this item could'nt be found
    WLP is able to connect to UCM & all required patches for CPP (patch APD4, patch AVW6, patch ZKHC) are also poperly applied.
    On console, error logs show - Error - <May 5, 2011 1:02:49 PM IST> <Warning> <Events> <BEA-401903> <Duplicate EventListener com.bea.content.repo.internal.server.logic.search.ContentExporterListener not added to Handler com.bea.p13n.events.internal.EventHandler on Type {3}.>.
    Not able to understand what is going wrong?
    Same set of libraries are also applied in this env.

    Hi,
    Could someone pls explain which cache is used to cache portlet content and in which form the content is cached?

  • How to design so that contents of portlet can be edited

    for example, I have a jsp portlet which contains "hello world" words, how to design so that after displaying the portlet in the portal, click "edit", we can change "hello worlds" to other words, very in dire need of the solutions, thanks

    First make sure that you have the Content Presenter Framework Facet installed for you project (Properties of Web Project>Project Facets)
    I have a short answer and long answer for you
    Short Answer:
    Add a content presenter portlet to a portal (add login if needed)
    Go to admin console
    Go to portal management
    Create streaming desktop from the portal with the content presenter portlet
    View desktop, login
    Click Edit on your content presenter portlet
    1.Step one create a portal, book, page etc.
    2.Add a content presenter portlet to one of the pages
    3.Add a login portlet so you can log into the website. Which is needed to edit a portlet.
    4.Get the adminstration console by either going to Run>Open Portal Adminstration Console
    or
    localhost:7001/WebProjectName/Admin
    Login should be weblogic/weblogic
    5.After login go to content management tab and create a content type. I would suggest something simple that has a binary property for your html that is also the primary property and string for title.
    6.Create a new example of the content type created in the last step.
    7.Next we go to the portal adminstration tab.
    8.Navigate down your portal list and get to the portal create all the way in the beginning.
    9.At this point you want to create a streaming desktop. Once created choose the view desktop.
    10.Login (remeber you created that in the begining)
    11.Go to the content presenter you added in the begining.
    12. Click the edit button
    Let me know if you need help at this point.
    Additional information
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/displaytemplatesCM.html

  • OWC PS5 - Content Presenter - Search functionality in custom list template

    We have created a custom list template for displaying the contents and use this custom list template in the content presenter task flow.
    We would need to implement Search functionality in the custom template.
    Any pointers on how to achieve this?
    Thanks,
    Navaneeth

    Sorry to see that this post hasn't had a response from the search team for so long.
    1 Search will not find content in portlets (for instance page portlets).
    That is correct. The content of portlets may be different for each user so indexing this content can provide misleading results. However, if you only need to index public content, Oracle Ultrasearch can be used to index all portal content, including that displayed through portlets.
    2 If Search Results Type in a custom search portlet is set to Pages, the search will be made in page display name, page keywords and page description. It will not search for item content.
    Searching for pages checks the following pieces of metadata:
    page name & display name
    keywords
    description
    all custom text attributes associated with the page type
    all custom url attributes associated with the page type
    all custom file attributes associated with the page type
    Items will not be searched but again, its possible to index the entire page using Ultrasearch.
    3 It is not possible to search for items but get found item's page links as results.
    This is incorrect. The custom search portlet allows the administrator to select the attributes that should be displayed from the search portlet's "edit-defaults" screens. From here, its possible to select the "page" attribute to be displayed with the search results. This means that you can search for items and then click on a link to go to the page on which the item resides.
    Various improvements have been made for 9.0.4, including better control over the display of page results.

  • Dynamically Updating Content Server Portlets

    [urlHi, I am currently having difficulty dynamically updating content server portlets.  I have a portlet of the following form:[/url]
    ArticleName Author Title Date mystory author1 title1 04/05/01
    story2 author2 title2 06/07/04
    story author3 title3 01/02/03
    So I have this table where each one of the line items is an article in the content server. So, for example the first line item is an article "mystory" by "author1", with title "title1" and date "04/05/01" additionally there is an article text field, but this isn't displayed unless I click on the article name.
    I can set up the basics of this portlet, but when I try to add any real functionality I run into one of two problems.
    First Problem: Passing Information
    I cannot find a way to pass information between content portlets. For instance, if the user would like to "re-sort" this table based on "date", I would like to have the user click on the "date" column heading and then reload the page. To do so, I would have to pass the section name back to the page so that it could resort based on this data. I have not found anyway to effectively pass information to a content server portlet. I am building these pages through use of the presentation template framework (so I can have access to the content items) but that seems to change the way portlets are handled.
    I got around this limitation with a regular portlet by creating an intermediary page which captures passed information and stores it to the session state. Once the information was in the session state, it is accessible to the portlet on the first page. However, this only works because remote portlets do not change their session id once loaded. Content Server portlets, on the other hand, change their session id after every reload of the browser or page change. I can send information from a content server portlet to an intermediary page, but I cannot send it back to the portlet because the session id has changed so I have no idea of knowing where to send the information. I can write it to a session state, but by the time I return to the portal page, the content server has changed its session id so it does not know where to look any longer.
    I suppose it would be possible to create an application state variable and append it with some static token (if there is some static variable per portal session) but I would rather not have to deal with application variables if at all possible.
    Second Problem: Dynamically Updating PCS Tags
    Even if I were able to the pass information back to my content server portlet, I run into another issue. The easiest way to sort content server items is using the filter command in the pcs:foreach tag. So, if I wanted to sort by author name, I could do something like the following <pcs:foreach var="item" expr="filter(folderByName('content'), filtered.name == '"name")" or something like that (the syntax may be incorrect, I just wrote this off the top of my head). However, it appears that the way the presentation templates are compiled goes in the order of PCS tags THEN JSP. So I would have no way of dynamically changing the variable on which I sort. For example, if I clicked on "Date" above in my table, I would like to be able to dynamically change my code so that I sort on date, and not name. I cannot find a solution to this problem.
    My workaround is to use the pcs tags to write out all the possible sortings to java array objects. This gives me access to the data on a JSP level and based on whatever the user will chose, I could then display that array. While this works, it is extremely ghetto and inefficient. Any help or suggestions would be fantastic.
    Thanks a lot,
    Jason Grauel

    You can use just about any javascript you want in any Content Server presentation template including ones that are used for portlets.
    However, you should be careful to name javascript functions and global variables uniquely so that they do not conflict with any other javascript on the page. To do this, you can append the item id to function and variable names, for example,
    function doSomething<pcs:value expr="pcs_id"></pcs:value>() {
    return true;
    Randy

  • Content Presenter Iterator Binding Definition is invalid

    Hi,
    I am using jdeveloper version 11.1.1.6.0.
    My use case is I drag and dropped the content from content server on the page as a region (taskflow).
    <taskFlow id="doclibcontentpresenter1"
                  taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding"
                  Refresh="ifNeeded">
          <parameters>
            <parameter id="taskFlowInstId"
                       value="${'8e33ee57-9e3b-4fcf-8eeb-faada4c97591'}"/>
            <parameter id="datasourceType" value="${'dsTypeSingleNode'}"/>
            <parameter id="datasource"
                       value="#{AfSplBlkActionBean.documentContentId}"/>
            <parameter id="templateCategory" value="${''}"/>
            <parameter id="templateView" value="${''}"/>
            <parameter id="maxResults" value="${''}"/>
          </parameters>
        </taskFlow>
         where value attribute is dynamic string formation to bring english or chinese content from the content server depending upon the current locale.
    like EN_TEST and ZH_TEST .
    Now there is also some script in my jspx page to show some of the region of the page to show selected divs.
    Randomly after some attempts but not regularly I got following exception what this exception means .What is solution to get rid out of this exception.
            <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Object name oracle_webcenter_doclib_view_jsf_taskflows_presenter_presenterSingleViewPageDef_oracle_webcenter_doclib_view_jsf_taskflows_presenter_contentPresenter_xml_doclib_content_presenter of type Iterator Binding Definition is invalid.
    oracle.jbo.InvalidObjNameException: JBO-25005: Object name oracle_webcenter_doclib_view_jsf_taskflows_presenter_presenterSingleViewPageDef_oracle_webcenter_doclib_view_jsf_taskflows_presenter_contentPresenter_xml_doclib_content_presenter of type Iterator Binding Definition is invalid.
         at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:573)
         at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:504)
         at oracle.adf.model.binding.DCBindingContainerState.validateToken(DCBindingContainerState.java:683)
         at oracle.adf.model.binding.DCBindingContainer.validateToken(DCBindingContainer.java:5048)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:120)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at alfaaesar.portal.pages.filter.AnonymousSessionFilter.doFilter(AnonymousSessionFilter.java:47)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    I had this issue sometime ago and was directly related with the way of do you are navigating between this page and other pages.
    The problem is that the pageDef is not being read OK cause a problem of ADF Security filter in WebCenter Portal Application.
    In my case, i was in a environment SSO enabled (kerberos) and different ways to navigate in the same page (pprnav and goLink).
    Try change your navigation to af:commandLinks with pprnav. With this way you prevent the "random" fails of using goLinkPrettyUrl.
    PD: If you need a official explanation of this issue open a SR in Oracle My Support.
    Regards.

  • How to display all value of metadata from nodes collection model in content presenter template

    Hi All,
    first of all the new look of OTN is great.
    coming to problem i am facing (i dont know whr to ask here or in portal forum).
    i am creating a content presenter template to display list of items.
    now as per requirement i need to create a drop down to filter the list.
    now while check- in a file author would choose a value in one metadata field lets say xCategory(which is a single select list).
    i have to display similar category list on portal to allow user to filter list.
    i could hv used view of xCategory but problem is files are targeted to role using ACL. so u see i cant display all category to all users.
    also customer wants this whole thing to be Dynamic i.e. they can add value of xCategory later that to could be only for specific role (on portal it should be role specific , author can see whole list not a problem there).
    so what i think is if content is given as search result so the category. so now if i can get the all xCategory metedata from 'nodes' collection model in template i can create drop down with out having any additional bean.
    somthing like this
    #{nodes.xCategory} (but this one is not correct).
    please suggest me any solution.
    thanks
    -somesh

    Hi,
    you can do all of what you said with JSF. ADF Faces provides drag and drop functionality (have a look at the Web Developer Guide) that allow you to move nodes within a tree. The drag and drop framework sends an event notification to the server with a reference to the changed node.You can also have context menus on a tree node to help users creating, deleting and editing a tree nodes. JavaScript isn't required at all, even if you wanted to drag and drop a row in a table on top of a tree node to create a new tree node.
    I just finished a book project in which we explained this usecase. As soon as I find the time, I'll follow up with a blog entry on this as it seems to be a common requirement. However, as mentioned, the web developer guide on OTN explains drag and drop in ADF Faces pretty well.
    However, if you choose the "Search" link above, choose JDeveloper and ADF as the product to search for and type drag and drop as the search string, then you get lots of code sample posted in the past to this forum
    Frank

  • Problem adding a Content Presenter in a Panel Customizable

    Hi,
    I've created a Webcenter page template and specified Three panelCustomizable components under a pageCustomizable. In fact, i want to have three consistent customizable columns in my page template. The problem is, when adding a contentPresenter in edit mode to one of these panelCustomizable, it does not work correctly. It doesn't show the content add toolbar. In my log, i've a the following exception :
    java.lang.IllegalStateException: The expression "#{bindings.rbipyXViYPx1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "oc_6020088695region1") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.rbipyXViYPx1}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "com_mhis_portal_MH_Template_HomePagePageDef". Now using an empty RegionModel instead.
    at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
    at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
    at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
    I realized that a content presenter works correctly when it is added to a panelCustomizable that was added in a facet in the page file *(not facet ref in the page template, but the facet in the page*).
    I tried then to add the panelCustomizable to the facet ref in the page template but it seems that jDeveloper doesn't like that !
    Is there any way to have a panelCustomizable component in the page template that enable adding correctly a content presenter in edit mode ?

    I know this document but it explains how to do a ODBC driver with Oracle. I have SQL Server 2005, but I don't know if my problem is with these...
    My problem is that when I go to import my database I can import all my database not one single table...so..the first time that I have to create a repository works fine for me...but when I want to add a new table in my repository I have to import all database again and overwriting all my old tables (whole diagram, names...etc..)
    I would like to see structure of my database when I go to import database...
    Thank you!

  • Content presenter: content source based on a query resulting in error

    Hi all,
    I am using a content presenter taskflow showing content based on a query. After some changes were made to the Webcenter Content instance (extra metadata field, extra profiles) the query is resulting in an error. In my WC_Spaces log I see the following message:
    Caused By: oracle.webcenter.content.integration.RepositoryException: Jun 13, 2012 11:15:11 AM oracle.webcenter.content.integration.spi.ucm.search.SearchService search
    SEVERE: An error occurred when searching repository WebCenterSpaces-UCM. When calling service GET_SEARCH_RESULTS, as user weblogic, at timestamp 6/13/12 11:15 AM, received status code -32. The search was Search[repositoryId=WebCenterSpaces-UCM, max to return=100, useFullTextSearch=true, useCache=true, sort="toProperty('dDocTitle') ASC", fullText="
            Metadata criteria((cm_contentType equals IDC:Profile:qblIntranetArtikel)AND(xqblGroep [any] equals Quobell)AND(xqblIntranetSubGroep [any] equals Opleidingen))
    isOr=false"] and the parameter map was {ResultCount=51, FolderPathInSearchResults=1, SortField=dDocTitle, IdcService=GET_SEARCH_RESULTS, SortOrder=ASC, vcrAppendObjectClassInfo=1, StartRow=1, QueryText=(xqblGroep <matches> `Quobell`) <AND> (xqblIntranetSubGroep <matches> `Opleidingen`), vcrContentType=IDC:Profile:qblIntranetArtikel}.
    The profile qblIntranetArtikel I am using already existed before the change were made and the query worked fine then.
    In WCC I see the following error:
    (internal)/6     06.13 11:15:10.272     IdcServer-551     -1 exception backtrace:java.lang.ArrayIndexOutOfBoundsException: -1(internal)/6     06.13 11:15:10.272     IdcServer-551     at java.util.Vector.get(Vector.java:696)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at intradoc.data.DataResultSet.getStringValue(DataResultSet.java:2183)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at collections.CollectionFilters.doFilter(CollectionFilters.java:95)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:115)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at intradoc.server.Service.executeFilter(Service.java:4095)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at intradoc.server.SearchService.doResponse(SearchService.java:2081)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:802)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at intradoc.server.Service.doRequest(Service.java:1956)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    (internal)/6     06.13 11:15:10.272     IdcServer-551     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    services/3     06.13 11:15:10.274     IdcServer-551     !csUserEventMessage,weblogic,CIS!csSystemCodeExecutionError java.lang.ArrayIndexOutOfBoundsException: -1services/3     06.13 11:15:10.274     IdcServer-551     at java.util.Vector.get(Vector.java:696)
    services/3     06.13 11:15:10.274     IdcServer-551     at intradoc.data.DataResultSet.getStringValue(DataResultSet.java:2183)
    services/3     06.13 11:15:10.274     IdcServer-551     at collections.CollectionFilters.doFilter(CollectionFilters.java:95)
    services/3     06.13 11:15:10.274     IdcServer-551     at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:115)
    services/3     06.13 11:15:10.274     IdcServer-551     at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
    services/3     06.13 11:15:10.274     IdcServer-551     at intradoc.server.Service.executeFilter(Service.java:4095)
    services/3     06.13 11:15:10.274     IdcServer-551     at intradoc.server.SearchService.doResponse(SearchService.java:2081)
    services/3     06.13 11:15:10.274     IdcServer-551     at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:802)
    services/3     06.13 11:15:10.274     IdcServer-551     at intradoc.server.Service.doRequest(Service.java:1956)
    services/3     06.13 11:15:10.274     IdcServer-551     at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437)
    services/3     06.13 11:15:10.274     IdcServer-551     at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    services/3     06.13 11:15:10.274     IdcServer-551     at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    services/3     06.13 11:15:10.274     IdcServer-551     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    services/3     06.13 11:15:10.274     IdcServer-551     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    services/3     06.13 11:15:10.274     IdcServer-551     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    When I select a single item to be shown in the content presenter taskflow, I works fine. It also works fine when showing all documents in a folder.
    Does any body have an idea what might be the problem I am facing and how to fix it?
    thanks in advance,
    Harold

    Hi all,
    I found what caused the error. Someone had set the CollectionID metadata field in WCC to non-searchable. This resulted in an error in the CollectionsFilter.
    Setting the field back to searchable in WCC solved the problem.
    regards,
    Harold

  • Problem with images in content management portlet

    Hi all,
    I'm trying to use the content management portlet provided with Bea WLP 8.1 SP4, but I've a problem with the images (they're not displayed at all, only a lot of red "X"s). Some how it seems to be a problem with the Taglib render. It tries to get the resourceRootPath to post it in front of the src path in the image tag and it always includes the parameter that are in the URL.
    I followed the instructions in the help of workshop, so I think I've imported every needed files. Moreover, the images are in the right folder tree. The wired thing is, that the My Content Portlet works fine.
    Any help for a newbie???
    Cheers,
    Cord

    Hi Cord,
    I was having that same problem, and I couldn't find anything on this website either. I tried creating a new portal project and following the directions exactly again, but it didn't work there either. It works in the sample portal.
    So I contacted BEA Support, and they were able to provide me with a solution:
    The file url-template-config.xml (in the WEB-INF directory) has to be modified and have the {url:currentPage} parameter removed in order to get the images working for the content management portlet. For now, do this only in the section <!-- URL templates -->. Leave the other places like in WSRP etc as it is.
    I actually took it out of the WSRP places too, by accident, but I don't use WSRP anyway, and everything else seems to be working fine. And the images show up!
    Hope this works for you too,
    Beth

  • Passing dynamic content to a Document viewer in a Content Presenter Templat

    Hi, This problem is probably for Yannick. Our customer has a bunch of documents in UCM. They want to be able to put links to these documents in their Navigation Model (Webcenter Spaces App) which bring up the document as content inside a page, i.e. inside a Document Viewer that is the content area of the page. In their last portal, they did this by creating a page for every document because the Document Viewer in Spaces requires an itemId to a specific document.
    We need to create a single page and pass the URL or UCM Content Id to the Document Viewer that is the content area of the page. I tried creating a custom Content Presenter Template with a Document Viewer Task Flow inside. In the Nav Model, I have added a Content Item with the path to the doc in UCM. but it doesn't work. I even went into my CP Template and hard coded the resource Id parameter of the DV Task Flow but nothing comes up.
    If I add a document in Spaces to the page, I add it in a Document Viewer and the "Item Id" is set automatically. Then it works. But I NEED to be able to do this dynamically to avoid tons of separate pages, one per document.
    Please help. Thanks, Gary Kind

    I was able to get it to partially work by using a link item in the navigation model. As URL parameter 'docId', I put the UCM resource ID, e.g. ucm_conn#dDocName:UCM_CLUSTER-000027. In the destination page, I have a Document Viewer Task Flow whose resourceId input parameter I set to #{param.docId}. This works in that the Document Viewer appears nicely and has the correct path/breadcrumbs. I can display the document in a browser from the View menu item. I can download it from the download menu. However the actual file contents do not show up. In the center where they should be, I get an Error-404 file not found. Why is that? It is finding the file in UCM, and I can access it other ways in the DV, but it can't find it in to put it in the Viewer area? That ain't right.
    How do I get this to work correctly?

  • How to link to a file in UCM with content presenter site studio template

    Hi,
    I have Webcenter spaces with content presenter showing Site studio content.
    In this site studio region I have an element for rich text (html)
    Now we want to create a link in this text to an existing document in UCM.
    The question is how achief this?
    There seems no standard functionality for doing this.
    Any suggestion is welcome!
    Thanks,
    Edward

    Hi,
    I have Webcenter spaces with content presenter showing Site studio content.
    In this site studio region I have an element for rich text (html)
    Now we want to create a link in this text to an existing document in UCM.
    The question is how achief this?
    There seems no standard functionality for doing this.
    Any suggestion is welcome!
    Thanks,
    Edward

  • Edit option not enabled for workflow content from within Content Presenter in Webcenter Spaces

    I have a webcenter spaces portal page with a content presenter displaying a html page using the default out of the box template. The html page is located in webcenter content / UCM under a folder on which the " All Reviewer" seeded workflow is enabled. The issue i am seeing is when the file is in workflow the edit option is not being enabled even though the reviewer should be able to edit/approve the content in this step. The other functions like workflow approve or reject and switching between workflow version and published version are all enabled. Also when rejected the content does not show edit option from the content presenter (cntrl-C option) for the original author to make any updates.
    What would need to be done to enable editing from within the content presenter for workflow content?
    Thanks for your help

    Hi Sreedhar
    We are using WCP 11.1.1.8.5
    To recreate the issue
    1)  Login to WCC Portal: Spaces as admin user , create a New Page under a webcenter spaces portal
    2)  Under the space , Pages Section , select the page and click edit
    3) In Design mode , choose Content Management and Add Document Explorer and Add Content Presenter on the page
    4)  The Document Explorer will default to the Current Space/portal directory under MyWebcenterSpaces in UCM
    5) Create a directory "content" under the Portal space using the document explorer.
    6) Right Click on Content folder and choose details. In Details view , go to File->workflow settings and pick a seeded workflow -> MyWCSAllReviewer. Add a user as workflow approver
    7) After workflow is enabled on this folder upload a basic html page with simple text into this folder
    8) Now in the design mode choose edit in the content presenter and select the "single content view" with default template to display an Image or HTML. Click browse and select the html that was added to workflow
    9) Save the Page and view the portal. Workflow should now be enabled for any content changes to that html page.
    10) Click Cntrl-shift-c in portal/space as an authenticated user with edit access to content and make an edit to content , this will trigger worklow . The author currently will see edit option get disabled once content enters workflow
    11)  Login as approver to the portal and cntrl-shift-C to the portal and workflow options(approve and reject) are enabled but the edit option is not. If you reject content , the author should be able to edit content in the content presenter mode, this also is not available. The issue is the content is now no longer available for editing from wthin content presenter if it is in workflow to either the approver or the original author depending on workflow step. If you check the same content under the document explorer the option to edit is enabled. Is this a bug /issue with content Presenter or some option needs enabled?

  • Image gallery in webcenter using content presenter template

    Hi,
    I created a content presenter template for image gallery in webcenter.
    The images from UCM are not displayed without log in to the webcenter application.
    I am getting a error like
    " Error calling UCM server associated with repository UCM.  The service GET_FILE was called with user anonymous at time 3/18/15 11:12 AM, and returned statuscode -1.
    oracle.stellent.ridc.protocol.ServiceException: Unable to download 'HSCSRV154.ALLE006130'. Access denied by records manager "
    Once i log in the images are displayed.
    What is the problem here?please help.
    I am using the latest webcenter extension in jdev 11.1.1.7
    Thanks,
    chandrasekar M

    Hi Vinod,
    I tried using af:image like below and its the same issue.I have read in most of the blogs that since this is in the content presenter template, the image has to be displayed using output text with escape set to false.
    <af:image source="#{node.propertyMap['REGDEF:Image'].asTextHtml}" id="image5"/>
    I am not using <img> anywhere, its just that on the webpage when the image doesnt appear, I tried to see the source of the image using Firebug and it shows following:
    <img src="${wcmUrl('rendition','xyz/web')} " alt = "Logo">
    Edited by: Swathi Patnam on Jul 13, 2012 6:00 PM

Maybe you are looking for

  • PwdLastSet timestamp changing with every "net user /domain" command.

    For an account in active directory every time i run Net User command, it shows current date and time of my system although password was changed long ago. what is wrong with the account..?

  • Elements 3.0.2 jumpy video playback in monitor

    i am using premiere elements 3.0.2 and get really bad jumpy video in the monitor window. this is for very short mpeg4 clips that play beautifully in other media players on my laptop e.g. zune software - so this is NOT a computer hardware issue. i am

  • Cannot execute litetouch.wsf from .hta

    Hi, I am working on a Windows 7 deployment via MDT 2010 Beta2. Until now we have been deploying Windows XP using MDT 2008. We have 'always' used a .hta-menu from which the user of the mdt-media can choose between wiping the disk, starting the install

  • Mail will not open - locked boxes?

    I use a Mac Mini. I downloaded and installed updates at the end of July. It required a re-start. Now Mail won't even open. The error message I get is: Mail cannot access your boxes because they are locked. Your mailboxes might be in use by another co

  • CCP timeout sending Config-Requests

    Hey Guys, I could really use some help on a VPN issue we're having. I've included the logs, for some reason it appears after the connection is established, the MacBook Pro sends a CCP ConfReq, the server sends back the same ConfReq like it should, th