What's New in Intershop Studio 4.2.2

Product Version

4.2.2

Product To Version

4.2.2

Status

final


1 Introduction

Along with further improvements for the cartridge element validation, Intershop Studio 4.2.2 comes with improved ISML content assist and problem label decorators for all Intershop views.

2 Cartridge Element
Validation

2.1 Cartridge Element Validation Enhanced - Intershop Cartridge Builder

2.1.1 Intershop Cartridge Builder (Validation)

Intershop Cartridge Projects are configured to use a build command com.intershop.enfinity.studio.core.beehiveElementBuilder (have a look into your *.project files).

Such builders usually perform compilation or validation actions.

Now this builder causes a validation of cartridge elements.

2.1.2 Validation Types

An element validation can be performed using several approaches:

  • Manually triggered by the user: Use context menu action Validate Cartridge Action.
  • On build (build command com.intershop.enfinity.studio.core.beehiveElementBuilder).
    This occurs automatically (if Build Automatically is enabled), or this can be performed via project menu: Build All or Build Project.
  • Live: If supported by the editor, the validation happens automatically while the file is edited.
  • Command line: There exists a command line application that invokes the validation. This application reports problems in an xml file.

Use the preference page to set up which problems should be reported using which validation type:

Preference Page: Validation Type:

Please note that there exists an Enable All... as well as a Disable All.. button to conveniently, e.g., disable, e.g., the validation on build.

Preference Page: Validation Type: Disable all Validations on build:

3 ISML Content
Assist

3.1 ISML Content Assist - Type Cast for Object Paths

3.1.1 Object Path Type Casts

Sometimes the content assist of the ISML editor is unable to create meaningful proposals.

A common problem is that the editor cannot really guess the type of an object path, and therefore there is nothing known about possible properties.

But often the ISML developer knows very well which type such an object path represents.

The content assist now provides an entry: Type-cast ...

This can be used to enter the type. Once this is done the content assist should be able to provide properties as proposals.

Content Assist in an Object Path:

Type Cast Dialog:

Once you enter, for example, com.intershop.beehive.core.capi.domain.Domain, the content assist provides several proposals.

Proposals for type Domain:

4 Problem Label
Decorator

4.1 Problem Label Decorator in Intershop Views

4.1.1 Intershop Element Problems Decorator

A label decorator is available to decorate Intershop artifacts that have problem markers with warning/error symbols.

The label decorator can be switched on/off on the Preference page.

  1. From the Intershop Studio toolbar select Window | Preferences.
  2. On the Preferences page navigate to General | Appearance | Label Decoration | Intershop Element Problems Decorator.
    Preferences Dialog:

Errors (red square with white cross) and warnings (yellow triangle with exclamation mark) in the Cartridge Explorer:



Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets