Tabnine Logo
ProcessorModelHelper.setPageProps
Code IndexAdd Tabnine to your IDE (free)

How to use
setPageProps
method
in
org.springframework.extensions.webscripts.ProcessorModelHelper

Best Java code snippets using org.springframework.extensions.webscripts.ProcessorModelHelper.setPageProps (Showing top 2 results out of 315)

origin: org.alfresco.surf/spring-surf

setPageProps(context, model);
setTemplateProps(context, model);       
origin: org.springframework.extensions.surf/spring-surf

setPageProps(context, model);
setTemplateProps(context, model);       
org.springframework.extensions.webscriptsProcessorModelHelpersetPageProps

Javadoc

This method updates the model to include the properties for the current page. If a page has not been set in the context then the template set in the context is used.

As well as setting some default page information (such as id, description, etc) any configured custom properties are also added. There are defined in the page XML configuration file using the < properties> element where each child element is the property key and the value is the property value, e.g:

< properties>
  < firstPropertyKey>value1< /firstPropertyKey>
  < secondPropertyKey>value2< /secondPropertyKey>
< /properties>

Popular methods of ProcessorModelHelper

  • buildSessionModel
    Build a FreeMarker HttpSessionHashModel for the given request, detecting whether a session already e
  • populateModel
    Populates the common model for all processors
  • populateScriptModel
    Populate the model for script processor.
  • populateSurfBugData
    This method should be used to populate the model with data that will be displayed when SurfBug is en
  • populateTemplateModel
    Populate the model for template processor.
  • setTemplateProps
    This method updates the model to set any custom properties defined for the TemplateInstance. These

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • startActivity (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Notification (javax.management)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now