浏览 1764 次
该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2006-11-08
发布: 2006-4-12 下午2:53 输入界面代码: <html> <head> <title>edit Roles</title> </head> TsmRole: <@ww.action id="listGroups" namespace="/sm" name="listGroups"/> <@ww.iterator value="#listGroups.groups"> userName: <@ww.property value="groupId"/>, realName: <@ww.property value="groupName"/> </@ww.iterator> <@ww.form name="form" namespace="/sm" action="saveRole" theme="xhtml" method="POST"> <@ww.textfield label="RoleId" name="role.roleId"/> <@ww.textfield label="RoleName" name="role.roleName" /> <@ww.select label="GroupName" name="role.tsmGroup.groupId" list="#listGroups.groups" listKey="groupId" listValue="groupName" emptyOption="true" multiple="false" required="true" /> <@ww.submit value="保存" /> </@ww.form> </body> </html> 提交后,若验证输入为空,返回输入界面时。 <@ww.action id="listGroups" namespace="/sm" name="listGroups"/> 好象就没有执行。 Select 就为空了? 我遇到类似的问题,求助! 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |