首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

JSF常识集合

2012-07-01 
JSF知识集合About the Validation in JSF:ONE:http://stackoverflow.com/questions/6642242/how-can-i-pop

JSF知识集合

About the Validation in JSF:

ONE:http://stackoverflow.com/questions/6642242/how-can-i-populate-a-text-field-using-primefaces-ajax-after-validation-errors-occ

KeyWords:Primefaces, ajax, validation, autocomplition, gMap

* When validation on a JSF input component fails, the component is marked as invalid and the originally submitted value is kept in the component.

* When validation on a JSF input component succeeds, the component is marked as valid and the originally submitted value is set to null (the converted/validated value is now set as model value).

* When JSF renders an input component, it will first test if the originally submitted value is not null and if so, then redisplay it, else display the model value.

* When JSF needs to update/re-render an input component by an ajax request, and that input component is not included in the process/execute of the ajax request, then JSF should reset the input component's value.

?

The lifecycle of JSF:

ONE: http://blog.csdn.net/youfly/article/details/3885851/ ? (The chinese version of JSF spec)

?

The Cusomization of Tag:

Create tag using template:?http://www.mkyong.com/jsf2/custom-tags-in-jsf-2-0/

热点排行