Subversion Repositories general

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"  prefix="bean"  %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"  prefix="html"  %>
<html>

<head>
  <title><bean:message key="title.message" /></title>
</head>

<body>

<form action=message.do>
<p>
  <%= (request.getUserPrincipal() == null) ? null : request.getUserPrincipal().getName() %> -
  <input type=input name=message> <input type=submit value="<bean:message key="button.send" />">
  <span style="color:red;"><html:errors property="message" /></span>
</p>
</form>

<script language="JavaScript"><!--
  document.forms[0].message.focus();

  if(window.parent)
    if(window.parent.SimpleChat_Display)
      if(window.parent.SimpleChat_Display.location)
        window.parent.SimpleChat_Display.location.reload();
// --></script>

</body>

</html>