Portlet Factory, Version 6.1.2


 

Pre-Defined Java Expressions

The Java node of the Choose Reference dialog also offers you some pre-defined expressions you can use. To insert an expression you merely select one from the chooser. The following expressions are available:

  • HttpServletRequest calls webAppAccess.getHttpServletRequest()

  • HttpServletResponse calls webAppAccess.getHttpServletResponse()

  • HTMLRoot calls com.bowstreet.BSConfig.getHtmlRootDir()

  • Request calls webAppAccess.getRequestData()

  • ServerURL calls webAppAccess.getRequestData().getServerURL()

  • ServletURL calls webAppAccess.getRequestData().getServletURL()

  • StaticContentURL calls webAppAccess.getURLMapper().getStaticContentURL("","http")

  • WEB-INF calls com.bowstreet.BSConfig.getHomedir()

Once you select an expression from the Choose Reference dialog it is placed in the builder input field. At this point you can edit the expression if you need to add arguments or otherwise modify it.

Parent topic: About using the Choose Reference dialog


Library | Support |