[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

  • From: Frank Caputo <frank@...>
  • To: jsr344-experts@...
  • Subject: [jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues
  • Date: Wed, 16 Jan 2013 20:23:42 +0100
  • List-id: <jsr344-experts.javaserverfaces-spec-public.java.net>

Hi Leonardo,

Am 15.01.2013 um 20:37 schrieb Leonardo Uribe <lu4242@...>:

> Thinking about this, I think a good idea could be add a method to
> Resource interface to get the last modified time.
> 
> public Long getLastModified()
> 
> return null if no lastModified time can be returned.

This method would be really helpful, but I wouldn't allow null to be 
returned, so I'd use the primitive long as return value. 

There will be an issue with decorating existing resources and overwriting 
only getLastModified. userAgentNeedsUpdate and getResponseHeaders won't call 
the decorated version of getLastModified. So on decorated resources all 3 
methods must be implemented, which is not very comfortable.

Ciao Frank

> 2013/1/15 Frank Caputo <frank@...>:
>> Hi Leonardo,
>
>> I recently provided a patch for Mojarra to solve this problem, which 
>> Manfred merged into the trunk ( 
>http://java.net/projects/mojarra/sources/svn/diff/trunk/jsf-ri/src/main/java/com/sun/faces/facelets/impl/DefaultFacelet.java?rev1=11384&rev2=11385
>>  ).

Does this answer obsolete your older comments on resource library contracts?

Ciao Frank

>
>> I'll answer more detailed tomorrow.
>
>> Ciao Frank
>
>> Am 15.01.2013 um 00:32 schrieb Leonardo Uribe <lu4242@...>:
>
>>> Right now, facelets derive the path using a call to:
>>> 
>>> new URL(from, path)
>>> 
>
>
>
>
>
> 







[jsr344-experts mirror] [jsr344-experts] PRD Review and pending issues

Leonardo Uribe 01/14/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Leonardo Uribe 01/14/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Frank Caputo 01/15/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Leonardo Uribe 01/15/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Frank Caputo 01/16/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Leonardo Uribe 01/16/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Leonardo Uribe 01/17/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Frank Caputo 01/20/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Leonardo Uribe 01/20/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Frank Caputo 01/23/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Leonardo Uribe 01/24/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Frank Caputo 01/20/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Edward Burns 01/16/2013

[jsr344-experts mirror] [jsr344-experts] Re: PRD Review and pending issues

Edward Burns 01/31/2013

[jsr344-experts mirror] [jsr344-experts] Flow and Loading Facelets via ResourceHandler (Re: was: PRD Review and pending issues)

Edward Burns 01/31/2013
Terms of Use; Privacy Policy; Copyright ©2013-2016 (revision 20151030.c1dd42a)
 
 
Close
loading
Please Confirm
Close