Bob,

   Perfect. I was testing on profile mode and with PerformanceFilter
enabled. But i didn't have the filter for gif on web.xml.

Thanks again,

Victor França


On Wed, Feb 4, 2009 at 5:52 AM, Bob Schellink <[email protected]> wrote:

> Hi Victor,
>
> This is with 1.5?
>
> The version indicator is only appended if the PerformanceFilter is
> enabled and Click is in production or profile mode.
>
> The PerformanceFilter tells Click to generate a version indicator for
> resources (version indicators allows browser resources to expire if
> they are changed).
> When the browser request the resource, PerformanceFilter will strip
> the version indicator and simply request the raw resource. For example
> if Click renders
> the resources as:
>
> <img url="context/calendar-1.5.gif">
>
> the filter will strip it to:
>
> <img url="context/calendar.gif">
>
> If this does not happen you must check in your web.xml that
> PerformanceFilter is mapped to to *.gif.
>
>  <filter-mapping>
>  <filter-name>PerformanceFilter</filter-name>
>  <url-pattern>*.gif</url-pattern>
>  </filter-mapping>
>
> Let us know if this works for you.
>
> kind regards
>
> bob
>
>
> On Wed, Feb 4, 2009 at 3:35 PM, Victor França <[email protected]>
> wrote:
> > Gents,
> >
> > I was facing a problem with DateField extra control. The control was not
> > showing the calendar.gif beside the field.
> > I realized that the image file name is calendar.gif, but on the render
> > method of DateField, the version indicator of click is added to this name
> > when written on HTML IMG tag. I just commented out this line and worked.
> > Does anyone knows if this is a bug or if i'm doing something wrong?
> >
> > Regards,
> >
> > Victor França
> >
> >
>
>
>
> --
> http://incubator.apache.org/click/
>

Reply via email to