[opencms-dev] Re sourceCollector depending on property value possible?

Eska sven.kiesow at interone.de
Fri Jul 10 16:22:49 CEST 2009


Hi List,

while further using the method, I came to the conclusion, that the return
result
does not correspond to the javadoc for that method.

I added the following bug to the OpenCms Bugzilla:
http://bugzilla.opencms.org/show_bug.cgi?id=1755 
http://bugzilla.opencms.org/show_bug.cgi?id=1755 

Reason is, that the underlying sql constructs a 

like '%value%' .

instead of a 

like 'value'

Eska



Eska wrote:
> 
> Hi Nacho,
> 
> seems to works as suggested. 
> 
> CmsObject#readResourcesWithProperty(java.lang.String path,
> java.lang.String propertyDefinition, java.lang.String value,
> CmsResourceFilter filter) 
> 
> has the functionality I was looking for !
> 
> Thanks a lot!
> 
> Eska
> 
> 
> Nacho Fernández Orellana wrote:
>> 
>> Hi Eska and list,
>> 
>> Check the javadocs at http://files.opencms.org/javadoc/core/index.html
>> (or
>> http://api.synyx.de) and browse the methods of class CmsObject, in
>> particular methods readResourcesWithProperty (several varying in
>> parameters). Greetings,
>> 
>> Nacho Fernandez.
>> 
>> 
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please
>> visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ResourceCollector-depending-on-property-value-possible--tp24389204p24428295.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list