Tags for cookbook
How to Support "Resizing" for Viewpoint Portlets
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.  
viewpoint pdk cookbook resize v_viewpoint
How to Create Models
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.
viewpoint pdk cookbook
How to Create a Preferences Model
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.
viewpoint pdk cookbook
How to Use Spring Form Tags
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.
viewpoint pdk cookbook
How to Create Unit Tests for Controllers
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.
viewpoint pdk cookbook controller
How to Create a Service
The following article gives you a summary on how to implement the service layer in your portlet.
viewpoint pdk cookbook
How to Cache Data for Better Performance
The following article describes how to implement data caching for better performance in your portlet.
viewpoint pdk cookbook
How to Create Views
The following article describes what you need to know to create a view in your portlet.
viewpoint pdk cookbook
How to Add Role-Based Authorization
The following article describes how to add security and role based access to your portlet.
viewpoint pdk cookbook
How to use Internationalized messages
The following article describes how to internationalize the content within your portlet.
viewpoint pdk cookbook internationalization

Pages