|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.WicketMessageResolver
This is a tag resolver which handles <wicket:message attr="myKey">Default Text</wicket:message>. The resolver will replace the whole tag with the message found in the properties file associated with the Page. If no message is found, the default body text will remain.
| Nested Class Summary | |
static class |
WicketMessageResolver.MyLabel
A Label with expands open-close tags to open-body-close if required |
| Constructor Summary | |
WicketMessageResolver()
|
|
| Method Summary | |
boolean |
resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
Try to resolve the tag, then create a component, add it to the container and render it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WicketMessageResolver()
| Method Detail |
public boolean resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
resolve in interface IComponentResolvercontainer - The container parsing its markupmarkupStream - The current markupStreamtag - The current component tag while parsing the markup
IComponentResolver.resolve(MarkupContainer, MarkupStream,
ComponentTag)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||