<%@ page import="com.atlassian.jira.action.ActionContextKit" %> <%@ page import="com.atlassian.jira.web.action.JiraWebActionSupport" %> <%@ page import="webwork.action.ActionContext" %> <%@ taglib prefix="ww" uri="webwork" %> <%@ taglib prefix="ui" uri="webwork" %> <%@ taglib prefix="aui" uri="webwork" %> <%@ taglib prefix="page" uri="sitemesh-page" %> Default Layout <% ActionContextKit.setContext(request,response,request.getContextPath()); JiraWebActionSupport fakeAction = new JiraWebActionSupport() { // public Map getSelectOptionsMap() { // return MapBuilder.newBuilder("opt1","Name1").add("opt2","Name2").toMap(); //// } // public List getSelectOptionsList() { // return EasyList.build("ListItem1", "ListItem2", "ListItem3"); // } }; fakeAction.addError("lname", "Error message here"); ActionContext.getValueStack().pushValue(fakeAction); %>

Default Layout

Example content heading

Lorem ipsum

warning my-class This is a warning You have no memory left

To rectify this issue, please allocate more memory.

Submit <%-- This is always html escaped for you inside the template, so please don't escape it yourself to avoid double-escaping issues. --%> <%-- This is always html escaped for you inside the template as well, so please don't escape it yourself to avoid double-escaping issues. This is also set to AUI.form.cancel.link.text if you don't specify it, so please omit it if you want that key to be printed. --%> <%-- You need to url escape this value even if it's "safe" so always use for the value of this parameter as shown below. --%> Default - Edit State Text Entry Default width input. Long width input Medium width input icon-help http://example.com help what's this "and all that" Long width input Long width inputLong width inputLong width inputLong width inputLong width inputLong width inputLong width inputLong width inputLong width inputLong width inputLong width inputLong width inputLong width inputLong width inputLong width inputLong width input group Radio list true
group Checkbox list checkbox checkbox

Snippets

Module Basic

Module Header

Module content

Module Advanced

<%--would need to hook up the toggling of this - app.js--%>
Module content

Toolbar

<%--input styled like a link--%>
<%--or--%>

Split Toolbar

New Form buttons

Standalone class="aui-button"
Cancel

Within buttons-container (provides padding)
Cancel

twixi

Options List (admin)

  • Options list
  • Options list
  • Options list

Table

Heading Heading Heading Operations
Content Content Content
Content Content Content
Content Content Content
<% ActionContextKit.resetContext(); %>