1 15 package org.apache.tapestry.components; 16 17 import org.apache.hivemind.impl.MessageFormatter; 18 import org.apache.tapestry.IComponent; 19 20 24 class ComponentMessages 25 { 26 protected static MessageFormatter _formatter = new MessageFormatter(ComponentMessages.class, 27 "ComponentStrings"); 28 29 static String unableToFormat(IComponent component, Object value, Throwable cause) 30 { 31 return _formatter.format("unable-to-format", component.getExtendedId(), value, cause); 32 } 33 34 static String anyElementNotDefined() 35 { 36 return _formatter.getMessage("any-element-not-defined"); 37 } 38 } | Popular Tags |