Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Velocity template is getting embedded inside atlassian UI

Vijay Patil June 26, 2018

I have written a sample servlet and using it to render velocity template for login UI (login.vm). It looks like -

<html>
<head>
<title>Login</title>
<meta name="decorator" content="atl.admin" />
<script>/*javascript code*/</script>
</head>
<body>
/*Login UI*/
</body>
</html>

But login.vm is getting rendered inside Atlassian UI with Atlassian header, footer and navigation bar.

How can I render it as a separate HTML ?

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 26, 2018

Hello,

Remove the meta part. It should be like this:

<html>
<head>
<title>Login</title>
<script>/*javascript code*/</script>
</head>
<body>
/*Login UI*/
</body>
</html>
Vijay Patil June 27, 2018

Thanks. It worked.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events