Package org.jboss.seam.ui.util

Examples of org.jboss.seam.ui.util.ViewUrlBuilder.addParameter()


      for (Object child : getChildren())
      {
         if (child instanceof UIParameter)
         {
            usedParameters.add(((UIParameter) child).getName());
            url.addParameter((UIParameter) child);
         }
      }

      if (viewId != null)
      {
View Full Code Here


         for (Map.Entry<String, Object> me : pageParameters.entrySet())
         {
            UIParameter uip = new UIParameter();
            uip.setName(me.getKey());
            uip.setValue(me.getValue());
            url.addParameter(uip);
         }
      }
     
      if (getActionExpression() != null)
      {
View Full Code Here

      if (getActionExpression() != null)
      {

         UIAction uiAction = new UIAction();
         uiAction.setAction(getActionExpression().getExpressionString());
         url.addParameter(uiAction);
      }

      if ("default".equals(getPropagation()) || "join".equals(getPropagation())
               || "nest".equals(getPropagation()) || "end".equals(getPropagation()))
      {
View Full Code Here

      if ("default".equals(getPropagation()) || "join".equals(getPropagation())
               || "nest".equals(getPropagation()) || "end".equals(getPropagation()))
      {
         UIConversationId uiConversationId = UIConversationId.newInstance();
         uiConversationId.setViewId(viewId);
         url.addParameter(uiConversationId);
      }

      if ("join".equals(getPropagation()) || "nest".equals(getPropagation())
               || "begin".equals(getPropagation()) || "end".equals(getPropagation()))
      {
View Full Code Here

               || "begin".equals(getPropagation()) || "end".equals(getPropagation()))
      {
         UIConversationPropagation uiPropagation = UIConversationPropagation.newInstance();
         uiPropagation.setType(getPropagation());
         uiPropagation.setPageflow(getPageflow());
         url.addParameter(uiPropagation);
      }
     
      if (getConversationName() != null)
      {
         UIConversationName name = UIConversationName.newInstance();
View Full Code Here

     
      if (getConversationName() != null)
      {
         UIConversationName name = UIConversationName.newInstance();
         name.setValue(getConversationName());
         url.addParameter(name);
      }

      ValueExpression taskInstanceValueExpression = getValueExpression("taskInstance");
      if (taskInstanceValueExpression != null)
      {
View Full Code Here

      ValueExpression taskInstanceValueExpression = getValueExpression("taskInstance");
      if (taskInstanceValueExpression != null)
      {
         UITaskId uiTaskId = UITaskId.newInstance();
         uiTaskId.setValueExpression("taskInstance", taskInstanceValueExpression);
         url.addParameter(uiTaskId);
      }

      UISelection uiSelection = getSelection();
      if (uiSelection != null)
      {
View Full Code Here

      }

      UISelection uiSelection = getSelection();
      if (uiSelection != null)
      {
         url.addParameter(uiSelection);
      }
      encodedUrl = url.getEncodedUrl();

      return encodedUrl;
   }
View Full Code Here

      for (Object child : getChildren())
      {
         if (child instanceof UIParameter)
         {
            usedParameters.add(((UIParameter) child).getName());
            url.addParameter((UIParameter) child);
         }
      }

      if (viewId != null && isIncludePageParams())
      {
View Full Code Here

         for (Map.Entry<String, Object> me : pageParameters.entrySet())
         {
            UIParameter uip = new UIParameter();
            uip.setName(me.getKey());
            uip.setValue(me.getValue());
            url.addParameter(uip);
         }
      }
     
      if (getActionExpression() != null)
      {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.