What's New For XPages in 8.5.1
Saturday, October 17, 2009 at 9:03AM A special thanks to Bruce Elgort for allowing me to mix company with some of the XPage gurus at The XPages Blog.
So I am half way through Xpages 1st grade and I suddenly I find the course material is being changed. Now there is a whole bunch of new stuff to learn thanks the 8.5.1. Here is a list of the stuff I have found so far:-
Note: Detailed information is still scarce so I have added links to material that explains these new features in more detail. If there are features I have missed or you have a link to additional documentation about these features please post a comment and I will update this post for those that follow.
General Improvements
- Performance - A nice summary of one such area improved is provided by Matt White
- Documentation - No, not really! The OneUI theme now has excellent documentation
thanks to Steve Castledine. - Improved access to resources
- Data Palette lists fields in same order as in the Form design.
- Data Source can now be assigned when an XPage is first created.
- Action added to Sign selected XPages and Custom Controls.
- The version of Dojo implemented in 8.5.1 has now changed from 1.1.1 to 1.3.2.
Notes Client Support
- XPages can now be displayed in the Notes client using am embedded Web browser (Mozilla-based) that should ensure the same user experience as a Web client.
- A new offline mode is available that combines the Notes client support for XPages with replication to allow an Xpage application to be used while a computer is offline.
- XPages can now be added as components to a Composite Application. Events can be defined for an XPage allowing them to interact with other components.
- Support for themes have been expanded to allow separate themes to be defined for the Notes client and the Web client.
- ?OpenXPage has been added as a supported parameters for the notes:// protocol to launch an XPage in the Notes client.
New Controls
- AJAX Type ahead - An input control that automatically completes as user enters values.
- Block-level content - Allows other controls to display below it.
- Checkbox group - Displays multiple checkboxes
- Event Handler - Allows JavaScript to run on both the server and client
- Hidden Input - Allows fields to be rendered but not visible
- Line Break - Inserts a break in text
- Output Script - Outputs Scripts
- Pager child control - Placed inside the common pager
- Paragraph - Container for text in a paragraph format
- Span content - Allows other controls to display beside it
- Radio button group - Displays multiple radio buttons
Enhanced Controls
- Repeater - Improvements to the HTML generated
- View - A new attribute has been added to a Form to designate an Xpage to display documents. It is then possible to nominate this Form attribute as the XPage to be used when opening documents from an XPage View control.
New Control Properties
- align - For tables, specifies the alignment of data
- contentType - Allows content to be text or HTML
- dataCache - Indicates how data is cached between requests for the same page.
- disableModifiedFlag - Specifies whether to prompt the user to save changes.
- dojoAttributes - Specifies a list of dojo attributes.
- execId - Specifies the ID of code fragment to be executed.
- execMode - Used to specify full or partial refresh when code fragment is executed.
- htmlFilter - Defines the Active Content Filtering (ACF) to use to guard against malicious code being entered into an XPage control.
- htmlFilterIn - Indicates which ACF process should be used when data is uploaded.
- mimetype - Forces the MIME type of the file being uploaded
- partialExecute - Executes only the relevant controls via a partial refresh
- readOnly - Can now be specified as an attribute of a Panel, Included Page
- rendererType - Identifies an appropriate renderer to encode/decode the control
- viewState - Defines how the state of the view is maintained
New Events
- onComplete - Executed after a request
- onError - Executed when an error occurs
- onStart - Executed before a request
The above events are well explained in a previous article by Jeremy Hodge
Custom Controls
- Custom Controls can now have comments
- An icon can now be nominated to represent the control in the control palette
- A new Design Definition section has been added to Custom Controls allowing a developer to control the visual reprsentation of the control inside DDE (e.g. When it is added to an XPage).
- An expanded set of property types can be nominated for Custom Properties.
851 in
Development 