[ http://issues.apache.org/jira/browse/MYFACES-674?page=comments#action_12331489 ]
Thomas Timbul commented on MYFACES-674: --------------------------------------- Of course, to make EL happy and to make the whole thing more intuitive one could always write a wrapping bean (around the actual one) that has methods like isIsMobile (so on the page you can actually write 'bean.isMobile') and isHasMobile (-> 'bean.hasMobile') > 'common' accessor prefixes > -------------------------- > > Key: MYFACES-674 > URL: http://issues.apache.org/jira/browse/MYFACES-674 > Project: MyFaces > Type: Wish > Components: General > Reporter: Thomas Timbul > Priority: Minor > > Currently (correct me if wrong) the list of 'common' getter and setter > prefixes is > get (getProperty) > is (isBig) > set (setProperty) > One particular prefix I find more common every day is 'has' for boolean > getters (hasArms rather than isArmed or isWithArms or isHasArms). > So maybe there should be a referendum on what is commonly perceived as > 'common' prefixes and those added as possibilities. Of course, if the method > gets too long we need to be careful with how EL can handle it, since there > could be a great difference between 'isMobile' and 'hasMobile' and EL cannot > distinguish the 2... (can it?) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira