New placeholders are rendering in wrong view parts [message #696164] |
Wed, 13 July 2011 12:08 |
Swap Messages: 30 Registered: March 2011 |
Member |
|
|
I have 3 view parts in my rap application 1)topLeft 2)topCenter 3)topRight
IFolderLayout topLeft = layout.createFolder(FOLDER_ID_TOPLEFT,
IPageLayout.LEFT, 0.33f, IPageLayout.ID_EDITOR_AREA);
topLeft.addView(MCIFExplorerView.ID);
topLeft.addPlaceholder(BrowseComponentView.ID + ":" + BrowseComponentView.ID + "*");
IPlaceholderFolderLayout topCenter = layout.createPlaceholderFolder(FOLDER_ID_TOPCENTER,
IPageLayout.LEFT, 0.9f, IPageLayout.ID_EDITOR_AREA);
topCenter.addPlaceholder(EditorView.ID);
IPlaceholderFolderLayout topRight = layout.createPlaceholderFolder(FOLDER_ID_TOPRIGHT,
IPageLayout.RIGHT, 0.5f, IPageLayout.ID_EDITOR_AREA);
topRight.addPlaceholder(AppModelBrowserView.ID);
When I tried to add placeholder in topLeft & topCenter view
(e.g. BrowseComponentView, EditorView), It is shown in Right view.
What is the cause? What is solution to correct it?
Please reply
|
|
|
(no subject) [message #697378 is a reply to message #696164] |
Sat, 16 July 2011 13:02 |
Wim Jongman Messages: 423 Registered: July 2009 |
Senior Member |
|
|
Hi Swap,
Please try the RAP newsgroup.
Best regards,
Wim
> I have 3 view parts in my rap application 1)topLeft 2)topCenter 3)topRight
>
> IFolderLayout topLeft = layout.createFolder(FOLDER_ID_TOPLEFT,
> IPageLayout.LEFT, 0.33f, IPageLayout.ID_EDITOR_AREA);
> topLeft.addView(MCIFExplorerView.ID);
> topLeft.addPlaceholder(BrowseComponentView.ID + ":" +
BrowseComponentView.ID + "*");
>
>
> IPlaceholderFolderLayout topCenter =
layout.createPlaceholderFolder(FOLDER_ID_TOPCENTER,
> IPageLayout.LEFT, 0.9f, IPageLayout.ID_EDITOR_AREA);
> topCenter.addPlaceholder(EditorView.ID);
>
>
>
> IPlaceholderFolderLayout topRight =
layout.createPlaceholderFolder(FOLDER_ID_TOPRIGHT,
> IPageLayout.RIGHT, 0.5f, IPageLayout.ID_EDITOR_AREA);
> topRight.addPlaceholder(AppModelBrowserView.ID);
>
>
>
> When I tried to add placeholder in topLeft & topCenter view
> (e.g. BrowseComponentView, EditorView), It is shown in Right view.
>
> What is the cause? What is solution to correct it?
> Please reply
|
|
|
Powered by
FUDForum. Page generated in 0.02826 seconds