Package com.atlassian.bitbucket.ui
Interface PluginFormFragments
public interface PluginFormFragments
Collates a collection of enabled 
ContextualFormFragments plugin modules defined for a particular form.- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidExecute all of theContextualFormFragments defined for this form.getErrorHtml(Map<String, String[]> requestParams, Map<String, Collection<String>> fieldErrors) voidvalidate(Map<String, String[]> requestParams, ValidationErrors errors) Validate allContextualFormFragments defined for this form.
- 
Method Details- 
getViewHtml- Returns:
- rendered HTML of all fields supplied by ContextualFormFragments defined for this form.
- See Also:
 
- 
validateValidate allContextualFormFragments defined for this form.- Parameters:
- requestParams-- ServletRequest.getParameterMap()of the currently executing POST form submission
- errors- the- ValidationErrorsobject to be populated by any registered- ContextualFormFragments
- See Also:
 
- 
getErrorHtml@Nonnull String getErrorHtml(@Nonnull Map<String, String[]> requestParams, @Nonnull Map<String, Collection<String>> fieldErrors) - Parameters:
- requestParams-- ServletRequest.getParameterMap()of the currently executing POST form submission
- fieldErrors- a- Mapof String field names to sets of String error messages.
- Returns:
- rendered HTML of all fields supplied by ContextualFormFragments for this form when a validation error has occurred.
- See Also:
 
- 
executeExecute all of theContextualFormFragments defined for this form.- Parameters:
- requestParams-- ServletRequest.getParameterMap()of the currently executing POST form submission
- See Also:
 
 
-