• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Showing Parent Folder Links

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I'm trying to create/show parent folder links, similar to Yahoo! Briefcase. For instance, I want to show the links to the parent folders as I go to a main folder's subfolder and into that subfolder's subfolder, and so on. It should look like this:

All Folders > File Folders > thesis > tasks

<files under tasks here>
<files under tasks here>
<files under tasks here>

How do I do that? I would appreciate any sample code you may have. Thanks.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Static? Dynamically generated? if so, from what?
 
Liann Timtiman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's dynamically generated from an Oracle database, particularly from a table called FILEFOLDER.

What I have so far are these: I have a .java file called Files in which I declared a vector called getFolderDetails:



On my s_files.jsp page, I have:



I think I got the logic wrong 'cause when I run it my computer hangs...
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is a Navigation taglib in Coldtags suite:
http://www.servletsuite.com/jsp.htm
 
Liann Timtiman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the Navigation tag applicable to dynamic values? Because when I tried including this:



I get this error:

/MyLSI/s_files.jsp:153: interpolated runtime values forbidden at `s_files.jsp?folder=<%= vDetails.get(i) %>'
reply
    Bookmark Topic Watch Topic
  • New Topic