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
Logged In: YES
user_id=597080
Originator: NO
Hello Balaji,
Taking a look at the sources here:
http://kneobase.svn.sourceforge.net/viewvc/kneobase/releases/kneobase_1_3_1_final/AdminWebapp/war/WEB-INF/kneobase/config/sources/fs-contents.xml?revision=105&view=markup
it seems you have a difference with the original?
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>{parent.name}{path}</value></property>
42 </bean>
HTH
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