AnsweredAssumed Answered

How do I know if the content is a folder or file?

Question asked by balistic on Nov 1, 2007
Latest reply on Aug 12, 2008 by morpheus
Hi,

I am trying the display the contents of a repository using web services in a portlet. I can list the contents by using WebServiceFactory.getRepositoryService().queryChildren(ref) method. However, how would I know if the content is a folder or file if the query doesn't return any children? If it's file, i would like to display the content to the user (maybe in a different window).

Thanks in advance for your help.

Outcomes