View mapping problem

xiaoxiao2021-03-06  43

1. Mapping of page elements and page beans (ie viEW) is implemented by MapingTool, what should be noted is that the fields in view are consistent with the page elements, or if there is no "exception to find the XX attribute in the" "Moreover, the Name property of the page element is also consistent with the fields inside the view, otherwise the field is empty when the page is converted from the page. 2. My understanding is that the property is from the bean to the page and Name The value is from the page assignment to the page bean (view) temporarily unclear whether it is, seeing the MapingTool implementation mechanism 3 When using the code using CheckBox, if you do not choose, the bean value (view) is empty. .issys only 0 and 1 string value solution is the view of the View's SET method: public string getissys () {return Issys == NULL? "": issys;} Replace with public string getissys () {return issys == NULL? "0": issys;

转载请注明原文地址:https://www.9cbs.com/read-68619.html

New Post(0)