Re: Kendo DataTable - row click handler

2020-09-27 Thread Sebastien Briquet
Hi Manfred,

I've implemented the change, please read my comment in the issue:
https://github.com/sebfz1/wicket-jquery-ui/issues/320

I released wicket-jquery-ui-8.9.0, containing the change (caution: I also
upgraded kendo-ui to 2020.3.915)

Thanks and best regards,
Sebastien


Re: Kendo DataTable - row click handler

2020-09-24 Thread Sebastien Briquet
Hi Manfred,

You can pass select="row" as an option (options arg) IIRC.

However I don't remember if the ajax call is implemented or not.
Please let me know or open an issue in github, that should not be a problem
to implement...

Thanks and best regards,
Sebastien


>
>


Re: Kendo window adds up in DOM

2019-05-20 Thread Sebastien Briquet
Hi Manfred,

Are you using a FormWindow? Because it is designed to prevent this behavior.
https://github.com/sebfz1/wicket-jquery-ui/blob/wicket8.x/wicket-kendo-ui/src/main/java/com/googlecode/wicket/kendo/ui/widget/window/FormWindow.java#L192

Otherwise please create a quickstart so I can have a better look...

Thanks in advance,
Sebastien.

On Mon, May 20, 2019 at 4:13 PM Bergmann Manfred 
wrote:

> Hi.
>
> I have the following problem.
> We have a Kendo `Window` which we use as confirmation window with form and
> checkbox.
> After the first successful submit (checkbox verification OK) of the window
> form any new spawned window submits ‚value=on‘ even though the checkbox is
> not ‚checked‘.
>
> The window is part of an inner container that is part of an outer
> container.
> The outer container creates new inner containers depending on a navigation.
> So basically a new window is created each time for the same WicketId.
>
> What appears to happen is that whenever an inner container is created that
> contains a window, a new window is added in the DOM, under body.
> Any previous window is not removed.
>
> I have tried to create a stripped down version of this in a simple page
> but can’t reproduce the issue there.
> In this stipped down version the windows are removed from DOM.
>
> I’m assuming (couldn’t really verify this yet) that after a successful
> submit (checkbox checked) some listeners are not completely cleaned up and
> a new window uses some old data, or the OK button of the new Window
> actually triggers a listener of some old window which contained the checked
> checkbox, hence the ‚value=on‘ is transmitted.
>
> After a browser ‚refresh‘ this behavior is gone and a new window works
> properly, once.
>
>
> Anyone has an idea about what happens here?
>
>
>
> Regards,
> Manfred
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Wicket-jquery-ui question

2019-02-18 Thread Sebastien Briquet
Hi,

If the dialog is instantiated in a lazy loading panel, maybe the issue
could be something like:
http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/

But this kind of behavior is normally fixed in wickte-jquery-ui. But my
guess is that it's somehow related to the event binding...

Please have a look at the generated javascript in your page and try to
isolate the defect...

Thanks,
Sebastien


Re: An open source git server written with Wicket

2019-01-07 Thread Sebastien Briquet
Very nice work, congrats !!

You should add onedev.io repo to the demo though :)
>

Good point, haha! :)


Re: Custom type for

2018-06-29 Thread Sebastien Briquet
Hi,

You can extend an AbstractStringResourceStream [1] and then pass its
content to a StringHeaderItem [2]

[1]
https://github.com/sebfz1/wicket-jquery-ui/blob/wicket8.x/wicket-jquery-ui-core/src/main/java/com/googlecode/wicket/jquery/core/template/JQueryTemplateResourceStream.java#L69
[2] https://github.com/sebfz1/wicket-jquery-ui/blob/wicket8.x
/wicket-jquery-ui-core/src/main/java/com/googlecode/wicket/jquery/core/template/JQueryTemplateHeaderItem.java#L65

Hope this helps,
Sebastien.


Re: Ajax and async task

2018-06-20 Thread Sebastien Briquet
Hi Zbynek,

Some times ago I did a quickstart for async calls with Websocket
notification.
Not exactly your use-case but it can give you some ideas...

https://github.com/sebfz1/wicket-quickstart-cdi-async

Best regards,
Sebastien


Re: Nice article on Wicket 8 by the New Stack

2018-06-12 Thread Sebastien Briquet
Very nice! Thanks for sharing! :)


Re: Lazy loading of Wizard's steps

2018-05-29 Thread Sebastien Briquet
This might be configured on component, page or application level (ie:
MyApplication.properties)


Fwd: [ANNOUNCE] CVE-2018-1325 - Wicket jQuery UI: XSS while displaying value in WYSIWYG editor

2018-04-20 Thread Sebastien Briquet
FYI.

