You can move the contents from an existing tab, within
a Management Center properties
view, to a new tab. The Management Center framework
includes properties views to allow a business user to create and update
objects.
Procedure
- Open
WebSphere Commerce Developer and switch to the Enterprise Explorer
view.
- Complete one of the following steps:
- In the Enterprise Explorer view, expand , where Management_Center_component is
the name of the tool you want to customize. All properties view classes
for objects managed by the Management Center are stored in this directory.
All properties view files follow a standard naming convention: Management_Center_objectPropertiesView.lzx.
- In the Enterprise Explorer view, expand , where Management_Center_component is
the name of the tool you want to customize. All properties view definitions
for objects managed by the Management Center are stored in this directory.
All properties view files follow a standard naming convention: Management_Center_objectPropertiesView.def.
- Open the file that you want to change and complete one
of the following steps:
Option | Description |
---|
Locate the class that defines the user interface |
For example, to modify the product properties view, open the
ProductPropertiesView.lzx file and locate: class name="catProductProperties" .
The file also includes the high level instantiation of the tabs and
classes that define the contents of each properties view tab. |
Locate the definition that defines the user interface |
For example, to modify the product properties view, open the
ProductPropertiesView.def file and locate: definitionName="catProductProperties" .
The file also includes the high level definition of the tabs and definitions
that define the contents of each properties view tab. |
- To identify the property you want to work with, first determine
the property view, the property pane, the property group, and then
property itself.
- Determine the location in which you want to place the tab
in relation to other properties view tabs for the object.
Option | Description |
---|
Add a <wcfPropertyTabPane> tag |
Specify the name and text label for the tab in this tag. Include
a comment above this entry for informational purposes. The following
code snippet shows how to add a new tab named Price to
contain pricing information about products. <!-- Tab: Pricing. This tab contains pricing information for a product. -->
<wcfPropertyTabPane name="productPricingTab" text="Pricing">
<!-- Property Pane: Pricing. This is an instantiation of the property pane class which contains product pricing details. -->
<catPricingTab/>
</wcfPropertyTabPane>
|
Add a <PropertyTabPane> tag |
Specify the name and text label for the tab in this tag. Include
a comment above this entry for informational purposes. The following
code snippet shows how to add a new tab named Price to
contain pricing information about products. <!-- Tab: Pricing. This tab contains pricing information for a product. -->
<PropertyTabPane name="productPricingTab" text="Pricing">
<!—
Property Pane: Pricing. This is includes the property pane
definition that contains product pricing details.
-->
<PropertyPane baseDefinitionName="catPricingTab"/>
</PropertyTabPane>
|
- Complete one of the following steps:
- Remove the existing definitions from
the original class. For example, to move pricing information from
an existing tab to the new tab, remove
<catManagePricingInformation/>
from
the <catManageProduct> class within the ProductPropertiesView.lzx
file.
- Remove the existing definitions from
the original definition. For example, to move pricing information
from an existing tab to the new tab, remove
<PropertyGroup
baseDefinitionName="catManagePricingInformation"/>
from the <catManageProduct>
definition within the CatalogPropertyPane.def file.
- Complete one of the following steps:
What to do next
After you complete your customization:
Version |
Steps |
|
- Right-click LOBTools Project;
then click Build OpenLaszlo Project to produce
an updated ManagementCenter.swf file under the workspace_dir\LOBTools\WebContent
directory. This setting is the default environment setting.
- Test your changes by viewing
them in the Management Center, using this URL: https://hostname:8000/lobtools.
- Deploy
your changes to your production environment.
|
|
- Test your changes by viewing them in the Management Center, using
this URL: https://hostname:8000/lobtools.
- Deploy
your changes to your production environment.
|