Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Forms wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search
IBM Translated Product Documentation...
 Forms Experience Builder 8 documentation

 Webform Server 8 documentation

 Forms Designer 8 documentation
 Extensible Forms Description Language XFDL 8.0

 Forms API 8 - Dev Guide

 Form Services Platform 8 documentation

 Forms Viewer 8 documentation

 Forms 8 and FileNet integration documentation

 Forms API 4 - Dev Guide
 Forms with Workflow 4
 Forms 4 and Mashup Center integration documentation

Tag Cloud

  • 3.0
  • 3.5
  • 3.5.1
  • 4.0
  • 4.0.0.1
  • 4.0.0.2
  • 8.0
  • accessibility
  • actions
  • API
  • app dev
  • button item
  • buttons
  • C
  • certificates
  • COM
  • compute
  • computes
  • configuring
  • creating
  • defining
  • demonstration
  • demos
  • deployment
  • deployment scenario
  • design
  • design tips
  • Designer
  • designing
  • dev guide
  • develop
  • developing
  • differences between Webform Server and Viewer
  • education
  • Enablement
  • enterprise
  • error messages
  • events
  • field
  • field item
  • FileNet
  • filtering
  • form
  • formatting
  • forms
  • forms experience builder
  • Forms Services Platform
  • FSP
  • functions
  • getting_started
  • Help
  • IBM Forms
  • images
  • installing
  • integrating
  • integrating, 4.0.0.1
  • items
  • JAVA
  • JavaScript API
  • language
  • languages
  • layout
  • lf_intro
  • math functions
  • methods
  • new_user
  • options
  • P8
  • performance
  • pipelines
  • pipes
  • printing
  • programming
  • Properties
  • samples
  • services
  • signature item
  • signatures
  • spec
  • string functions
  • strings
  • StrJava
  • submissions
  • table
  • tables
  • text
  • training
  • translation
  • Turbo
  • turbo_media
  • tutorials
  • utility functions
  • video
  • Viewer
  • viewer package
  • Webform Server
  • WebformServer
  • XFDL
  • XForms
  • XPath
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Product Documentation > IBM Forms Server 4 - Forms View Portlet (FVP) Documentation
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
(Current editable edition)
Original noneditable edition
Current editable edition
(Original noneditable edition)

IBM Forms Server 4 - Forms View Portlet (FVP) Documentation 

expanded Abstract
collapsed Abstract
No abstract provided.
ShowTable of Contents
HideTable of Contents
  • 1 Overview
  • 2 Audience
  • 3 Supported Environments
  • 4 Limitations and Known Issues
  • 5 Installation
  • 6 General Configuration
    • 6.1 Form URL
    • 6.2 Webform Server URL
  • 7 Dynamic Page Support
  • 8 Submission Handling
    • 8.1 Resolving the Submission URL
    • 8.2 Valid Submission Server Responses
    • 8.3 Post Submission Behavior
  • 9 Best Practices
  • 10 Single Sign-On (SSO)
  • 11 Events
    • 11.1 Static Portlet Events
    • 11.2 Dynamic Form Events
      • 11.2.1 On Change Events (outgoing)
      • 11.2.2 Set Value Events (incoming)
    • 11.3 External Event Payload Converters
    • 11.4 Form Event Data Type Conversions

Overview



    The Forms View Portlet (FVP) integrates IBM Forms into a WebSphere Portal page. The FVP provides the following functionality:
    • Renders an IBM Form using IBM Forms Server - Webform Server and supports all standard IBM Form functionality
    • Provides rich configuration via portlet edit modes. No programming is required.
    • Supports Portal's JSR-286 eventing functionality:
      • includes dynamic events based on form contents so that live form data can move between the FVP and other portlets
      • includes predefined standard form life-cycle events (open, close, submit, etc.)
    • Supports Portal's Dynamic Page capabilities