Thanks Maxim! :)

-- Forwarded message --
From: Maxim Solodovnik 
Date: Wed, Apr 18, 2018 at 6:39 PM
Subject: [ANNOUNCE] CVE-2018-1325 - Wicket jQuery UI: XSS while displaying
value in WYSIWYG editor
To: Openmeetings user-list , dev <
d...@openmeetings.apache.org>, user-russ...@openmeetings.apache.org


CVE-2018-1325 - Wicket jQuery UI: XSS while displaying value in WYSIWYG
editor

Severity: High

Vendor: wicket-jquery-ui

Versions Affected: <= 6.29.0, <= 7.10.1, <= 8.0.0-M9.1

Description: JS code created in WYSIWYG editor will be executed on display
CVE-2018-1325

The issue was fixed in 6.29.1, 7.10.2, 8.0.0-M9.2
All users are recommended to upgrade to Apache OpenMeetings 4.0.3

Credit: This issue was identified by Kamil Sevi


-- 
WBR
Maxim aka solomax


[ANNOUNCE] CVE-2017-15719 - Wicket jQuery UI: XSS in WYSIWYG Editor

2018-02-25 Thread Sebastien Briquet
CVE-2017-15719 - Wicket jQuery UI: XSS in WYSIWYG editor

Severity: High
Versions Affected: <= 6.28.0, <= 7.9.1, <= 8.0.0-M8

Artifacts Affected:

   - wicket-jquery-ui-plugins (
   com.googlecode.wicket.jquery.ui.plugins.wysiwyg.WysiwygEditor)
   - wicket-kendo-ui (com.googlecode.wicket.kendo.ui.widget.editor.Editor)

Description: A security issue as been discovered in the WYSIWYG Editor that
allows an attacker to submit arbitrary JS code to WYSIWYG editor.

All users are recommended to upgrade to the latest version (6.29.0, 7.10.1,
8.0.0-M9.1)
The issue was fixed in 6.28.1, 7.9.2, 8.0.0-M8.1

Credit: The issue has been identified in Apache OpenMeeting by Sahil Dhar
(Security Innovation Inc)

References:
https://github.com/sebfz1/wicket-jquery-ui/wiki#cve-2017-15719---xss-in-wysiwyg-editor


Re: Apache Wicket - Java Release train

2018-02-24 Thread Sebastien Briquet
Hi Mihir,

I presume you are talking about java.awt.font library.
If it's the case, the only references of "awt.Font" I found are located in :
- DefaultButtonImageResource.java (wicket-core) to which one can specify
the Font object
- CaptchaImageResource (wicket-extensions), which could use "Helvetica",
"Arial" and/or "Courier" font

Hope this helps,
Sebastien


[ANNOUNCE] Wicket jQuery UI 8.0.0-M9.1 released

2018-02-23 Thread Sebastien Briquet
Dear Wicket jQuery/Kendo UI users,

Due to a bug discovered yesterday that affects several Kendo UI components
on latest release (7.10.0 & 8.0.0-M9), I had to roll out a patch release :
8.0.0-M9.1 which is now available at maven central.

Thanks & best regards,
Sebastien.


On Mon, Feb 19, 2018 at 8:32 PM, Sebastien Briquet 
wrote:

> Dear Wicket jQuery/Kendo UI users,
>
> Wicket jQuery UI 8.0.0-M9 based on Apache Wicket 8.0.0-M9 is now released!
>
> Changelog:
> https://github.com/sebfz1/wicket-jquery-ui/releases/tag/
> wicket-jquery-ui-8.0.0-M9
>
> API BREAKS:
> - Kendo UI: API BREAK Editor model object is now String type (no more
> generic T)
> - Kendo UI: API BREAK DataProviderBehavior#newJsonRow(T bean) now returns
> a JSONObject
>
> Maven dependencies:
>
> 
>
> 
> com.googlecode.wicket-jquery-ui
> wicket-jquery-ui
> 8.0.0-M9
> 
>
> 
> com.googlecode.wicket-jquery-ui
> wicket-jquery-ui-theme-base
> 8.0.0-M9
> 
>
> 
>
> 
> com.googlecode.wicket-jquery-ui
> wicket-kendo-ui
> 8.0.0-M9
> 
>
> 
> com.googlecode.wicket-jquery-ui
> wicket-kendo-ui-theme-default
> 8.0.0-M9
> 
>
> Questions / Issues:
>
> If you have any *question*, feel free to ask in the forum:
> http://groups.google.com/group/wicket-jquery-ui/
>
> If you notice an *issue*, please report it here:
> https://github.com/sebfz1/wicket-jquery-ui/issues
>
> Enjoy! :)
> Sebastien
>


