You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Tobias Soloschenko <to...@googlemail.com> on 2016/01/27 16:36:36 UTC
Wicket Offline Support
Hi guys,
yesterday evening I implemented a offline support for wicket based on "Service Worker" API:
https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/offline/OfflineCache.java
I would be very pleased if someone could try it out!
Thanks in advance
kind regards
Tobias
Re: Wicket 7.2.0 - Palette component questions
Posted by Andrea Del Bene <an...@gmail.com>.
Hi,
you can also take a look at the Palette paragraph in the user guide where
you can find which css classes are used by this component:
https://ci.apache.org/projects/wicket/guide/7.x/guide/single.html
On Fri, Jan 29, 2016 at 10:02 PM, Sven Meier <sv...@meiers.net> wrote:
> Hi Kurt,
>
> read here:
>
>
> https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+7.0#MigrationtoWicket7.0-PaletteandWizarduse%3Cdiv%3Esinsteadof%3Ctable%3EmarkupWICKET-5349
>
> Regards
> Sven
>
>
>
> On 29.01.2016 21:00, Kurt Clauss wrote:
>
>> Hi all!! I'm thinking this is the right place to bring this up, but if
>> not, please direct me accordingly (in a nice way, of course)... I started
>> working with the Palette component in 7.2.0 and found the layout does not
>> match the example at all. It renders the appropriate containers and
>> content, but definitely not the same layout. I saw in an example version
>> at (http://www.mkyong.com/wicket/wicket-palette-example/) it renders
>> correctly. However, the pom has very different references. What do I need
>> to do with the current version to get a similar layout, or even customize
>> the current layout??
>>
>> org.apache.wicket.extensions.markup.html.form.palette.Palette
>>
>> Thanks in advance!Kurt
>>
>>
>
>
Re: Wicket 7.2.0 - Palette component questions
Posted by Sven Meier <sv...@meiers.net>.
Hi Kurt,
read here:
https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+7.0#MigrationtoWicket7.0-PaletteandWizarduse%3Cdiv%3Esinsteadof%3Ctable%3EmarkupWICKET-5349
Regards
Sven
On 29.01.2016 21:00, Kurt Clauss wrote:
> Hi all!! I'm thinking this is the right place to bring this up, but if not, please direct me accordingly (in a nice way, of course)... I started working with the Palette component in 7.2.0 and found the layout does not match the example at all. It renders the appropriate containers and content, but definitely not the same layout. I saw in an example version at (http://www.mkyong.com/wicket/wicket-palette-example/) it renders correctly. However, the pom has very different references. What do I need to do with the current version to get a similar layout, or even customize the current layout??
>
> org.apache.wicket.extensions.markup.html.form.palette.Palette
>
> Thanks in advance!Kurt
>
Wicket 7.2.0 - Palette component questions
Posted by Kurt Clauss <kc...@hotmail.com>.
Hi all!! I'm thinking this is the right place to bring this up, but if not, please direct me accordingly (in a nice way, of course)... I started working with the Palette component in 7.2.0 and found the layout does not match the example at all. It renders the appropriate containers and content, but definitely not the same layout. I saw in an example version at (http://www.mkyong.com/wicket/wicket-palette-example/) it renders correctly. However, the pom has very different references. What do I need to do with the current version to get a similar layout, or even customize the current layout??
org.apache.wicket.extensions.markup.html.form.palette.Palette
Thanks in advance!Kurt
Re: Wicket Offline Support
Posted by Tobias Soloschenko <to...@googlemail.com>.
Hi,
I updated the implementation to also support CORS. You only have to set
it via OfflineCacheEntry.setCors(...);
Here is a small documentation:
https://github.com/klopfdreh/wicket-components-playground/wiki/20.-HTML5-OfflineMode
kind regards
Tobias
Am 28.01.16 um 04:19 schrieb Martin Grigorov:
> Hi,
>
>
> On Wed, Jan 27, 2016 at 4:36 PM, Tobias Soloschenko <
> tobiassoloschenko@googlemail.com> wrote:
>
>> Hi guys,
>>
>> yesterday evening I implemented a offline support for wicket based on
>> "Service Worker" API:
>>
>>
>> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/offline/OfflineCache.java
>>
>> I would be very pleased if someone could try it out!
>>
> How to run/try it ?
> I see no MyApplication nor unit tests in this repository.
> It will be much more easier if add a test application in src/test/ !
>
>
>> Thanks in advance
>>
>> kind regards
>>
>> Tobias
Re: Wicket Offline Support
Posted by Tobias Soloschenko <to...@googlemail.com>.
See Javadoc - it is very easy.
kind regards
Tobias
> Am 28.01.2016 um 04:19 schrieb Martin Grigorov <mg...@apache.org>:
>
> Hi,
>
>
> On Wed, Jan 27, 2016 at 4:36 PM, Tobias Soloschenko <
> tobiassoloschenko@googlemail.com> wrote:
>
>> Hi guys,
>>
>> yesterday evening I implemented a offline support for wicket based on
>> "Service Worker" API:
>>
>>
>> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/offline/OfflineCache.java
>>
>> I would be very pleased if someone could try it out!
>>
>
> How to run/try it ?
> I see no MyApplication nor unit tests in this repository.
> It will be much more easier if add a test application in src/test/ !
>
>
>>
>> Thanks in advance
>>
>> kind regards
>>
>> Tobias
Re: Wicket Offline Support
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
On Wed, Jan 27, 2016 at 4:36 PM, Tobias Soloschenko <
tobiassoloschenko@googlemail.com> wrote:
> Hi guys,
>
> yesterday evening I implemented a offline support for wicket based on
> "Service Worker" API:
>
>
> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/offline/OfflineCache.java
>
> I would be very pleased if someone could try it out!
>
How to run/try it ?
I see no MyApplication nor unit tests in this repository.
It will be much more easier if add a test application in src/test/ !
>
> Thanks in advance
>
> kind regards
>
> Tobias