Hi Maxim, hi others :-)

What do you think about this change:

https://github.com/apache/wicket/pull/145

kind regards

Tobias

> Am 11.12.2015 um 03:44 schrieb Maxim Solodovnik <[email protected]>:
> 
> Actually yes,
> 
> I can reconstruct file name of resource only in 
> newResourceResponse(Attributes attributes) method
> so it is impossible to construct FSRR(Path).
> It would be nice to have such ability :) it might be useful to provide for 
> ex. user profile pictures by id of some other resources :)
> 
>> On Fri, Dec 11, 2015 at 12:52 AM, Tobias Soloschenko 
>> <[email protected]> wrote:
>> Hi Maxim,
>> 
>> do I understand you right that when it gets to static mounted resources the 
>> variable part can't be catched and used by the FSRR?
>> 
>> I have to dig into it and may extend the FSRR. Good Point!
>> 
>> @others: WDYT?
>> 
>> kind regards 
>> 
>> Tobias
>> 
>> Am Donnerstag, 10. Dezember 2015 schrieb Maxim Solodovnik :
>>> Hello Tobias,
>>> 
>>> I'm trying to use FileSystemResourceReference to provide dynamic mounted 
>>> resources
>>> 
>>> I'm currently using "hand-made resource references" as follows
>>> mounting [1]
>>> get attribute and use [2]
>>> unfortunately I see no way to get/use dynamic id/name with new FSRR
>>> 
>>> will appreciate any hint :)
>>> Thanks in advance!
>>> 
>>> [1] 
>>> https://github.com/apache/openmeetings/blob/trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java#L152
>>> [2] 
>>> https://github.com/apache/openmeetings/blob/trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/util/RecordingResourceReference.java#L72
>>> 
>>>> On Sun, Nov 8, 2015 at 3:38 PM, Tobias Soloschenko 
>>>> <[email protected]> wrote:
>>>> Just wanted to provide the information that it's integrated, now.
>>>> 
>>>> https://issues.apache.org/jira/plugins/servlet/mobile#issue/WICKET-6025
>>>> 
>>>> kind regards
>>>> 
>>>> Tobias
>>>> 
>>>> > Am 01.11.2015 um 07:13 schrieb Maxim Solodovnik <[email protected]>:
>>>> >
>>>> > +1
>>>> > this new component will be very useful in our project
>>>> >
>>>> > On Sat, Oct 31, 2015 at 3:47 PM, Tobias Soloschenko <
>>>> > [email protected]> wrote:
>>>> >
>>>> >> Hi,
>>>> >>
>>>> >> I just wanted to ask if we should integrate the
>>>> >> FileSystemResourceReference into wicket core which is mentioned and 
>>>> >> already
>>>> >> discussed here:
>>>> >>
>>>> >>
>>>> >> http://apache-wicket.1842946.n4.nabble.com/Generic-resource-reference-for-video-audio-playback-td4672337.html
>>>> >>
>>>> >> I provided two examples:
>>>> >>
>>>> >> * Reading jar / zip files (Example >
>>>> >> jar:file:///myFolder/test.zip!/myFolderInsideTheZip/video1.mp4)
>>>> >> * Unified reading of files out of the file system (unix, windows, 
>>>> >> solaris)
>>>> >> (Example > file:///myFolder/video1.mp4)
>>>> >>
>>>> >>
>>>> >> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemExamplePage.java
>>>> >>
>>>> >> Further FileSystemProviders and the corresponding FileSystems can be
>>>> >> implemented as described here:
>>>> >>
>>>> >>
>>>> >> http://docs.oracle.com/javase/7/docs/technotes/guides/io/fsp/filesystemprovider.html
>>>> >>
>>>> >> WDYT?
>>>> >>
>>>> >> kind regards
>>>> >>
>>>> >> Tobias
>>>> >>
>>>> >> P.S.: If all tend the FileSystemResourceReference to be integrated I am
>>>> >> going to create a PR and write some unit tests.
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > WBR
>>>> > Maxim aka solomax
>>> 
>>> 
>>> 
>>> -- 
>>> WBR
>>> Maxim aka solomax
> 
> 
> 
> -- 
> WBR
> Maxim aka solomax

Reply via email to