[ANNOUNCE] Wicket jQuery UI 6.29.0 released

2018-02-23 Thread Sebastien Briquet
Dear Wicket jQuery/Kendo UI users,

Wicket jQuery UI 6.29.0 based on Apache Wicket 6.29.0 is now released!

Changelog (same as 8.0.0-M9):
https://github.com/sebfz1/wicket-jquery-ui/releases/tag/
wicket-jquery-ui-8.0.0-M9

API BREAKS:
- Kendo UI: API BREAK Editor model object is now String type (no more
generic T)
- Kendo UI: API BREAK DataProviderBehavior#newJsonRow(T bean) now returns a
JSONObject

Maven dependencies:




com.googlecode.wicket-jquery-ui
wicket-jquery-ui
6.29.0



com.googlecode.wicket-jquery-ui
wicket-jquery-ui-theme-base
6.29.0





com.googlecode.wicket-jquery-ui
wicket-kendo-ui
6.29.0



com.googlecode.wicket-jquery-ui
wicket-kendo-ui-theme-default
6.29.0


Questions / Issues:

If you have any *question*, feel free to ask in the forum:
http://groups.google.com/group/wicket-jquery-ui/

If you notice an *issue*, please report it here:
https://github.com/sebfz1/wicket-jquery-ui/issues

Enjoy! :)
Sebastien


[ANNOUNCE] Wicket jQuery UI 7.10.1 released

2018-02-23 Thread Sebastien Briquet
Dear Wicket jQuery/Kendo UI users,

Due to a bug discovered yesterday that affects several Kendo UI components
on latest release (7.10.0 & 8.0.0-M9), I had to roll out a patch release :
7.10.1 which is now available at maven central.

Thanks & best regards,
Sebastien.

On Tue, Feb 20, 2018 at 12:27 AM, Sebastien Briquet 
wrote:

> Dear Wicket jQuery/Kendo UI users,
>
> Wicket jQuery UI 7.10.0 based on Apache Wicket 7.10.0 is now released!
>
> Changelog (same as 8.0.0-M9):
> https://github.com/sebfz1/wicket-jquery-ui/releases/tag/wick
> et-jquery-ui-8.0.0-M9
>
> API BREAKS:
> - Kendo UI: API BREAK Editor model object is now String type (no more
> generic T)
> - Kendo UI: API BREAK DataProviderBehavior#newJsonRow(T bean) now returns
> a JSONObject
>
> Maven dependencies:
>
> 
>
> 
> com.googlecode.wicket-jquery-ui
> wicket-jquery-ui
> 7.10.0
> 
>
> 
> com.googlecode.wicket-jquery-ui
> wicket-jquery-ui-theme-base
> 7.10.0
> 
>
> 
>
> 
> com.googlecode.wicket-jquery-ui
> wicket-kendo-ui
> 7.10.0
> 
>
> 
> com.googlecode.wicket-jquery-ui
> wicket-kendo-ui-theme-default
> 7.10.0
> 
>
> Questions / Issues:
>
> If you have any *question*, feel free to ask in the forum:
> http://groups.google.com/group/wicket-jquery-ui/
>
> If you notice an *issue*, please report it here:
> https://github.com/sebfz1/wicket-jquery-ui/issues
>
> Enjoy! :)
> Sebastien
>


Re: Issues upgrading to Wicket 8.0.0-M9

2018-02-20 Thread Sebastien Briquet
Right, latest jQuery-ui release is September 14, 2016 :(

On Tue, Feb 20, 2018 at 1:04 PM, Emond Papegaaij  wrote:

> On maandag 19 februari 2018 11:22:30 CET Thomas Heigl wrote:
> > 1. Current WiQuery version is not compatible with M9
> >
> > It still depends on WicketEventJQueryResourceReference. It would be
> great
> > if someone could cut a milestone release for WiQuery as well, so I can do
> > further testing with my application.
>
> I've just pushed a fix for this. WiQuery master now compiles against M9.
> Please
> not that wiquery-jquery-ui is hopelessly outdated. I hope to get that
> fixed in
> the comming month. However, it seems jquery-ui is dead as well (which does
> make it easier to stay up to date from now on :) ).
>
> Best regards,
> Emond
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


[ANNOUNCE] Wicket jQuery UI 7.10.0 released

2018-02-19 Thread Sebastien Briquet
Dear Wicket jQuery/Kendo UI users,

Wicket jQuery UI 7.10.0 based on Apache Wicket 7.10.0 is now released!

