Paul Calhoun, Nov 1, 2009 2:12:15 PM
I have updated the XSLT transformation stylesheet referenced in this article to version 8.5.1.
Version 8.5.1 has overcome some of the issues I originally addressed in that article but has introduced some new ones.
So to recap;
- The fields are always added in alphabetical order versus the order they appear on the Domino Form design. (Fixed in 8.5.1)
- You have to change the control type to match the one on the Domino form when you drag the fields on the XPage from the data palette or they are all added as Edit Box controls. (This is the same except for date fields)
- Computed fields are not brought across at all. (Fixed in 8.5.1)
- There was no way to create Radio or Checkbox keyword fields dynamically (The Same)
- Keyword field values were not brought across at all (The Same)
So where 8.5.1 has fixed 2 of the original five issues, it introduced another one. In 8.5.1 there is a new control type called a Hidden control. So it would be nice when adding fields to the XPage Design to be able to map the "hidden" fields from the Domino Form to the new "hidden" contol type on an XPage. Unfortunately that option is not one of the available choices from the drop down list.
So I have re-written/updated the Form to XPage transformation style sheet to address these issues.
The updated stylesheet will do everything the previous one did with the following added functionality.
- Computed, Computed When Composed and Computed for Display fields are now added to the XPage as a Computed control with any formula vales added to the JavaScipt code window as comments.
- Any Hidden Fields on the Domino Form Design (Notes or Web) are added to the XPage as Hidden controls
- A default Submit, Cancel and Edit button are added to the end of the XPage

You can download the new stylesheet from my web site here.