题目内容
YouwebapplicationusesalotofJavaenumeratedtypesinthedomainmodeloftheapplication.Builtintoeachenumtypeisamethod,getDisplay(),whichreturnsalocalized,user-orientedstring.Therearemanyusesforpresentingenumswithinthewebapplication,soyourmanagerhasaskedyoutocreateacustomtagthatiteratesoverthesetofenumvaluesandprocessesthebodyofthetagonceforeachvalue;settingthevalueintoapage-scopedattributecalled,enumValue.Hereisanexampleofhowthistagisused:10.11.12.${enumValue.display}13.14.YouhavedecidedtousetheSimpletagmodeltocreatethistaghandler.Whichtaghandlermethodwillaccomplishthisgoal?()
查看答案
搜索结果不匹配?点我反馈