Skip to main content link. Accesskey S
  • Help
  • IBM Logo
  • IBM Notes and Domino Application Development wiki
  • All Wikis
  • All Forums
  • THIS WIKI IS READ-ONLY. Learn more...
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
  • API Documentation
Search
Learning Center > Getting Started > Can I create an XPage without FORM tags inside?
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Click to view profileThomas Gumz
Contribution Summary:
  • Articles authored: 18
  • Articles edited: 21
  • Comments Posted: 1

Recent articles by this author

How can I open documents in a traditional Form rather than an XPage from a viewpanel?

Question:

I have an XPage viewpanel which shows documents from a view. A column is configured to show values as links. However, the links by default open the document in another XPage. How can I change the default link generated for each entry in the view panel to open the document ...

How does "At runtime, open selected document using" work in XPages view panels?

Question:

How does the "At runtime, open selected document using" option work in XPages views?

Answer:

This option may be ambiguous on first reading, but it's probably best explained using the following use case: You have a view panel which uses a Notes View as a data source ...

Are global variables in server-side JavaScript libraries shared across sessions in XPages?

Question:

Are global variables in server-side JavaScript libraries shared across the board regardless of the user/session ?

Answer:

Yes, global variables defined in server-side JavaScript libraries are initially indeed globally shared across sessions. However, they are not ...

How can I use native html tags inside XPages?

Question:

How can I use native html tags inside XPages?

Answer:

There are 3 different ways to manually use html tags in XPages:

#1: You can use the Computed Field control to emit the required HTML in its value property.

Make sure to set the Content type to HTML (so ...

How can I use pattern matching to validate input on fields in XPages?

Question:

Is there an easy way to do pattern matching validation on fields such as an edit box?

Answer:

To enable pattern matching on an edit box: Go to the All Properties tab Click into the validators property Click the add button that appears and choose ...
Learning Center articleCan I create an XPage without FORM tags inside?
Added by Thomas Gumz | Edited by IBM contributorMaire Kehoe on February 25, 2010 | Version 4
  • Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: 8.5, createForm, forms, html, XPages

Question:


By default, every XPage contains a tag in the rendered HTML markup.
How can I create an XPage without default form tags inside?
Also, can I manually create my own form tags in an XPage?

Answer:


When creating an XPage, Domino Designer automatically insert a form into the XPage.
This is because a JSF page needs a form tag to be able to POST requests to the server.
You can override the automatic creation of the form by setting the property createForm to false (as shown below)
To manually insert a form, use the xp:form tag in the source editor of the XPage.
  • If createForm is empty/not specified (the default), a default form will be created if none had been created manually.
  • If createForm is set to FALSE, no automatic form will be created.
  • If createForm is set to TRUE it will force the creation of the form, even though another one might already exist.
    This can be useful in a custom control, where the HTML of the custom control is moved outside the main form.
    (For example, this is what Dojo is doing for inner dialogs (the div is moved as a child of the body, thus out of the form generated by the page)




  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (4)
collapsed Versions (4)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (4)Feb 25, 2010, 2:56:46 PMMaire Kehoe  IBM contributor
3Feb 25, 2010, 5:50:35 AMMaire Kehoe  IBM contributor
2Oct 30, 2009, 12:56:13 PMDeanna Drschiwiski  IBM contributor
1Oct 27, 2008, 11:16:53 AMThomas Gumz  IBM contributor
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 ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkThe Social Lounge
  • Wiki Help
  • Forgot user name/password
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use