You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bridges-dev@portals.apache.org by "Alexey Zavizionov (JIRA)" <br...@portals.apache.org> on 2007/04/04 17:33:32 UTC

[jira] Created: (PB-60) Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet

Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet
------------------------------------------------------------------------------------------------------------

                 Key: PB-60
                 URL: https://issues.apache.org/jira/browse/PB-60
             Project: Portals Bridges
          Issue Type: Bug
         Environment: tomcat 5.5.17, exo-portlet-container
            Reporter: Alexey Zavizionov


When I trigger help mode it will not appear, instead that seen view mode.
        if (defaultActionPage == null)
            defaultActionPage = defaultViewPage;

Need to change StrutsPortlet.processAction with:

    public void processAction(ActionRequest request, ActionResponse response)
            throws PortletException, IOException
    {
      String actionpage = null;
      if (request.getPortletMode().equals(PortletMode.VIEW))
        actionpage = defaultViewPage;
      if (request.getPortletMode().equals(PortletMode.EDIT))
        actionpage = defaultEditPage;
      if (request.getPortletMode().equals(PortletMode.HELP))
        actionpage = defaultHelpPage;
      if (actionpage == null)
        actionpage = defaultActionPage;
      System.out.println(">>> EXOMAN StrutsPortlet.processAction actionpage = " + actionpage);
      processRequest(request, response, actionpage,
                StrutsPortlet.ACTION_REQUEST);
    }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org


[jira] Updated: (PB-60) Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet

Posted by "Alexey Zavizionov (JIRA)" <br...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/PB-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Zavizionov updated PB-60:
--------------------------------

    Summary: Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet  (was: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet)

> Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PB-60
>                 URL: https://issues.apache.org/jira/browse/PB-60
>             Project: Portals Bridges
>          Issue Type: Bug
>         Environment: tomcat 5.5.17, exo-portlet-container
>            Reporter: Alexey Zavizionov
>
> When I trigger help mode it will not appear, instead that seen view mode.
>         if (defaultActionPage == null)
>             defaultActionPage = defaultViewPage;
> Need to change StrutsPortlet.processAction with:
>     public void processAction(ActionRequest request, ActionResponse response)
>             throws PortletException, IOException
>     {
>       String actionpage = null;
>       if (request.getPortletMode().equals(PortletMode.VIEW))
>         actionpage = defaultViewPage;
>       if (request.getPortletMode().equals(PortletMode.EDIT))
>         actionpage = defaultEditPage;
>       if (request.getPortletMode().equals(PortletMode.HELP))
>         actionpage = defaultHelpPage;
>       if (actionpage == null)
>         actionpage = defaultActionPage;
>       System.out.println(">>> EXOMAN StrutsPortlet.processAction actionpage = " + actionpage);
>       processRequest(request, response, actionpage,
>                 StrutsPortlet.ACTION_REQUEST);
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org


[jira] Updated: (PB-60) Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage doesn't describe for portlet

Posted by "Alexey Zavizionov (JIRA)" <br...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/PB-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Zavizionov updated PB-60:
--------------------------------

    Affects Version/s: 1.0.2-dev
              Summary: Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage doesn't describe for portlet  (was: Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet)

> Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage doesn't describe for portlet
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PB-60
>                 URL: https://issues.apache.org/jira/browse/PB-60
>             Project: Portals Bridges
>          Issue Type: Bug
>          Components: struts
>    Affects Versions: 1.0.2-dev
>         Environment: tomcat 5.5.17, exo-portlet-container
>            Reporter: Alexey Zavizionov
>            Priority: Critical
>
> When I trigger help or edit mode it will not appear, instead that I seen view mode.
>         if (defaultActionPage == null)
>             defaultActionPage = defaultViewPage;
> Need to change StrutsPortlet.processAction with:
>     public void processAction(ActionRequest request, ActionResponse response)
>             throws PortletException, IOException
>     {
>       String actionpage = null;
>       if (request.getPortletMode().equals(PortletMode.VIEW))
>         actionpage = defaultViewPage;
>       if (request.getPortletMode().equals(PortletMode.EDIT))
>         actionpage = defaultEditPage;
>       if (request.getPortletMode().equals(PortletMode.HELP))
>         actionpage = defaultHelpPage;
>       if (actionpage == null)
>         actionpage = defaultActionPage;
>       processRequest(request, response, actionpage,
>                 StrutsPortlet.ACTION_REQUEST);
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org


[jira] Updated: (PB-60) Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet

Posted by "Alexey Zavizionov (JIRA)" <br...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/PB-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Zavizionov updated PB-60:
--------------------------------

       Priority: Critical  (was: Major)
    Description: 
When I trigger help mode it will not appear, instead that seen view mode.
        if (defaultActionPage == null)
            defaultActionPage = defaultViewPage;

Need to change StrutsPortlet.processAction with:

    public void processAction(ActionRequest request, ActionResponse response)
            throws PortletException, IOException
    {
      String actionpage = null;
      if (request.getPortletMode().equals(PortletMode.VIEW))
        actionpage = defaultViewPage;
      if (request.getPortletMode().equals(PortletMode.EDIT))
        actionpage = defaultEditPage;
      if (request.getPortletMode().equals(PortletMode.HELP))
        actionpage = defaultHelpPage;
      if (actionpage == null)
        actionpage = defaultActionPage;
      processRequest(request, response, actionpage,
                StrutsPortlet.ACTION_REQUEST);
    }

  was:
When I trigger help mode it will not appear, instead that seen view mode.
        if (defaultActionPage == null)
            defaultActionPage = defaultViewPage;

Need to change StrutsPortlet.processAction with:

    public void processAction(ActionRequest request, ActionResponse response)
            throws PortletException, IOException
    {
      String actionpage = null;
      if (request.getPortletMode().equals(PortletMode.VIEW))
        actionpage = defaultViewPage;
      if (request.getPortletMode().equals(PortletMode.EDIT))
        actionpage = defaultEditPage;
      if (request.getPortletMode().equals(PortletMode.HELP))
        actionpage = defaultHelpPage;
      if (actionpage == null)
        actionpage = defaultActionPage;
      System.out.println(">>> EXOMAN StrutsPortlet.processAction actionpage = " + actionpage);
      processRequest(request, response, actionpage,
                StrutsPortlet.ACTION_REQUEST);
    }


> Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PB-60
>                 URL: https://issues.apache.org/jira/browse/PB-60
>             Project: Portals Bridges
>          Issue Type: Bug
>         Environment: tomcat 5.5.17, exo-portlet-container
>            Reporter: Alexey Zavizionov
>            Priority: Critical
>
> When I trigger help mode it will not appear, instead that seen view mode.
>         if (defaultActionPage == null)
>             defaultActionPage = defaultViewPage;
> Need to change StrutsPortlet.processAction with:
>     public void processAction(ActionRequest request, ActionResponse response)
>             throws PortletException, IOException
>     {
>       String actionpage = null;
>       if (request.getPortletMode().equals(PortletMode.VIEW))
>         actionpage = defaultViewPage;
>       if (request.getPortletMode().equals(PortletMode.EDIT))
>         actionpage = defaultEditPage;
>       if (request.getPortletMode().equals(PortletMode.HELP))
>         actionpage = defaultHelpPage;
>       if (actionpage == null)
>         actionpage = defaultActionPage;
>       processRequest(request, response, actionpage,
>                 StrutsPortlet.ACTION_REQUEST);
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org


[jira] Updated: (PB-60) Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet

Posted by "Alexey Zavizionov (JIRA)" <br...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/PB-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Zavizionov updated PB-60:
--------------------------------

    Component/s: struts

> Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PB-60
>                 URL: https://issues.apache.org/jira/browse/PB-60
>             Project: Portals Bridges
>          Issue Type: Bug
>          Components: struts
>         Environment: tomcat 5.5.17, exo-portlet-container
>            Reporter: Alexey Zavizionov
>            Priority: Critical
>
> When I trigger help or edit mode it will not appear, instead that I seen view mode.
>         if (defaultActionPage == null)
>             defaultActionPage = defaultViewPage;
> Need to change StrutsPortlet.processAction with:
>     public void processAction(ActionRequest request, ActionResponse response)
>             throws PortletException, IOException
>     {
>       String actionpage = null;
>       if (request.getPortletMode().equals(PortletMode.VIEW))
>         actionpage = defaultViewPage;
>       if (request.getPortletMode().equals(PortletMode.EDIT))
>         actionpage = defaultEditPage;
>       if (request.getPortletMode().equals(PortletMode.HELP))
>         actionpage = defaultHelpPage;
>       if (actionpage == null)
>         actionpage = defaultActionPage;
>       processRequest(request, response, actionpage,
>                 StrutsPortlet.ACTION_REQUEST);
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org


[jira] Resolved: (PB-60) Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage doesn't describe for portlet

Posted by "Ate Douma (JIRA)" <br...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/PB-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma resolved PB-60.
-------------------------

    Resolution: Won't Fix

How can you have not an action (Struts) url?
An action url should be invoked from a render page, so you should always (be able to) have an Struts target url then.
Actually, I think the defaultActionPage init parameter is even questionable itself...

If you can provide a valid use-case for these I will reconsider, but right now I don't see the point to change this. 

> Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage doesn't describe for portlet
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PB-60
>                 URL: https://issues.apache.org/jira/browse/PB-60
>             Project: Portals Bridges
>          Issue Type: Bug
>          Components: struts
>    Affects Versions: 1.0.2
>         Environment: tomcat 5.5.17, exo-portlet-container
>            Reporter: Alexey Zavizionov
>            Priority: Critical
>
> When I trigger help or edit mode it will not appear, instead that I seen view mode.
>         if (defaultActionPage == null)
>             defaultActionPage = defaultViewPage;
> Need to change StrutsPortlet.processAction with:
>     public void processAction(ActionRequest request, ActionResponse response)
>             throws PortletException, IOException
>     {
>       String actionpage = null;
>       if (request.getPortletMode().equals(PortletMode.VIEW))
>         actionpage = defaultViewPage;
>       if (request.getPortletMode().equals(PortletMode.EDIT))
>         actionpage = defaultEditPage;
>       if (request.getPortletMode().equals(PortletMode.HELP))
>         actionpage = defaultHelpPage;
>       if (actionpage == null)
>         actionpage = defaultActionPage;
>       processRequest(request, response, actionpage,
>                 StrutsPortlet.ACTION_REQUEST);
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org


[jira] Updated: (PB-60) Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet

Posted by "Alexey Zavizionov (JIRA)" <br...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/PB-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Zavizionov updated PB-60:
--------------------------------

    Description: 
When I trigger help or edit mode it will not appear, instead that I seen view mode.
        if (defaultActionPage == null)
            defaultActionPage = defaultViewPage;

Need to change StrutsPortlet.processAction with:

    public void processAction(ActionRequest request, ActionResponse response)
            throws PortletException, IOException
    {
      String actionpage = null;
      if (request.getPortletMode().equals(PortletMode.VIEW))
        actionpage = defaultViewPage;
      if (request.getPortletMode().equals(PortletMode.EDIT))
        actionpage = defaultEditPage;
      if (request.getPortletMode().equals(PortletMode.HELP))
        actionpage = defaultHelpPage;
      if (actionpage == null)
        actionpage = defaultActionPage;
      processRequest(request, response, actionpage,
                StrutsPortlet.ACTION_REQUEST);
    }

  was:
When I trigger help mode it will not appear, instead that seen view mode.
        if (defaultActionPage == null)
            defaultActionPage = defaultViewPage;

Need to change StrutsPortlet.processAction with:

    public void processAction(ActionRequest request, ActionResponse response)
            throws PortletException, IOException
    {
      String actionpage = null;
      if (request.getPortletMode().equals(PortletMode.VIEW))
        actionpage = defaultViewPage;
      if (request.getPortletMode().equals(PortletMode.EDIT))
        actionpage = defaultEditPage;
      if (request.getPortletMode().equals(PortletMode.HELP))
        actionpage = defaultHelpPage;
      if (actionpage == null)
        actionpage = defaultActionPage;
      processRequest(request, response, actionpage,
                StrutsPortlet.ACTION_REQUEST);
    }


> Struts bridge: Will not invoke differ than view mode of portlet in action phase, when ActionPage don't describe for portlet
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PB-60
>                 URL: https://issues.apache.org/jira/browse/PB-60
>             Project: Portals Bridges
>          Issue Type: Bug
>         Environment: tomcat 5.5.17, exo-portlet-container
>            Reporter: Alexey Zavizionov
>            Priority: Critical
>
> When I trigger help or edit mode it will not appear, instead that I seen view mode.
>         if (defaultActionPage == null)
>             defaultActionPage = defaultViewPage;
> Need to change StrutsPortlet.processAction with:
>     public void processAction(ActionRequest request, ActionResponse response)
>             throws PortletException, IOException
>     {
>       String actionpage = null;
>       if (request.getPortletMode().equals(PortletMode.VIEW))
>         actionpage = defaultViewPage;
>       if (request.getPortletMode().equals(PortletMode.EDIT))
>         actionpage = defaultEditPage;
>       if (request.getPortletMode().equals(PortletMode.HELP))
>         actionpage = defaultHelpPage;
>       if (actionpage == null)
>         actionpage = defaultActionPage;
>       processRequest(request, response, actionpage,
>                 StrutsPortlet.ACTION_REQUEST);
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org