Hi,

On Mon, Jun 29, 2015 at 6:41 PM, Tobias Soloschenko <
[email protected]> wrote:

> Hi Maxim,
>
> hope the change is like you wanted it to be:
>
>
> https://github.com/apache/wicket/commit/e20bfa738aa64f35b668f05866e0c0b7ca71c1f4
>
> But again: The PackageResourceReference is best practice, because you also
> can use "readBuffered(false)" of it - with this option the resource is
> streamed directly


I wouldn't recommend to use PackageResRef for bigger files which should be
streamed.
PackageResRef loads its resource with the class loader. That means you have
to put the big resource in your .war/.ear.
For bigger files I'd recommend to use external storage, not the application
archive.


> without loading it into memory. For more information refer to the Javadoc
> of the method.
>
> kind regards
>
> Tobias
>
> Am 29.06.15 um 10:22 schrieb Maxim Solodovnik:
>
>  Thanks a lot!
>> It was gmail SPAM filter :(((
>> will do migration and examine examples
>>
>> On Mon, Jun 29, 2015 at 2:18 PM, Martin Grigorov <[email protected]>
>> wrote:
>>
>>  For some reason Tobias' mails are marked as SPAM by GMail...
>>>
>>> Martin Grigorov
>>> Freelancer. Available for hire!
>>> Wicket Training and Consulting
>>> https://twitter.com/mtgrigorov
>>>
>>> On Mon, Jun 29, 2015 at 11:15 AM, Maxim Solodovnik <[email protected]
>>> >
>>> wrote:
>>>
>>>  sorry, most probably missed that email
>>>> Thanks!
>>>>
>>>> On Mon, Jun 29, 2015 at 2:14 PM, Martin Grigorov <[email protected]>
>>>> wrote:
>>>>
>>>>  Tobias already explained that it was an oversight and he is going to
>>>>> improve it tonight.
>>>>>
>>>>> Martin Grigorov
>>>>> Freelancer. Available for hire!
>>>>> Wicket Training and Consulting
>>>>> https://twitter.com/mtgrigorov
>>>>>
>>>>> On Mon, Jun 29, 2015 at 11:10 AM, Maxim Solodovnik <
>>>>>
>>>> [email protected]
>>>
>>>> wrote:
>>>>>
>>>>>  Thanks Martin :)
>>>>>> will look through sources :)
>>>>>>
>>>>>> can you please tell me why PackageResourceReference is being used in
>>>>>> MediaComponent and not ResourceReference? Or maybe Tobias can answer
>>>>>>
>>>>> this
>>>>
>>>>> question?
>>>>>>
>>>>>> On Mon, Jun 29, 2015 at 2:00 PM, Martin Grigorov <
>>>>>>
>>>>> [email protected]
>>>
>>>> wrote:
>>>>>>
>>>>>>  Everything is possible.
>>>>>>> All I need is longer day. 24 hours are not enough...
>>>>>>>
>>>>>>> Martin Grigorov
>>>>>>> Freelancer. Available for hire!
>>>>>>> Wicket Training and Consulting
>>>>>>> https://twitter.com/mtgrigorov
>>>>>>>
>>>>>>> On Mon, Jun 29, 2015 at 10:53 AM, Maxim Solodovnik <
>>>>>>>
>>>>>> [email protected]
>>>>>
>>>>>> wrote:
>>>>>>>
>>>>>>>  Is it possible update http://www.wicket-library.com/ to have
>>>>>>>>
>>>>>>> wicket7
>>>>
>>>>> examples as well?
>>>>>>>> I believe this might be very useful :)
>>>>>>>>
>>>>>>>> On Mon, Jun 29, 2015 at 1:49 PM, andrea del bene <
>>>>>>>>
>>>>>>> [email protected]
>>>>>
>>>>>> wrote:
>>>>>>>>
>>>>>>>>  Hi,
>>>>>>>>>
>>>>>>>>> in wicket-examples take a look at the project in
>>>>>>>>> org.apache.wicket.examples.media
>>>>>>>>>
>>>>>>>>> Andrea.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 29/06/2015 06:47, Maxim Solodovnik wrote:
>>>>>>>>>
>>>>>>>>>  Hello All,
>>>>>>>>>>
>>>>>>>>>> Recently I have upgraded to Wicket+wicketstuff 7.0.0-M6 and
>>>>>>>>>>
>>>>>>>>> found
>>>>
>>>>> lots
>>>>>>
>>>>>>> of
>>>>>>>>
>>>>>>>>> improvements:
>>>>>>>>>> 1) AbstractResource is now supports "content-range" and
>>>>>>>>>>
>>>>>>>>> "accept-range"
>>>>>>
>>>>>>> which is great! I'll remove my custom code for this :)
>>>>>>>>>> 2) HTML5 Video is supported by wicket itself (was removed from
>>>>>>>>>> wicketstuff)
>>>>>>>>>> which is great :))
>>>>>>>>>>
>>>>>>>>>> 3) MediaComponent requires *PackageResourceReference* as
>>>>>>>>>>
>>>>>>>>> resourceReference
>>>>>>>>
>>>>>>>>> :(( why it can't be ResourceReference?
>>>>>>>>>>
>>>>>>>>>> Are there any examples in wicket7 regarding new Video
>>>>>>>>>>
>>>>>>>>> Component?
>>>
>>>> Thanks in advance!
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>>
>>>>>> To unsubscribe, e-mail: [email protected]
>>>>>>>>> For additional commands, e-mail: [email protected]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> --
>>>>>>>> WBR
>>>>>>>> Maxim aka solomax
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>> --
>>>>>> WBR
>>>>>> Maxim aka solomax
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to