Changelog (same as 8.0.0-M9):
https://github.com/sebfz1/wicket-jquery-ui/releases/tag/wicket-jquery-ui-8.0.0-M9

API BREAKS:
- Kendo UI: API BREAK Editor model object is now String type (no more
generic T)
- Kendo UI: API BREAK DataProviderBehavior#newJsonRow(T bean) now returns a
JSONObject

Maven dependencies:




com.googlecode.wicket-jquery-ui
wicket-jquery-ui
7.10.0



com.googlecode.wicket-jquery-ui
wicket-jquery-ui-theme-base
7.10.0





com.googlecode.wicket-jquery-ui
wicket-kendo-ui
7.10.0



com.googlecode.wicket-jquery-ui
wicket-kendo-ui-theme-default
7.10.0


Questions / Issues:

If you have any *question*, feel free to ask in the forum:
http://groups.google.com/group/wicket-jquery-ui/

If you notice an *issue*, please report it here:
https://github.com/sebfz1/wicket-jquery-ui/issues

Enjoy! :)
Sebastien


[ANNOUNCE] Wicket jQuery UI 8.0.0-M9 released

2018-02-19 Thread Sebastien Briquet
Dear Wicket jQuery/Kendo UI users,

Wicket jQuery UI 8.0.0-M9 based on Apache Wicket 8.0.0-M9 is now released!

Changelog:
https://github.com/sebfz1/wicket-jquery-ui/releases/tag/wicket-jquery-ui-8.0.0-M9

API BREAKS:
- Kendo UI: API BREAK Editor model object is now String type (no more
generic T)
- Kendo UI: API BREAK DataProviderBehavior#newJsonRow(T bean) now returns a
JSONObject

Maven dependencies:




com.googlecode.wicket-jquery-ui
wicket-jquery-ui
8.0.0-M9



com.googlecode.wicket-jquery-ui
wicket-jquery-ui-theme-base
8.0.0-M9





com.googlecode.wicket-jquery-ui
wicket-kendo-ui
8.0.0-M9



com.googlecode.wicket-jquery-ui
wicket-kendo-ui-theme-default
8.0.0-M9


Questions / Issues:

If you have any *question*, feel free to ask in the forum:
http://groups.google.com/group/wicket-jquery-ui/

If you notice an *issue*, please report it here:
https://github.com/sebfz1/wicket-jquery-ui/issues

Enjoy! :)
Sebastien


Re: Resetting Kendo DataTable column sort

2018-02-19 Thread Sebastien Briquet
Hi,

This is fixed. The backing ISortState should be a SingleSortState for this
reset behavior to be supported.
8.0.0-M9 & 7.10.0 should be released tonight, with the fix.

Thanks for having reported the issue!
Sebastien.


Re: Resetting Kendo DataTable column sort

2018-02-16 Thread Sebastien Briquet
Hi,

I will try to have a look at this over the week-end (which is already more
than overbooked so no promises...)

Best regards,
Sebastien


On Fri, Feb 16, 2018 at 4:47 PM, hkacoding  wrote:

> Hello,
>
> using wicket.kendo.ui.datatable.DataTable and with ISortStateLocator data
> provider with SingleSortState.
>
> Problem is that resetting sort to original state is difficult because with
> 3rd click of header cell 'setSort' is never called, so sort state stays in
> descending state with same sort property.
>
> Overrider DataProviderBehavior/setSort to see what happens and appears that
> 'setSort' is never called on 3rd click of header because variable
> 'logicPattern' is null
>
> DataProviderBehavior:
>   if (logicPattern != null) {
> this.setSort(PropertyUtils.unescape(logicPattern),
> fieldPattern == null ? SortOrder.NONE : (fieldPattern.equals("asc") ?
> SortOrder.ASCENDING : SortOrder.DESCENDING));
> }
>
> Using Wicket 7.9
>
> Suggestions ?
>
> hk
>
> --
> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-
> f1842947.html
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


[ANNOUNCE] Wicket jQuery UI 6.13.0 is released

2014-01-18 Thread Sebastien Briquet
Hi,

Wicket jQuery UI 6.13.0 based on Apache Wicket 6.13.0 is released and will 
shortly be available in Maven Central.

Please be sure to read the changelog, available at the wiki page:
https://github.com/sebfz1/wicket-jquery-ui/wiki/%5Bchangelog%5D-wicket-jquery-ui-6.13.0

Maven dependency


com.googlecode.wicket-jquery-ui
wicket-jquery-ui
6.13.0


Non Maven users can download the jars manually from here
http://central.maven.org/maven2/com/googlecode/wicket-jquery-ui/

Enjoy!
Sebastien
http://www.7thweb.net/wicket-jquery-ui/


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org