Hi there ....
Thank You for Your replays ....
I actualy did some changes to left.jsp file ...
I changed the following section ...
- Code: Select all
<c:forEach items="${entry.value}" var="artist">
<p class="dense" style="padding-left:0.5em">
<span title="${artist.name}">
<sub:url value="main.view" var="mainUrl">
<c:forEach items="${artist.musicFiles}" var="musicFile">
<sub:param name="path" value="${musicFile.path}"/>
</c:forEach>
</sub:url>
<a target="main" href="${mainUrl}"><str:truncateNicely upper="${model.captionCutoff}">${artist.name}</str:truncateNicely></a>
</span>
</p>
</c:forEach>
</c:forEach>
To something like this .....
- Code: Select all
<c:forEach items="${entry.value}" var="artist">
<c:set var="an"value="${artist.name}"/>
<c:set var="pl"value="PlayLists"/> // Notice here, The value is The name of PlayLists Folder.....
<c:if test="${an == pl}" >
<p class="dense" style="padding-left:0.5em">
<span title="${artist.name}">
<sub:url value="loadPlaylist.view?" var="mainUrl">
</sub:url>
<a target="main" href="${mainUrl}"><str:truncateNicely upper="${model.captionCutoff}">${artist.name}</str:truncateNicely></a>
</span>
</p>
</c:if>
<c:if test="${an != pl}" >
<p class="dense" style="padding-left:0.5em">
<span title="${artist.name}">
<sub:url value="main.view" var="mainUrl">
<c:forEach items="${artist.musicFiles}" var="musicFile">
<sub:param name="path" value="${musicFile.path}"/>
</c:forEach>
</sub:url>
<a target="main" href="${mainUrl}"><str:truncateNicely upper="${model.captionCutoff}">${artist.name}</str:truncateNicely></a>
</span>
</p>
</c:if >
</c:forEach>
</c:forEach>
Now when I klick on PlayList in the menu on the left I get this ....
If You can't see the image then my Machine is Off ...
Finaly I want to ask if there is any other method to get the value ?
<c:set var="pl"value="PlayLists"/> so that it works with any folder ...
I tryed ${model.playlistDirectory} but this does not work ....
Any ideas how to get this value ....????
Thanks ......