findAttribute(String beanName, PageContext pageContext) Find object in one of the contexts.
Order : component then pageContext.findAttribute()
Parameters: beanName - Name of the bean to find. Parameters: pageContext - Page context.
getAttribute(String beanName, int scope, PageContext pageContext) Get object from requested context.
Context can be 'component'.
Parameters: beanName - Name of the bean to find. Parameters: scope - Search scope (see PageContext). Parameters: pageContext - Page context.
Add all attributes to this context.
Copies all of the mappings from the specified attribute map to this context.
New attribute mappings will replace any mappings that this context had for any of the keys
currently in the specified attribute map.
Parameters: newAttributes - Attributes to add.
addMissing
public void addMissing(Map defaultAttributes)(Code)
Add all missing attributes to this context.
Copies all of the mappings from the specified attributes map to this context.
New attribute mappings will be added only if they don't already exist in
this context.
Parameters: defaultAttributes - Attributes to add.
Find object in one of the contexts.
Order : component then pageContext.findAttribute()
Parameters: beanName - Name of the bean to find. Parameters: pageContext - Page context. Requested bean or null if not found.
Get object from requested context.
Context can be 'component'.
Parameters: beanName - Name of the bean to find. Parameters: scope - Search scope (see PageContext). Parameters: pageContext - Page context. requested bean or null if not found.
Get component context from request.
Parameters: request - ServletRequest. ComponentContext or null if context is not found or anjspException is present in the request.