taglib html
とりあえず仕様書 9.5 Standard HTML RenderKit Tag Library を読んでおこう。
must関連はメモ。
The tag library descriptor for this tag library (and the corresponding tag handler implementation classes) must meet the following requirements: ■For a non-null action attribute on custom actions related to UICommand components (commandButton, commandLink), the setProperties() method of the tag handler implementation class must: ■If the specified String value is not a value binding expression, create a MethodBinding instance that will return this value when its invoke() method is called, and store it as the value of the action attribute on the underlying component. ■Ohterwise, create a MethodBinding instance for the specified expression, and store that instance as the value of the action attribute on the underlying component. ■For other non-null attributes that correspond to MethodBinding attributes on the underlying components (actionListener, validator, valudChangeListener), the setProperties() method of the tag handler implementation class must: ■Throw an exception if the specified String value is not a value binding expression. ■Create a MethodBinding instance for the specified expression, and store that instance as the value of the corresponding component property. ■For any non-null id, scope, or var attribute, the setProperties() method of the tag handler implementation class must simply set the value of the corresponding component attribute.