Bug 1038554

Summary: Configurable default view mode in page editor
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: Martin Weiler <mweiler>
Component: PortalAssignee: Lucas Ponce <lponce>
Status: VERIFIED --- QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: bdawidow, epp-bugs, jpallich, theute, tkyjovsk
Target Milestone: DR01   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, the JBoss Portal page editor showed portlets rendered in blocks. A manual change to the preview was needed to show fully rendered portlets in the page editor. New flags available in configuration.properties (gatein.portal.pageEditor.defaultEditMode, gatein.portal.layoutEditor.defaultEditMode) now allow the default view mode to be set. The JBoss Portal page editor can now be configured to define which rendered mode is used for portlets.
Story Points: ---
Clone Of:
: 1072177 (view as bug list) Environment:
Last Closed: Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1072177    

Description Martin Weiler 2013-12-05 10:33:00 UTC
Description of problem:
Previewing of portlets when selecting the “page” or “layout” edit modes:

Currently when the edit mode is selected, for either “page” or “layout” mode the default view is a wire-frame view. To see the rendered view of the portlets the “Switch view Mode” button has to be clicked. This requirement is to make the “preview” version of the view as the default view presented to the user.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Click 'Edit Page'

Actual results:
The default view mode is wire-frame

Expected results:
Default view mode is preview

Additional info:
A configuration option should be made available to change the default view mode in the Page/Layout editor.

Comment 3 Petr Mensik 2014-05-12 09:07:10 UTC
I confirm that this new feature is working, you need to set these properties to either "block" (default) or "preview".

gatein.portal.pageEditor.defaultEditMode=preview
gatein.portal.layoutEditor.defaultEditMode=preview