0 Replies Latest reply: Dec 8, 2011 6:11 AM by 586325 RSS

    edit_defaults mode in JSR-268 portlet on Oracle Portal 11g

      Hi all!
      I developed JSR-268 portlet using the wizard of JDeveloper (
      The portlet supports the following modes:
      - view (view.jsp)
      - edit (edit.jsp)
      - edit_defaults (edit_defaults.jsp)

      After deploy a portlet I can't get into the "edit_defaults" mode.
      On portal page portlet title content only link to edit mode (Personalized link)
      How to switch to "edit_defaults" mode?

      My portlet.xml:
      <portlet-app version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <portlet id="1319621203343">

      I tried a programmatic switch to "edit_defaults" mode.
      In view.jsp I created a button. When click on button in method processAction() set "edit_defaults" mode:

      private static final PortletMode EDIT_DEFAULTS = new PortletMode ("edit_defaults");

      public void processAction (ActionRequest request, ActionResponse response) throws PortletException, IOException {
      // Determine which action.
      if (request.getParameter (SET_EDIT_DEFAULTS_ACTION)! = null) {
      response.setPortletMode (EDIT_DEFAULTS);

      It also did not help.
      I use the portal version: (Build: 176) and WebLogic Version:

      Please help.