1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <appspec xmlns="http://www.chip.org/isg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.chip.org/isg clickframes.xsd" defaultPage="login"> <title>Issue Tracker</title> <description> The Issue Tracker allows a team to record their progress on collaborative tasks. </description> <outcome> <title>Default Error Outcome</title> <description> Should an unexpected operational error occur during any transition, this outcome will define the destination (i.e. error) page. </description> <pageRef>error</pageRef> </outcome> <linkSet id="global" global="true"> <title>Global Navigation</title> <link> <title>Home</title> <pageRef>login</pageRef> </link> <link> <title>Contact Us</title> <pageRef>contact</pageRef> </link> <link> <title>Privacy Policy</title> <pageRef>privacy</pageRef> </link> </linkSet> <linkSet id="authenticated"> <title>Authenticated Navigation</title> <link> <title>View Issues</title> <pageRef>viewIssues</pageRef> </link> <link> <title>Add New Issue</title> <pageRef>newIssue</pageRef> </link> <link> <title>Change Password</title> <pageRef>changePassword</pageRef> </link> </linkSet> <page id="login"> <title>Home</title> <description> This page introduces the user to Issue Tracker and shows a login form. </description> <fact> Authentication will be handled by a back-end service defined by the client. </fact> <fact> Three consecutive login failures within a 30 minute period will lock the user's account for one hour. </fact> <form id="loginForm"> <input type="text"> <title>Username</title> <validation type="required" description="Please enter your username." /> </input> <input type="password"> <title>Password</title> <validation type="required" description="Please enter your password." /> </input> <action> <title>Login</title> <outcome> <title>Login successful</title> <pageRef>viewIssues</pageRef> <fact> Seam Authentication automatically displays welcome message </fact> </outcome> <outcome negative="true"> <title>Login failed</title> <pageRef>login</pageRef> <message> Sorry, your username or password are not correct. </message> </outcome> </action> </form> <link> <title>Create Account</title> <pageRef>createAccount</pageRef> </link> </page> <page id="createAccount"> <title>Create An Account</title> <description> This page shows the user an account creation form. Login not required. </description> <form id="createAccountForm"> <input type="text"> <title>Username</title> <validation type="required" description="Please enter a username." /> </input> <input type="password"> <title>Password</title> <validation type="required" description="Please enter a password." /> <validation type="length(min=6)" description="Password must be at least 6 characters." /> </input> <input type="password"> <title>Repeat Password</title> <description>User must enter password twice so it can be validated for accuracy.</description> <validation type="required" description="Please repeat your password." /> </input> <action> <title>Create account</title> <outcome> <title>Account created</title> <description> User's account has been successfully created. </description> <pageRef>login</pageRef> <emailRef>newAccountMessage</emailRef> <message> Your account has been created. Please log in. </message> </outcome> </action> </form> </page> <page id="changePassword" login-required="true"> <title>Change Password</title> <description> This page lets the user change his password. Login required. </description> <fact> The user may not change their password to any of their ten previous passwords. </fact> <form id="changePasswordForm"> <input type="password"> <title>Current Password</title> <validation type="required" description="Please enter your current password." /> </input> <input type="password"> <title>New Password</title> <validation type="required" description="Please enter a new password." /> <validation type="length(min=6)" description="New password must be at least 6 characters." /> </input> <input type="password"> <title>Repeat New Password</title> <validation type="required" description="Please repeat your new password." /> <validation type="length(min=6)" description="New password must be at least 6 characters." /> </input> <action> <title>Change Password</title> <outcome> <title>Password changed successfully</title> <pageRef>viewIssues</pageRef> <message> Your password has been changed. </message> </outcome> <outcome negative="true"> <title>Current password is incorrect</title> <pageRef>changePassword</pageRef> <message> Sorry, the current password you entered is incorrect. </message> </outcome> <outcome negative="true"> <title>New passwords do not match</title> <pageRef>changePassword</pageRef> <message> Sorry, new passwords do not match. </message> </outcome> </action> </form> <linkSetRef id="authenticated" /> </page> <page id="viewIssues" login-required="true"> <title>View Issues</title> <description> This page shows the user all of his team's issues. </description> <link> <title>View Issue</title> <pageRef>viewIssue</pageRef> </link> <linkSetRef id="authenticated" /> </page> <page id="newIssue" login-required="true"> <title>Add New Issue</title> <description> This page provides a form for submitting a new issue. </description> <form id="newIssueForm"> <input type="text"> <title>Issue Title</title> <validation type="required" description="Please enter an issue title." /> </input> <input type="textarea"> <title>Description</title> <validation type="required" description="Please enter a description for your issue." /> </input> <action> <title>Save New Issue</title> <outcome> <title>Issue Saved</title> <pageRef>viewIssue</pageRef> <message> Issue saved successfully. </message> </outcome> </action> </form> <link> <title>Cancel</title> <pageRef>viewIssues</pageRef> </link> <linkSetRef id="authenticated" /> </page> <page id="viewIssue" login-required="true"> <title>View Issue</title> <description> This page displays the details of an issue. </description> <param type="text"> <title>Issue ID</title> <description> Unique identifier of issue to be viewed. </description> </param> <action> <title>Resolve Issue</title> <outcome> <title>Issue Resolved</title> <pageRef>viewIssues</pageRef> <message> Issue resolved! </message> </outcome> </action> <link> <title>Edit Issue</title> <pageRef>editIssue</pageRef> </link> <linkSetRef id="authenticated" /> </page> <page id="editIssue" login-required="true"> <title>Edit Issue</title> <description> This page allows the user to modify an existing issue. </description> <param type="text"> <title>Issue ID</title> <description> Unique identifier of issue to be modified. </description> </param> <form id="editIssueForm"> <input type="text"> <title>Issue Title</title> <validation type="required" description="Please enter an issue title." /> </input> <input type="textarea"> <title>Description</title> <validation type="required" description="Please enter a description for your issue." /> </input> <input type="text"> <title>Priority</title> <validation type="required" description="Please enter a priority." /> </input> <input type="text"> <title>Owner</title> <validation type="required" description="Please enter an owner." /> </input> <action> <title>Update Issue</title> <outcome> <title>Issue Saved</title> <pageRef>viewIssue</pageRef> <message> Issue saved successfully. </message> </outcome> </action> </form> <link> <title>Cancel</title> <pageRef>viewIssue</pageRef> </link> <linkSetRef id="authenticated" /> </page> <page id="contact"> <title>Contact Issue Tracker</title> <description> This page displays our corporate contact information, including address, phone number, and key e-mail addresses. </description> </page> <page id="privacy"> <title>Privacy Policy</title> <description> This page displays the corporate privacy policy. </description> <link> <title>Contact Legal Department</title> <href>mailto:legal@issuetracker.com</href> </link> </page> <page id="error"> <title>Operational Error</title> <description> Should an unexpected operational error occur during any transition, this page will appear with instructions on available support resources. </description> </page> <security> <loginPage> <pageRef>login</pageRef> <formRef>loginForm</formRef> <username>username</username> <password>password</password> <action>login</action> <successfulOutcome>loginSuccessful</successfulOutcome> <failedOutcome>loginFailed</failedOutcome> </loginPage> </security> <email id="newAccountMessage"> <title>New Account Message</title> <description> This e-mail is sent to all new users upon creating an account. </description> <emailSubject>Welcome to Issue Tracker</emailSubject> <emailText> <![CDATA[ Dear FIRSTNAME LASTNAME, Your account has been created. Please log in at APPLICATIONURL with your username USERNAME. Regards, Issue Tracker ]]> </emailText> <fact> E-mail shall include the user's first and last name. </fact> <fact> E-mail shall include a URL where the user may log in. </fact> <fact> E-mail shall include the user's username. </fact> </email> </appspec> |