Audience

    This documentation is intended for WebSphere Portal administrators or those familiar with portlet configuration, portal page set-up, events, and wiring. This document also assumes some prior knowledge of IBM Forms, including the usage of XForms instance data and XPath.

Supported Environments

    Portal 6.1.5 - with APAR PM23541
    Portal 7 - with APAR PM23540 and APAR PM25659

    A clustered Portal environment is supported.

    The FVP must be used in conjunction with the identical version of Webform Server.

Limitations and Known Issues

  • Portal themes using client-side aggregation (CSA) are not supported by the FVP. This includes the "PortalWeb2" theme in Portal 6.1.5 and the "Page Builder" and "Portal" themes in Portal 7 with CSA mode enabled.
  • The FVP does not support the rendering of forms using the IBM Forms Viewer. XFDL forms are always rendered in HTML using Webform Server.
  • To have multiple FVP's with different event definitions you must clone the FVP.
  • Erroneous behaviour may result if multiple portlets on the same Portal page try to fire events at the same time. Avoid having multiple FVP's on the same page that each define events with the 'Fire this event on open' option selected.
  • Due to a limitation in the encoding algorithm in Portal's "security.css.protection" setting, the FVP cannot determine if &lt; and &gt; are encoded versions of < and > or if the user actually entered the strings &lt; or &gt; into a form field. For more information, search for "security.css.protection" in the Portal documentation.
  • Form events will only work with forms that contain XForms instance data.
  • The FVP is a closed source asset and is not intended to be extended.
  • The FVP is capable of displaying forms circulated by Lotus Forms Turbo however anonymous access to Turbo forms is not permitted. Therefore you must enable Single Sign-On (SSO) authentication between the Portal server and the Turbo server.

Installation

    The FVP is distributed with the IBM Forms Server installer. Select "Forms Applications Components" when running the installer. After installation, the FVP can be found at [IBM Forms Server install dir]/WebformServer/FormsViewPortlet/IBMForms_FormsViewPortlet-[version].war

    The FVP has no special installation requirements or instructions. Refer to the WebSphere Portal documentation for normal portlet installation.

    Note: The FVP does not require the deployment of the IBM Forms Server API to the WebSphere Portal server as is required for other IBM Forms offerings.


General Configuration

    The FVP provides a rich set of configuration GUIs in both the "Edit Shared Settings" and "Configure" portlet modes. Some settings for the FVP are only available in the "Configure" mode. Refer to the Portal documentation for more information on the difference between these two modes:
      Portal 6.1.5 - http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/topic/com.ibm.wp.ent.doc_v615/dev/adprflyrpltmd.html
      Portal 7 - http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Preference_layers_and_portlet_modes_wp7

    Form URL

      An absolute URL to a XFDL form. Only the 'http' and 'https' protocols are supported. The form URL must be accessible from the Portal server.

    Webform Server URL

      An absolute URL to the Webform Server translator. For example, http://webformhost:8085/translator . The Webform Server URL must be accessible from the Portal server.


Dynamic Page Support

    The FVP can be placed on a dynamic Portal page. If the FVP is on a dynamic page then you can pass it a form URL to open using the property broker API. The name of the property to use can be configured as an additional setting of the FVP's 'Open' event (see below).

    Refer to the Portal documentation for full details on creating dynamic user interfaces.

Submission Handling

    Resolving the Submission URL

      The following table summarizes how a form's final submission URL is resolved:
      Form URL Base Submission URL Additional Submission URL Final Submission URL
      http://loadServer/loadBase/loadServlet http://submitServer/submitBase/submitServlet http://formServer/formBase/formServlet http://formServer/formBase/formServlet
      http://loadServer/loadBase/loadServlet http://submitServer/submitBase/submitServlet (none) http://submitServer/submitBase/submitServlet
      http://loadServer/loadBase/loadServlet (none) (none) http://loadServer/loadBase/loadServlet
      http://loadServer/loadBase/loadServlet (none) saveServlet http://loadServer/loadBase/saveServlet
      http://loadServer/loadBase/loadServlet http://submitServer/submitBase/submitServlet ?paramX=y http://submitServer/submitBase/submitServlet?paramX=y
      http://loadServer/loadBase/loadServlet http://submitServer/submitBase/submitServlet ../otherBase/otherServlet http://submitServer/otherBase/otherServlet
      http://loadServer/loadBase/loadServlet http://submitServer/submitBase/submitServlet?paramZ=a ?paramX=y http://submitServer/submitBase/submitServlet?paramX=y
      http://loadServer/loadBase/loadServlet (none) ../otherBase/otherServlet http://loadServer/otherBase/otherServlet

      Base Submission URL- as specified in Submit event settings
      Additional Submission URL - as specified in the form or in the payload of a Submit event

      Only the 'http' and 'https' protocols are supported for submissions. The final submission URL must be accessible from the Portal server.

    Valid Submission Server Responses

      Success (HTTP response code 200):
      • Supported response content
        • no response body - The FVP displays its own "success" message.
        • text/html, text/xml, and text/plain - FVP retrieves and caches the response content and displays it in an iFrame. The response content should be "UTF-8" encoded. If the response is a HTML page, then relative URLs must be avoided or a base tag should be specified in the returned HTML.
        • application/vnd.xfdl - The returned XFDL content is sent to Webform Server and displayed in the FVP as HTML.
      • Location response header - If the response content is not XFDL, then an optional Location response header can also be specified. It is expected that the value of this header is the URL that should be used to retrieve the submitted form. This URL is used in combination with the "Do not clear the form after it is submitted" option in the 'OnSubmit' event configuration settings. This URL, if specified, is also sent as the payload of the 'OnSubmit' event.
      Redirect (HTTP response codes 301, 302, 303, or 307):
      • FVP displays the URL given by the 'Location' response header directly in an iFrame.

      Error (Any other HTTP response code):
      • The FVP displays its own "error" message.

    Post Submission Behavior

      The 'OnSubmit' event has the following three post-submission options:
        1. Clear the form after it is submitted - A fresh copy of the form is displayed after submission.
        2. Do not clear the form after it is submitted - After submission, the FVP will display the submitted form, instead of a fresh copy. This option must be used in combination with a 'Location' response header from the submission server so that the FVP knows where to retrieve the submitted form from. See "Valid Submission Server Responses" above.
        3. Close the dynamic page - If the FVP is displayed on a dynamically generated Portal page, then selecting this option will close the dynamic page after submitting the form.

Best Practices

    Due to Portal's server-side eventing system, the firing of events will cause the browser page to refresh. Therefore, it is advisable to reduce the number of 'on change' form events to the minimal set required for your scenario.

    It is considered a best practice in the Portal environment to hide the 'Open' and 'Save' buttons in the form's toolbar. For more information refer to http://www-10.lotus.com/ldd/lfwiki.nsf/dx/portals-disable-unnecessary-toolbar-buttons

Single Sign-On (SSO)

    The FVP will pass along LTPA tokens so that single sign-on (SSO) authentication can be used between the Portal server and a remote server hosting forms, handling form submissions, or providing event data conversion functionality.

Events


    Static Portlet Events

      The FVP sends and receives some basic form life-cycle events. These events are independent of the particular form being rendered and therefore are referred to as 'static' events. The intention of these events is to make it possible for the FVP to part of a greater solution require the communication between multiple portlets. Portlet events can only be configured in the FVP's "Configure" mode.

      Event Name Direction Payload Description Additional Settings
      Open incoming a form URL Displays the given form in the FVP Context Property Variable Name: See "Dynamic Page Support" above.
      Submit incoming a submission URL Submits the current form to the given URL Submission URL: can be used in addition to the URL specified in the event payload. Refer below to the table in "Resolving the Submission URL".
      OnOpen outgoing a form URL Fired when a new form is opened by the FVP Fire this event on open: The OnOpen event is disabled by default. It can be enabled with this setting
      OnSubmit outgoing URL of submitted form Fired when a form is submitted See "Post Submission Behaviour" below
      OnClose outgoing a submission URL Fired when the FVP stops rendering a form none

    Dynamic Form Events

      The FVP provides the ability to publish portlet events and process portlet events that pertain to the data used by a specific form. The intention of these 'form events' is to make it possible for data from other portlets to be pushed into a rendered form, or alternatively, for the rendered form to send its data to other portlets. Form events can only be defined and configured in the FVP's "Configure" mode.

      You can create form events manually or they can be automatically generated. When the Form URL is changed the FVP will ask if you want events to be automatically generated. Events are automatically generated by looking at any form data that has been marked as 'Public' using the IBM Forms Designer. Refer to the IBM Forms Designer documentation for more information.

      At configuration time, outgoing (publishing) and incoming (processing) details are defined under a single form event. For example, a single form event defined with a name of Surname will result in the Wires portlet displaying publish:{http://FormPortlet/}on-Surname-change as an option for a wire's sending endpoint and process:{http://FormPortlet/}set-Surname-value as an option for a wire's receiving endpoint. We denote the events that correspond to these endpoints as a form "on change event" and a form "set value event" respectively.

      A form event has a trigger and a payload. Each of these is specified by an XPath 1.0 expression which relates to the XForms data instances contained within a form. Refer to XPath 1.0 specification at http://www.w3.org/TR/xpath . XPath statements should be kept fairly simple. Not all XPath functions are supported.

      The FVP publishes and processes three main data types: String, JSON, and XML. For full details see "Form Event Data Type Conversions" below.

      On Change Events (outgoing)

        A form event's trigger XPath is used to determine when an 'on change' event should be published. A change in any data referred to by the trigger XPath will cause an 'on change' event to fire. The payload of the 'on change' event is determined by the payload XPath.

        The 'Fire this event on open' option can be used if you want the FVP to fire an 'on change' event when the form is first displayed. The event will fire regardless of whether or not the data referred to by the trigger XPath changes when the form is first displayed.

        See "Form Event Data Type Conversions" below for full details on how the payload of an 'on change' event is generated.

      Set Value Events (incoming)

        A form event's payload XPath is used to determine which specific XML element in a XForms instance is target for the payload of the incoming 'set value' event .

        Four types of actions are available for 'set value' events:
          1. replace - Replaces the specified element with the incoming payload
          2. insert - Adds the data as a sibling of the specified element. This sibling is placed before the specified element. You cannot insert before the root element of the instance.
          3. append - Adds the data to the end of the specified data instance or element as a child element
          4. delete - Delete the specified data element. You cannot delete the entire instance.

        See "Form Event Data Type Conversions" below for full details on how the payload of a 'set value' event is handled.

    External Event Payload Converters

      Any external application can be used to convert event payload by specifying a 'Converter URL' in an event's configuration settings. Only the 'http' and 'https' protocols are supported. The converter URL must be accessible from the Portal server.

    Form Event Data Type Conversions


      All valid data conversions are listed in the attached "FVP Form Event Data Conversions.pdf".
     Note: Any conversions that are not semantically equivalent to those listed in "FVP Form Event Data Conversions.pdf are not valid.

      The attachment refers to this sample XForms instance:
       
      <xforms:instance id="inst1" xmlns="">
      <data>
      <name>
      <first>Bob</first>
      <last>Dylan</last>
      </name>
      <phone type="mobile">555-5555</phone>
      <albums>10</albums>
      <touring>true</touring>
      </data> 
      </xforms:instance> 



      FVP Form Event Data Conversions.pdf

expanded Article information
collapsed Article information
Category:
Product Documentation, Forms View Portlet, Forms and WebSphere Portal,
Tags:
4.0, forms, Forms View Portlet, Form View Portlet, FVP, IBM Forms, Lotus Forms, portal, portlet

This Version: Version 131 April 7, 2011 12:02:52 AM by Chris Dawes  IBMer

expanded Attachments (1)
collapsed Attachments (1)

 


File TypeSizeFile NameCreated On
application/pdf 104 KB FVP Form Event Data Conversions.pdf 11/25/10 3:46 PM
expanded Versions (102)
collapsed Versions (102)
Version Comparison     
Version Date Changed by               Summary of changes
This version (131) Apr 7, 2011 12:02:52 AM Chris Dawes  
130 Feb 10, 2011 12:42:43 PM Rob Lintern  
129 Feb 9, 2011 1:17:42 PM Rob Lintern   make naming consistent as "Forms View Portlet" rather than "Form View ...
128 Feb 7, 2011 2:31:07 PM Rob Lintern   removed < and >
127 Feb 7, 2011 2:28:56 PM Rob Lintern   fixed &lt; and &gt;
126 Feb 7, 2011 2:24:32 PM Rob Lintern   some minor formatiing issues
125 Dec 10, 2010 7:44:24 PM Deanna Drschiwiski  
124 Dec 10, 2010 7:42:11 PM Deanna Drschiwiski  
122 Dec 10, 2010 4:44:15 PM Rob Lintern  
122 Dec 10, 2010 4:44:15 PM Rob Lintern  
121 Dec 10, 2010 4:38:19 PM Rob Lintern  
120 Dec 10, 2010 3:24:57 PM Rob Lintern  
118 Dec 10, 2010 3:24:48 PM Rob Lintern  
117 Dec 10, 2010 3:24:40 PM Rob Lintern  
116 Dec 10, 2010 3:20:51 PM Rob Lintern  
115 Dec 10, 2010 3:18:43 PM Rob Lintern  
114 Dec 10, 2010 3:17:38 PM Rob Lintern  
113 Dec 10, 2010 3:16:29 PM Rob Lintern  
112 Dec 10, 2010 3:11:09 PM Rob Lintern  
111 Dec 10, 2010 2:49:59 PM Rob Lintern  
110 Dec 10, 2010 1:53:56 PM Rob Lintern  
109 Dec 10, 2010 1:05:43 PM Rob Lintern  
108 Dec 10, 2010 1:01:06 PM Rob Lintern  
107 Dec 6, 2010 9:45:45 PM Rob Lintern  
106 Dec 6, 2010 9:44:49 PM Rob Lintern  
105 Dec 6, 2010 9:34:43 PM Rob Lintern  
104 Dec 6, 2010 9:34:32 PM Rob Lintern  
103 Dec 6, 2010 9:33:25 PM Rob Lintern  
102 Dec 6, 2010 9:32:05 PM Rob Lintern  
101 Dec 6, 2010 9:27:38 PM Rob Lintern  
100 Dec 6, 2010 9:25:02 PM Rob Lintern  
99 Dec 6, 2010 9:19:55 PM Rob Lintern  
98 Dec 6, 2010 9:18:55 PM Rob Lintern  
97 Dec 6, 2010 9:12:10 PM Rob Lintern  
96 Dec 6, 2010 9:11:49 PM Rob Lintern  
95 Dec 6, 2010 9:11:02 PM Rob Lintern  
94 Dec 6, 2010 9:09:44 PM Rob Lintern  
93 Dec 6, 2010 8:51:54 PM Rob Lintern  
92 Dec 6, 2010 8:48:35 PM Rob Lintern  
91 Dec 6, 2010 8:44:49 PM Rob Lintern  
90 Dec 6, 2010 1:13:52 PM Rob Lintern  
89 Dec 3, 2010 2:19:29 AM Rob Lintern  
88 Dec 3, 2010 2:01:17 AM Rob Lintern  
87 Dec 3, 2010 1:59:40 AM Rob Lintern  
86 Dec 2, 2010 9:19:22 PM Rob Lintern  
85 Dec 2, 2010 9:17:41 PM Rob Lintern  
84 Dec 2, 2010 8:42:31 PM Rob Lintern  
83 Dec 2, 2010 6:02:59 PM Rob Lintern  
82 Dec 2, 2010 6:01:51 PM Rob Lintern  
81 Dec 2, 2010 6:01:19 PM Rob Lintern  
80 Dec 2, 2010 5:58:18 PM Rob Lintern  
79 Dec 2, 2010 5:56:10 PM Rob Lintern  
78 Dec 2, 2010 5:55:58 PM Rob Lintern  
77 Dec 2, 2010 5:55:09 PM Rob Lintern  
76 Dec 2, 2010 4:56:19 PM Rob Lintern  
75 Dec 2, 2010 1:46:40 AM Rob Lintern  
74 Dec 2, 2010 1:36:35 AM Rob Lintern  
73 Dec 2, 2010 1:04:37 AM Rob Lintern  
72 Dec 2, 2010 12:46:31 AM Rob Lintern  
71 Dec 1, 2010 7:05:53 PM Rob Lintern  
70 Dec 1, 2010 6:45:44 PM Rob Lintern  
69 Dec 1, 2010 6:34:31 PM Rob Lintern  
68 Nov 30, 2010 7:41:22 PM Rob Lintern  
67 Nov 30, 2010 7:39:01 PM Rob Lintern  
66 Nov 30, 2010 7:36:12 PM Rob Lintern  
65 Nov 30, 2010 7:25:27 PM Rob Lintern  
64 Nov 30, 2010 6:59:53 PM Rob Lintern  
63 Nov 30, 2010 6:07:03 PM Rob Lintern  
62 Nov 30, 2010 5:53:06 PM Rob Lintern  
61 Nov 30, 2010 5:52:12 PM Rob Lintern  
60 Nov 30, 2010 5:19:11 PM Rob Lintern  
59 Nov 30, 2010 5:18:06 PM Rob Lintern  
58 Nov 30, 2010 5:17:04 PM Rob Lintern  
57 Nov 30, 2010 5:15:18 PM Rob Lintern  
56 Nov 30, 2010 5:12:23 PM Rob Lintern  
55 Nov 30, 2010 4:55:40 PM Rob Lintern  
54 Nov 30, 2010 4:54:24 PM Rob Lintern  
53 Nov 30, 2010 4:47:20 PM Rob Lintern  
52 Nov 30, 2010 4:46:14 PM Rob Lintern  
51 Nov 30, 2010 4:42:57 PM Rob Lintern  
50 Nov 30, 2010 4:40:05 PM Rob Lintern  
49 Nov 30, 2010 4:22:20 PM Rob Lintern  
48 Nov 30, 2010 4:14:52 PM Rob Lintern  
47 Nov 30, 2010 4:07:44 PM Rob Lintern  
46 Nov 30, 2010 4:06:24 PM Rob Lintern  
45 Nov 30, 2010 4:05:47 PM Rob Lintern  
44 Nov 30, 2010 4:05:16 PM Rob Lintern  
43 Nov 30, 2010 4:03:34 PM Rob Lintern  
42 Nov 30, 2010 4:03:27 PM Rob Lintern  
41 Nov 30, 2010 3:59:17 PM Rob Lintern  
40 Nov 30, 2010 3:56:55 PM Rob Lintern  
39 Nov 30, 2010 3:38:33 PM Rob Lintern  
38 Nov 29, 2010 10:47:03 PM Rob Lintern  
37 Nov 29, 2010 10:46:09 PM Rob Lintern  
36 Nov 29, 2010 10:44:57 PM Rob Lintern  
35 Nov 29, 2010 10:44:38 PM Rob Lintern  
34 Nov 29, 2010 10:43:46 PM Rob Lintern  
33 Nov 29, 2010 10:42:14 PM Rob Lintern  
32 Nov 29, 2010 10:38:40 PM Rob Lintern  
31 Nov 29, 2010 10:33:03 PM Rob Lintern  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use