xiaochong/zkui — Issue #50: Different semantic inside template-blocks
Author: flofreud
Created: 2012-03-09 16:16:51+00:00
State: open

I am implementing mvvm-scaffolding and have a issue which i can not resolve neatly:

If i use the resource-tag it generate the urls with the context-path( e.g. /mvvm-test). This is quite well for
```

```
The url in the img-tag is than "/mvvm-test/images/skin/database_add.png"

For the list view I am using the template-tag
```

```

The resource-tag renders the same as above but inside the template-tag the toolbarbutton add always the context-path as prefix.

The url in the img-tag is "/mvvm-test/mvvm-test/images/skin/database_edit.png"

As simple solution I could add a tag for generation without context-path but this does not feel right.

Everything works quite well outside of the template-tag.

I do not understand the insides of zk well enought yet to debug this straight-forward.

It would be nice if the semantic could be equalized.