Re: Event listeners not working after Javascript actions

2015-11-30 Thread EC James
Thanks for the clone idea, however it seems that AjaxButton cannot be cloned. I did try a similar idea, where I define the tab content outside of the tab, and only move it into the tab using '.replaceWith' when the page is fully loaded. This works but makes for some ugly transitions. The tabbed

Antwort: Re: Form: Validation of JSR-303 Class Level Constraints

2015-11-30 Thread Eugen Berenstein
Hi Martin, Yes but the 42Lines library did contain ValidationForm which allowed validation of class level constraints. This component is missing in the merged library. If it has been removed for some reason, is there another way to do class level validation? Eugen Berenstein Hi,

Re: Enable single components inside a container that is disabled?

2015-11-30 Thread Tom Götz
Unfortunately the project ist still running Wicket 6.x :-| Tom > On 30.11.2015, at 15:59, Sven Meier wrote: > > Hi, > > in Wicket 7 your AjaxLinks can override #isEnabledInHierarchy(). > > Have fun > Sven > > > On 30.11.2015 15:54, Tom Götz wrote: >> >> Hi there, >>

Re: Enable single components inside a container that is disabled?

2015-11-30 Thread Sven Meier
Hi Tom, in Wicket 6 you can override #isLinkEnabled() *and* #canCallListenerInterface() both returning true. Have fun Sven On 30.11.2015 16:06, Tom Götz wrote: Unfortunately the project ist still running Wicket 6.x :-| Tom On 30.11.2015, at 15:59, Sven Meier wrote:

Re: Enable single components inside a container that is disabled?

2015-11-30 Thread Sven Meier
Hi, in Wicket 7 your AjaxLinks can override #isEnabledInHierarchy(). Have fun Sven On 30.11.2015 15:54, Tom Götz wrote: Hi there, I have a form that can be either in „edit“ or „view“ mode. To toggle this, I simply call form.setEnabled(true|false), which works fine. Now, I have some ajax

Enable single components inside a container that is disabled?

2015-11-30 Thread Tom Götz
Hi there, I have a form that can be either in „edit“ or „view“ mode. To toggle this, I simply call form.setEnabled(true|false), which works fine. Now, I have some ajax links inside that form that should be enabled although the form itself is disabled. Yet, I found no way to achieve this, is

Re: Image based on external url model object

2015-11-30 Thread Sven Meier
Hi, > the main model is used for "src" +1, IMHO this is the main usage for this component. > the model is not itself an array of models Yeah, that's strange. Why not a separate component for tags? Regards Sven On 30.11.2015 15:05, Sebastien wrote: Hi Tobias, As I stated, I would prefer

Re: Image based on external url model object

2015-11-30 Thread Tobias Soloschenko
Hi, there is a separate component for source - even in the current implementation. (The default image / default source) Ok - then I am going to change the model to only contain the src information and add another method to get the models for srcset. kind regards Tobias > Am 30.11.2015 um

Re: Image based on external url model object

2015-11-30 Thread Martin Grigorov
Hi, On Nov 30, 2015 4:21 PM, "Sebastien" wrote: > > Hi Tobias, > > As I stated, I would prefer 2 different models so : > - the main model is used for "src" > - the model is not itself an array of models (I don't recall there is a > such case elsewhere in Wicket) > - it is

Re: Image based on external url model object

2015-11-30 Thread Tobias Soloschenko
Hi Martin :-D, and here it is: https://github.com/apache/wicket/pull/143 kind regards Tobias Am 30.11.15 um 21:00 schrieb Martin Grigorov: Hi, On Nov 30, 2015 4:21 PM, "Sebastien" wrote: Hi Tobias, As I stated, I would prefer 2 different models so : - the main model is

Re: Image based on external url model object

2015-11-30 Thread Sebastien
Hi Tobias, As I stated, I would prefer 2 different models so : - the main model is used for "src" - the model is not itself an array of models (I don't recall there is a such case elsewhere in Wicket) - it is easier to handle the CPM case As the other devs are now back from week-end, it would be