Menu

#2 Search in sub-folders

open
None
1
2007-09-07
2007-07-30
Balaji
No

Hello... I downloaded the application and tried setting up the same and I am have issues. The file fs-contents.xml has the value {parent.name}{name}.

With this value, the content of a subfolders are links as follows

http://localhost:8080/kneobase/<foldername>/<filename>

instead of

http://localhost:8080/kneobaes/contenidos/<foldername>/<filename>.

Please let me know if there any alternative or a patch avialble for the same.

Thanks,
Balaji C

Discussion

  • Mariano Barcia

    Mariano Barcia - 2007-07-31
    • assigned_to: nobody --> patricio_keilty
     
  • Balaji

    Balaji - 2007-08-01

    Logged In: YES
    user_id=1856641
    Originator: YES

    Hi Mariano,

    I was checking the code and found that the below document builder seems to be working fine if the code is set as below (taking the original installation).

    38 <!-- Document Builders -->
    39 <bean id="linkBuilder" class="com.kneobase.driver.documentbuilder.LinkBuilder">
    40 <property name="fieldName"><value>link</value></property>
    41 <property name="link"><value>contenidos{path}</value></property>
    42 </bean>

    If the code is set as {parent.name}{path}, then the link becomes http://localhost:8080/contenidos/<subfolder>/<subfolder>/<file> which actually not correct.

    I am also having issues with viewing the content of a zip file. Not sure if that is a bug or if something with the code that i used.

    Thanks,
    Balaji C

     
  • Mariano Barcia

    Mariano Barcia - 2007-09-07
    • priority: 5 --> 1
     

Log in to post a comment.