Re: directory-listing filter

Florent,
Thank you a lot. I will try this soon.

Is there a way to disable DTD loading ??


On Sat, Oct 20, 2012 at 4:04 PM, Florent Georges <fgeorges@fgeorges.org> wrote:
> On 20 October 2012 21:53, Mansour Al Akeel wrote:
>
>> <p:directory-list include-filter="*xml">
>> [...]
>> SEVERE: Pipeline failed: java.util.regex.PatternSyntaxException:
>> Dangling meta character '*' near index 0
>
>> How can I filter the files ??
>
>   The filter is a regular expression, not a shell "file glob".  So the
> following expression should do what you want: ".+xml" (note the point
> before the "*", which means "any character, and followed by "+" means
> "one or more characters").
>
>   Regards,
>
> --
> Florent Georges
> http://fgeorges.org/
> http://h2oconsulting.be/

Received on Saturday, 20 October 2012 22:16:20 UTC