manually set focus for tag library
https:///wiki/display/WEBCUIF/Tag+Library+FAQ#TagLibraryFAQ-HowcanIsetthefocustoanInputfieldorDDLBinapage%3F
对于利用chtmlb实现的page,wiki上介绍的方法只有在下列两个条件同时满足时才生效:
a. 只针对input field和drop down list这两种UI element生效。其他如button, text area 无效。
b. 必须当input field或drop down list处于edit mode时才生效,见上图。
如果用thmlb实现UI page,的确可以在html里面用focus attribute,
但是用thtmlb做UI: a. 使用了thtmlb tag的UI element在configuration里面是不可见的。对于客户来说他看到的UI上部分element可配置,部分不可配置,这种behavior很confusing。 b. 使用thtmlb之后,因为ui element没有和model node 或value node绑定,导致以前有framework支持的很多基本功能都需要手动实现, 比如在input field里面输入值之后点button,要想取得用户输入,还得写下面的代码:
所以不建议仅仅为了支持ui element的focus,就把目前的chtmlb全部用thtmlb rework一遍。
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
manually set focus for tag library相关推荐
- Can not find the tag library descriptor for http://www.springframework.org/tags/form 解决方法
1. 今天在写东西的时候突然遇到这个问题: For Spring 3 the tag library specified in the tag library directive (http://ww ...
- Can not find the tag library descriptor for http://java.sun.com/jsp/jstl/
jsp页面引入外部的标签<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> ...
- 'django_tables2' is not a registered tag library. Must be one of:
报错来自django-oscar(实验是何敏煌的书第十三章)打开dashboard的某个按钮的时候 TemplateSyntaxError at /dashboard/catalogue/ 'djan ...
- No tag datetimepicker defined in tag library imported with prefix s解决
今天在学习Struts2标签中的datetimepicker出现这样一个exception: No tag "datetimepicker" defined in tag libr ...
- django报错‘staticfiles‘ is not a registered tag library
django在前端模板中使用{% load staticfiles %}会报错,报错信息如下: 'staticfiles' is not a registered tag library. Must ...
- TemplateSyntaxError: 'crispy_forms_tags' is not a registered tag library.报错的解决办法
2019独角兽企业重金招聘Python工程师标准>>> Django项目admin进入后台管理页面时报错: Traceback (most recent call last):Fil ...
- java标签库 taglib pdf格式_JSP系列教材 (十)- JSTL Java Standard Tag Library 标准标签库...
JSTL JSP Standard Tag Library 标准标签库 JSTL允许开人员可以像使用HTML标签 那样在JSP中开发Java功能. JSTL库有core, i18n, fmt, sql ...
- JSP系列教材 (十)- JSTL Java Standard Tag Library 标准标签库
JSTL JSP Standard Tag Library 标准标签库 JSTL允许开人员可以像使用HTML标签 那样在JSP中开发Java功能. JSTL库有core, i18n, fmt, sql ...
- JSP-JSTL(Java Standard Tag Library即java标准标签库)
JSTL JSP Standard Tag Library 标准标签库 JSTL允许开人员可以像使用HTML标签 那样在JSP中开发Java功能. JSTL库有core, i18n, fmt, sql ...
最新文章
- 查询远程或本地计算机的登录账户
- C++函数模板(二)引用
- 【DBA】DBA——数据库管理员
- [ExtJS5学习笔记]第三十五条 sencha extjs 5 组件查询方法
- 【翻译】Ext JS 4——Ajax和Rest代理处理服务器端一场和消息的方法
- java 视图解析器_SpringMVC——视图和视图解析器
- 风吹雨云商城系统程序源码
- 计算机未来发展趋势四个字概括,授课教师-世界大学城.doc
- 我的内核学习笔记9:Intel内部看门狗iTCO_wdt驱动
- docker 安装mongodb集群,多台服务器
- 第二阶段冲刺—第一天
- Android 以太网转 WiFi 热点 (并在同一网段 192.168.0.xx)
- 智乃买瓜(another version)(DP+逆向思维)
- Linux C/C++的编译
- 基于Unity的软光栅实现(1):框架搭建和矩阵构造
- 学个痛快,清华大学网上课程免费开放!知网免费下载!CSDN送课程!
- gmail注册方法_如何在Gmail中释放空间:5种回收空间的方法
- 小学计算机教学的趣味性,浅谈小学信息技术课堂教学趣味性方法
- 织梦新建php支持标签,织梦教程:新建php页面且模板支持读取标签
- 集群环境下,谁偷走quartz配置的定时任务
热门文章
- 11月8日下午Jquery取属性值(复选框、下拉列表、单选按钮)、做全选按钮、JSON存储、去空格...
- 静态成员变量及方法的调用
- git生成SSH-Key
- 网工小课堂(part1)--计算机网络概论
- c语言编程中怎么打汉字,c语言编程中,怎么打汉字啊??我是新手啊~~
- mysql获取一年中的所有周六周日_数据库查询显示一年中所有的周一到周五的数据...
- 9月碎碎念-谈如何挑选一本书
- 动态创建 @ViewChild 导致运行时错误的原因分析
- 2021-10-28 SAP Spartacus SSR 性能方面的一些学习笔记
- SAP 电商云 Spartacus UI 页面布局的设计原理