Package org.jboss.seam.navigation

Examples of org.jboss.seam.navigation.Pages.renderDescription()


      String fineDescription = "fine-description";
      Contexts.getEventContext().set("fineDescription", fineDescription);
     
      assert "coarse-description".equals(pages.getDescription("/action-test01a.xhtml")) :
         "Expecting the wild-card description to be returned as no description was provided for the view-id";
      assert fineDescription.equals(pages.renderDescription("/action-test01b.xhtml")) :
         "Expecting the description for the view-id to be returned";
   }
}
View Full Code Here


            {
               conversation.setDescription( pageEntry.renderDescription() );
            }
            else if(pages.hasDescription(viewId))
            {
               conversation.setDescription( pages.renderDescription(viewId) )
            }
            conversation.setTimeout( pages.getTimeout(viewId) );
            conversation.setConcurrentRequestTimeout( pages.getConcurrentRequestTimeout(viewId) );
         }
      }
View Full Code Here

            {
               conversation.setDescription( pageEntry.renderDescription() );
            }
            else if(pages.hasDescription(viewId))
            {
               conversation.setDescription( pages.renderDescription(viewId) )
            }
            conversation.setTimeout( pages.getTimeout(viewId) );
            conversation.setConcurrentRequestTimeout( pages.getConcurrentRequestTimeout(viewId) );
         }
      }
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.