alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

jforum example source code file (AttachmentTab.jsp)

This example jforum source code file (AttachmentTab.jsp) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - jforum tags/keywords

a4, a4, attachment, image, image, info, info-url, link-url, no, no, select, selected, selected, version

The jforum AttachmentTab.jsp source code

<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>

<div id="attachmentViewer">
  <div class="list">
     <h3>List of attachments
     <small>(Click on an image to see a preview)
  
     <form action="#">
        <select name="attachSelect" id="attachSelect" size="16" 
                onchange="Wiki.showImage(this[this.selectedIndex], '%A4', 300, 300 )" >
        <option value="Attachment Info" selected="selected" >--- No Image Selected ---
        <wiki:AttachmentsIterator id="att">
           <%-- use %A4 as delimiter:  Name, Link-url, Info-url, Size, Version --%>
           <option value="%A4%A4 bytes%A4" >
             <wiki:PageName /> ( bytes)
           </option>
        </wiki:AttachmentsIterator>
        </select>
     </form>
     <div class="small">(Select an image attachment to see a preview)
</div> <div class="preview"> <h3>Image preview <div id="attachImg">No Image Selected </div> <div style="clear:both; height:0px;" > </div>

Other jforum examples (source code examples)

Here is a short list of links related to this jforum AttachmentTab.jsp source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.