You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Maxim Solodovnik <so...@gmail.com> on 2021/06/11 14:33:35 UTC
Question about wicket-bootstrap config
Hello Martin,
I would like to extend wicket-bootstrap and add addition option:
https://getdatepicker.com/4/Options/#parseinputdate
the value should be "reference to function" or "inline function definition"
Is there any option to add IKey
https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/wicket-9.x-bootstrap-4.x/bootstrap-extensions/src/main/java/de/agilecoders/wicket/extensions/markup/html/bootstrap/form/datetime/DatetimePickerConfig.java#L78
so it's value wouldn't be escaped?
I already tried String, IFunction and
org.apache.wicket.ajax.json.JSONFunction
Shall I create a new class or maybe there is one I'm not aware of? :)))
--
Best regards,
Maxim
Re: Question about wicket-bootstrap config
Posted by Maxim Solodovnik <so...@gmail.com>.
Thanks a lot!
PR is created :)
On Sat, 12 Jun 2021 at 00:12, Martin Grigorov <mg...@apache.org> wrote:
> Hi Maxim,
>
> On Fri, Jun 11, 2021, 17:33 Maxim Solodovnik <so...@gmail.com> wrote:
>
> > Hello Martin,
> >
> > I would like to extend wicket-bootstrap and add addition option:
> > https://getdatepicker.com/4/Options/#parseinputdate
> >
> > the value should be "reference to function" or "inline function
> definition"
> >
> > Is there any option to add IKey
> >
> >
> https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/wicket-9.x-bootstrap-4.x/bootstrap-extensions/src/main/java/de/agilecoders/wicket/extensions/markup/html/bootstrap/form/datetime/DatetimePickerConfig.java#L78
> >
> > so it's value wouldn't be escaped?
> > I already tried String, IFunction and
> > org.apache.wicket.ajax.json.JSONFunction
> > Shall I create a new class or maybe there is one I'm not aware of? :)))
> >
>
> I am not in front of my PC now but as far as I remember there was a special
> class for that in wicket-jquery-selectors library. I think its name was
> RawValue
>
>
> >
> > --
> > Best regards,
> > Maxim
> >
>
--
Best regards,
Maxim
Re: Question about wicket-bootstrap config
Posted by Martin Grigorov <mg...@apache.org>.
Hi Maxim,
On Fri, Jun 11, 2021, 17:33 Maxim Solodovnik <so...@gmail.com> wrote:
> Hello Martin,
>
> I would like to extend wicket-bootstrap and add addition option:
> https://getdatepicker.com/4/Options/#parseinputdate
>
> the value should be "reference to function" or "inline function definition"
>
> Is there any option to add IKey
>
> https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/wicket-9.x-bootstrap-4.x/bootstrap-extensions/src/main/java/de/agilecoders/wicket/extensions/markup/html/bootstrap/form/datetime/DatetimePickerConfig.java#L78
>
> so it's value wouldn't be escaped?
> I already tried String, IFunction and
> org.apache.wicket.ajax.json.JSONFunction
> Shall I create a new class or maybe there is one I'm not aware of? :)))
>
I am not in front of my PC now but as far as I remember there was a special
class for that in wicket-jquery-selectors library. I think its name was
RawValue
>
> --
> Best regards,
> Maxim
>