Rev 938 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 938 | Rev 963 | ||
---|---|---|---|
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <html> |
5 | <html> |
6 | 6 | ||
7 | <head> |
7 | <head> |
8 | <title><bean:message key="title.message" /></title> |
8 | <title><bean:message key="title.message" /></title> |
9 | </head> |
9 | </head> |
10 | 10 | ||
11 | <body> |
11 | <body> |
12 | 12 | ||
13 | <form action=message.do> |
13 | <form action=message.do> |
14 | <p> |
14 | <p> |
15 | <%= (request.getUserPrincipal() == null) ? null : request.getUserPrincipal().getName() %> - |
15 | <%= (request.getUserPrincipal() == null) ? null : request.getUserPrincipal().getName() %> - |
16 | <input type=input name=message> <input type=submit value="<bean:message key="button.send" />"> |
16 | <input type=input name=message> <input type=submit value="<bean:message key="button.send" />"> |
17 | <span style="color:red;"><html:errors property="message" /></span> |
17 | <span style="color:red;"><html:errors property="message" /></span> |
18 | </p> |
18 | </p> |
19 | </form> |
19 | </form> |
20 | 20 | ||
21 | <script language="JavaScript"><!-- |
21 | <script language="JavaScript"><!-- |
22 | document.forms[0].message.focus(); |
22 | document.forms[0].message.focus(); |
23 | 23 | ||
24 | if(window.parent) |
24 | if(window.parent) |
25 | if(window.parent.SimpleChat_Display) |
25 | if(window.parent.SimpleChat_Display) |
26 | if(window.parent.SimpleChat_Display.location) |
26 | if(window.parent.SimpleChat_Display.location) |
27 | window.parent.SimpleChat_Display.location.reload(); |
27 | window.parent.SimpleChat_Display.location.reload(); |
28 | // --></script> |
28 | // --></script> |
29 | 29 | ||
30 | </body> |
30 | </body> |
31 | 31 | ||
32 | </html> |
32 | </html> |