Rev 938 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
938 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
||
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
||
5 | <html> |
||
6 | |||
7 | <head> |
||
8 | <title><bean:message key="title.message" /></title> |
||
9 | </head> |
||
10 | |||
11 | <body> |
||
12 | |||
13 | <form action=message.do> |
||
14 | <p> |
||
15 | <%= (request.getUserPrincipal() == null) ? null : request.getUserPrincipal().getName() %> - |
||
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> |
||
18 | </p> |
||
19 | </form> |
||
20 | |||
21 | <script language="JavaScript"><!-- |
||
22 | document.forms[0].message.focus(); |
||
23 | |||
24 | if(window.parent) |
||
25 | if(window.parent.SimpleChat_Display) |
||
26 | if(window.parent.SimpleChat_Display.location) |
||
27 | window.parent.SimpleChat_Display.location.reload(); |
||
28 | // --></script> |
||
29 | |||
30 | </body> |
||
31 | |||
32 | </html> |