1

我正在使用 struts2 jqgrid。我想在我的网格中以密码格式显示密码列值。

我们可以使用自定义格式化程序以项目符号格式显示密码值吗?

4

1 回答 1

0
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
   <head>
     <s:head/>
     <title>Hello World</title>
   </head>
   <body>
      <s:div>Email Form</s:div>
      <s:text name="Please fill in the form below:" />
      <s:form action="hello" method="post" enctype="multipart/form-data">
         <s:textfield key="email.from" name="from" />
         <s:password key="email.password" name="password" />
         <s:textfield key="email.to" name="to" />
         <s:textfield key="email.subject" name="subject" />
         <s:textarea key="email.body" name="email.body" />
         <s:token />
         <s:submit key="submit" />
     </s:form>
   </body>

于 2014-04-08T04:58:14.603 回答