This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Use a different extension for template files_1_2
Skip to end of metadata
Go to start of metadata

To accomplish this you need to override the WebPage.getMarkupType() method in your page class.

For instance, the default:

public String getMarkupType()
{
	return "html";
}

can be overridden to be something like:

public String getMarkupType()
{
	return "xhtml";
}

See the source code for the Alternative Markup (XML) example for a more complete demonstration of this concept.

  • No labels