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
▼
Subscribe
▼
About the Original Author
Thomas 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 ...
Can I create an XPage without FORM tags inside?
Added by
Thomas Gumz
| Edited by
Maire Kehoe
on
February 25, 2010
|
Version 4
Actions
▼
Abstract
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
▼
Attachments (0)
Attachments (0)
Edit the article to add or modify attachments.
Versions (4)
Versions (4)
Version Comparison
Compare version
Current 4
3
2
1
with version
Current 4
3
2
1
Compare selected versions
Version
Date
Changed by
Summary of changes
This version (4)
Feb 25, 2010, 2:56:46 PM
Maire Kehoe
3
Feb 25, 2010, 5:50:35 AM
Maire Kehoe
2
Oct 30, 2009, 12:56:13 PM
Deanna Drschiwiski
1
Oct 27, 2008, 11:16:53 AM
Thomas Gumz
Comments (0)
Comments (0)
Add comment
Copy and paste this wiki markup to link to this article from another article in this wiki.
Link:
Close
Go Elsewhere
Stay Connected
Help
About
IBM Collaboration Solutions wikis
IBM developerWorks
IBM Software support
IBMSocialBizUX on Twitter
IBMSocialBizUX on Facebook
Lotus product forums
IBM Social Business UX blog
The Social Lounge
Wiki Help
Forgot user name/password
About the wiki
About IBM
Privacy
Accessibility
IBM Terms of use
Wiki terms of use