| | |
| | | if (parent instanceof Fragment) {
|
| | | // must check for fragment, otherwise we end up in Wicket namespace
|
| | | parent = parent.getParent();
|
| | | } |
| | | }
|
| | | if (parent != null) {
|
| | | ResourceReference resRef = new ResourceReference(parent.getClass(), src, false);
|
| | | return (urlFor(resRef).toString());
|
| | |
| | | return (src);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public void onComponentTag(ComponentTag tag) {
|
| | | super.onComponentTag(tag);
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | @Override
|
| | | public void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag) {
|
| | | Response response = getResponse();
|
| | | response.write("\n");
|