Package org.gatein.pc.api

Examples of org.gatein.pc.api.ActionURL


        if (format != null && format.getWantSecure() != null) {
            url.setQueryParameterValue(Constants.SECURE_PARAMETER, format.getWantSecure().toString());
        }

        if (containerURL instanceof ActionURL) {
            ActionURL actionURL = (ActionURL) containerURL;

            StateString state = actionURL.getInteractionState();
            if (state != null && !state.getStringValue().equals(StateString.JBPNS_PREFIX)) {
                url.setQueryParameterValue(INTERACTION_STATE_PARAM_NAME, state.getStringValue());
            }

            state = actionURL.getNavigationalState();
            if (state != null && !state.getStringValue().equals(StateString.JBPNS_PREFIX)) {
                url.setQueryParameterValue(NAVIGATIONAL_STATE_PARAM_NAME, state.getStringValue());
            }

            WindowState windowState = actionURL.getWindowState();
            if (windowState != null) {
                url.setQueryParameterValue(Constants.WINDOW_STATE_PARAMETER, windowState.toString());
            }

            Mode mode = actionURL.getMode();
            if (mode != null) {
                url.setQueryParameterValue(Constants.PORTLET_MODE_PARAMETER, mode.toString());
            }
        } else if (containerURL instanceof ResourceURL) {
            ResourceURL resourceURL = (ResourceURL) containerURL;
View Full Code Here


         }

         //
         if (containerURL instanceof ActionURL)
         {
            ActionURL actionURL = (ActionURL)containerURL;

            //
            if (actionURL.getNavigationalState() != null)
            {
               parameters.put(ControllerRequestParameterNames.NAVIGATIONAL_STATE, actionURL.getNavigationalState().getStringValue());
            }

            //
            StateString interactionState = actionURL.getInteractionState();
            parameters.put(ControllerRequestParameterNames.INTERACTION_STATE, interactionState.getStringValue());
         }
         else
         {
            RenderURL renderURL = (RenderURL)containerURL;
View Full Code Here

         appendParameter(baseURL, Constants.SECURE_PARAMETER, format.getWantSecure().toString());
      }

      if (containerURL instanceof ActionURL)
      {
         ActionURL actionURL = (ActionURL)containerURL;

         StateString state = actionURL.getInteractionState();
         if (state != null && !state.getStringValue().equals(StateString.JBPNS_PREFIX))
         {
            appendParameter(baseURL, INTERACTION_STATE_PARAM_NAME, state.getStringValue());
         }

         state = actionURL.getNavigationalState();
         if (state != null && !state.getStringValue().equals(StateString.JBPNS_PREFIX))
         {
            appendParameter(baseURL, NAVIGATIONAL_STATE_PARAM_NAME, state.getStringValue());
         }

         WindowState windowState = actionURL.getWindowState();
         if (windowState != null)
         {
            appendParameter(baseURL, Constants.WINDOW_STATE_PARAMETER, windowState.toString());
         }

         Mode mode = actionURL.getMode();
         if (mode != null)
         {
            appendParameter(baseURL, Constants.PORTLET_MODE_PARAMETER, mode.toString());
         }
      }
View Full Code Here

         }

         //
         if (containerURL instanceof ActionURL)
         {
            ActionURL actionURL = (ActionURL)containerURL;

            //
            if (actionURL.getNavigationalState() != null)
            {
               parameters.put(ControllerRequestParameterNames.NAVIGATIONAL_STATE, actionURL.getNavigationalState().getStringValue());
            }

            //
            StateString interactionState = actionURL.getInteractionState();
            parameters.put(ControllerRequestParameterNames.INTERACTION_STATE, interactionState.getStringValue());
         }
         else
         {
            RenderURL renderURL = (RenderURL)containerURL;
View Full Code Here

         }

         //
         if (containerURL instanceof ActionURL)
         {
            ActionURL actionURL = (ActionURL)containerURL;

            //
            if (actionURL.getNavigationalState() != null)
            {
               parameters.put(ControllerRequestParameterNames.NAVIGATIONAL_STATE, actionURL.getNavigationalState().getStringValue());
            }

            //
            StateString interactionState = actionURL.getInteractionState();
            parameters.put(ControllerRequestParameterNames.INTERACTION_STATE, interactionState.getStringValue());
         }
         else
         {
            RenderURL renderURL = (RenderURL)containerURL;
View Full Code Here

         }

         //
         if (containerURL instanceof ActionURL)
         {
            ActionURL actionURL = (ActionURL)containerURL;

            //
            if (actionURL.getNavigationalState() != null)
            {
               parameters.put(ControllerRequestParameterNames.NAVIGATIONAL_STATE, actionURL.getNavigationalState().getStringValue());
            }

            //
            StateString interactionState = actionURL.getInteractionState();
            parameters.put(ControllerRequestParameterNames.INTERACTION_STATE, interactionState.getStringValue());
         }
         else
         {
            RenderURL renderURL = (RenderURL)containerURL;
View Full Code Here

TOP

Related Classes of org.gatein.pc.api.ActionURL

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.