Now if I log in my left frame is populated with all the directories of the 2 sources that are not really as "important" for lack of a better word, and if I have a friend who wants to browse I'd rather him not get bombarded with foreign language artists and the like

Ive tried playing around with left.jsp but as I dont know jsp it becomes a little hard to figure out how to write it properly.
- Code: Select all
<select name="musicFolderId" style="width:100%" onchange="location='left.view?musicFolderId=' + options [selectedIndex].value;" >
<option value="-1"><fmt:message key="left.allfolders"/></option>
<c:forEach items="${model.musicFolders}" var="musicFolder">
<option ${model.selectedMusicFolder == musicFolder ? "selected" : ""}
value="${musicFolder.id}">${musicFolder.name}</option>
</c:forEach>
</select>
Thats the code for the drop down box in left.jsp, is there a way to make option 3 selected by default. So that the generated html looks like:
- Code: Select all
<select name="musicFolderId" style="width:100%" onchange="location='left.view?musicFolderId=' + options[selectedIndex].value;" >
<option value="-1">All folders</option>
<option selected value="3">My Music</option>
<option value="4">Hindi</option>
<option value="5">Random</option>
</select>