0 - 22 of 22 tags for cookbook

Teradata Viewpoint 14.01 introduces a wider, more flexible layout, which better utilizes space on wide screen monitors, and gives the user more flexibility in controlling how much information is being displayed.

 

A model is a java class that contains data. A model doesn't have to implement any specific interface or extend any specific class. However, we recommend that you extend the BaseModel class.

In your application, you want to create a java class that will hold all of your preferences. This java class can be any POJO object. This class will be the command object (or backing class) for your form. You should design this class so that it is easy to access the preferences from the preference form.

Created for Spring MVC framework, Spring form tags allow you to bind data to the backing object used by your portlet's controller object. This is especially useful for implementing preferences in a portlet, but they can be used anywhere a form is required. These are the same kind of tags discussed in the JSP and Tags page.

Writing quality unit tests for portlet controllers is important in the development process because doing so results in sound code. Unit testing quickly reveals flaws and regressions in code that has been written, allowing code to be more easily maintained.

The following article gives you a summary on how to implement the service layer in your portlet.

The following article describes how to implement data caching for better performance in your portlet.

The following article describes what you need to know to create a view in your portlet.

The following article describes how to add security and role based access to your portlet.

The following article describes how to internationalize the content within your portlet.

This article describes how to include online help with your portlet and how to create a sample help topic.

Teradata Viewpoint uses a highly configurable logging mechanism to output log messages. By default, it has been configured to output log messages to the server console. You can use the logging mechanism described below to format and print log messages from your portlet.

Rewind is a new feature in Teradata Viewpoint 13.0 that enables the user to move back in time to see what the portal looked like in the past. This is especially useful for investigating problems because the user can view the state of the system before, during, and after the problem occurred.

Namespacing a portlet view is very important because it prevents the unintended interaction of multiple portlets on the same page. This can easily happen if multiple HTML elements on the page have the same ID name or JavaScript variables have the same name due to closures.

Viewpoint recommends using the tool-tipping feature built into all supported browsers as the preferred way to show supporting or explanatory text. This is straightforward and easy to use, and does not add the performance overhead of the custom tooltip described below. The TDTTM implementation described below is deprecated as of Viewpoint 14.01

This section describes how to add unified client-server validation to JSP pages using the Teradata Viewpoint Client Validation Framework (CVF).

A JSP tag is a tag that you can embed in your JSP page just like regular HTML tags (e.g., the <table> tag). However, your JSP tag is not sent to the browser. Instead, it is evaluated by the JSP engine on the server side. The output of your tag is inserted into the page at the location where the tag was embedded.

This is a particularly difficult task to implement in a portlet, so let's start by understanding the challenges. First, what is a refreshed, parameterized page? A parameterized page is a page that can display dynamic information and needs parameters to determine the content that will be displayed.

 Here is the process for implementing a class that renders and processes a page that contains a form:

 Here is the process for implementing a class that renders a page:

You have two options for creating controller classes. You can extend the classes provided by SpringMVC or you can extend classes provided by Teradata Viewpoint. Both types of classes are configured the same way in your application configuration files.

The following series of articles describe how to create models, controllers, and views within a portlet.  They also describe how to use built in Viewpoint facilities such as Rewind, Validation, etc..