public static class OwAppContext.OwDialogManagerViewReference extends Object implements OwBaseView
View reference for the dynamically changing dialog manager.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
EMPTY_STRING| Constructor and Description |
|---|
OwAppContext.OwDialogManagerViewReference(OwAppContext context_p)
create a dialog manager view reference that delegates the region to the currently active dialogmanger view
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBreadcrumbPart()
This method is used to create a "Breadcrumb"
navigation view.
|
String |
getTitle()
Returns a title for this view or an empty String
|
boolean |
isNamedRegion(String strRegion_p)
determine if region exists
|
boolean |
isRegion(int iRegion_p)
determine if region exists
|
void |
render(Writer w_p)
render the object
|
void |
renderNamedRegion(Writer w_p,
String strRegion_p)
render only a region in the view, used by derived classes
|
void |
renderRegion(Writer w_p,
int iRegion_p)
render only a region in the view, used by derived classes
|
public OwAppContext.OwDialogManagerViewReference(OwAppContext context_p)
public boolean isNamedRegion(String strRegion_p) throws Exception
OwBaseViewisNamedRegion in interface OwBaseViewstrRegion_p - name of the region to renderExceptionpublic boolean isRegion(int iRegion_p)
throws Exception
OwBaseViewisRegion in interface OwBaseViewiRegion_p - ID of the region to renderExceptionpublic void render(Writer w_p) throws Exception
OwBaseViewrender in interface OwBaseVieww_p - Writer object to write HTML toExceptionpublic void renderNamedRegion(Writer w_p, String strRegion_p) throws Exception
OwBaseViewrenderNamedRegion in interface OwBaseVieww_p - Writer object to write HTML tostrRegion_p - named region to renderExceptionpublic void renderRegion(Writer w_p, int iRegion_p) throws Exception
OwBaseViewrenderRegion in interface OwBaseVieww_p - Writer object to write HTML toiRegion_p - ID of the region to renderExceptionpublic String getTitle()
OwBaseViewgetTitle in interface OwBaseViewpublic String getBreadcrumbPart()
OwBaseView
Example: We have a View A which contains a View B which
has a many views contained.
A.getBreadcrumbPart()
{
return this.getTitle() + " - " + B.getBreadcrumbPart();
}
B.getBreadcrumbPart()
{
return this.getName() + " - " + getMainView().getBreadcrumbPart();
}
null at
least the OwBaseView.EMPTY_STRING should be returned.getBreadcrumbPart in interface OwBaseViewCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.