Re: DateTimeField AJAX DatePicker not work

2016-02-04 Thread Bas Gooren
Hi Christopher, Martin,

I just did a quick debug, and it’s caused by the inline enclosure. When I 
replace that with a WebMarkupContainer, and manage the visibility of that 
element, everything works as expected.

See my gist here: https://gist.github.com/bgooren/11602fa0d786548bfd70

We’ve had some unexpected issues with inline enclosures in the past, which is 
why I usually use explicit containers.

In any case: the DatePicker behavior does not get it’s renderHead() method 
called once the second DateTimeField becomes visible, and it is inside the 
inline enclosure. Why that is the case requires more debugging. My gist 
provides a solution in the meantime.

Met vriendelijke groet,
Kind regards,

Bas Gooren

Op 3 februari 2016 bij 23:41:21, Martin Grigorov (mgrigo...@apache.org) schreef:

Hi,  

I don't have time to debug this problem now but I'll try to do it early  
next week.  
Please create a ticket in JIRA so it won't get forgotten! Thanks!  

Martin Grigorov  
Wicket Training and Consulting  
https://twitter.com/mtgrigorov  

On Tue, Feb 2, 2016 at 2:02 PM, Christopher Auth  wrote:  

> Hi,  
> I have some problems with the  
> org.apache.wicket.extensions.yui.calendar.DateTimeField. In the  
> constructor I set the visibility to false. Ajax redraw, when a checkbox  
> is clicked, the DateTimeField is marked as visible. As far as everything  
> works. Only then I can't open the DatePicker of the second DateTimeField.
>  
> An example is below https://github.com/ChrAu/wickettest  
> to find.  
>  
> I have test it with Wicket 6.19/6.22/7.2  
>  
> Regards  
> Christopher  
>  
> -  
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org  
> For additional commands, e-mail: users-h...@wicket.apache.org  
>  
>  


Wicket 6.15 - onSubmit not getting called for AjaxButton

2016-02-04 Thread sameerkhanna
Hi,

We recently upgraded from wicket 1.3 to wicket 6. However, it was a step by
step upgrade for each major version. 

I have a form in my application that has components being added to a
RepeatingView. For the particular page where I am facing the issues, we have
2 child components that are exactly the same (a couple of text fields and a
button). The buttons have ajax behavior attached to them. On click of these
buttons, we could add more components to the form (e.g. for additional
beneficiaries in a policy). Now the issue that am facing is that the
onSubmit method for the first button gets called when it is clicked but
nothing happens when I click on the 2nd button. It is exactly the same part
of code base for both the components - 

AjaxButton addButton = new AjaxButton("e_add_button") {

protected void 
onSubmit(AjaxRequestTarget target, Form form){

BeneficiaryComp.this.addComponent(target);
}
protected void 
onError(AjaxRequestTarget target, Form form){

BeneficiaryComp.this.addComponent(target);
}

};

No request is triggered on click of the second button and I don't see any
stack trace as well. I am kinda clueless for what might be happening.

I am not sure if I faced this issue during the upgrade from 1.3 to 1.4 or
1.4 to 1.5 as this scenario was not tested then.

Any help would be much appreciated. Thanks!

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-15-onSubmit-not-getting-called-for-AjaxButton-tp4673516.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Wicket 6.15 - onSubmit not getting called for AjaxButton

2016-02-04 Thread Ernesto Reinaldo Barreiro
Why do you mean that are exactly the same?

Just an idea see the markup of the buttons and check that they do not have
the same id="": otherwise they are just the the same at HTML level...
and before wicket 1.5 actions were attached to button on an onClick and
after that as jquery.bind().

@Martin.

Please correct me if I'm saying something wrong?

On Thu, Feb 4, 2016 at 11:34 PM, sameerkhanna 
wrote:

> Hi,
>
> We recently upgraded from wicket 1.3 to wicket 6. However, it was a step by
> step upgrade for each major version.
>
> I have a form in my application that has components being added to a
> RepeatingView. For the particular page where I am facing the issues, we
> have
> 2 child components that are exactly the same (a couple of text fields and a
> button). The buttons have ajax behavior attached to them. On click of these
> buttons, we could add more components to the form (e.g. for additional
> beneficiaries in a policy). Now the issue that am facing is that the
> onSubmit method for the first button gets called when it is clicked but
> nothing happens when I click on the 2nd button. It is exactly the same part
> of code base for both the components -
>
> AjaxButton addButton = new AjaxButton("e_add_button") {
>
> protected void
> onSubmit(AjaxRequestTarget target, Form form){
>
> BeneficiaryComp.this.addComponent(target);
> }
> protected void
> onError(AjaxRequestTarget target, Form form){
>
> BeneficiaryComp.this.addComponent(target);
> }
>
> };
>
> No request is triggered on click of the second button and I don't see any
> stack trace as well. I am kinda clueless for what might be happening.
>
> I am not sure if I faced this issue during the upgrade from 1.3 to 1.4 or
> 1.4 to 1.5 as this scenario was not tested then.
>
> Any help would be much appreciated. Thanks!
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Wicket-6-15-onSubmit-not-getting-called-for-AjaxButton-tp4673516.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Regards - Ernesto Reinaldo Barreiro


Re: WicketStuff status and future; awesome-wicket project

2016-02-04 Thread Sebastien
Hi Ilya

wicket-calendar is now little bit old...
A more recent implementation (fullcalendar v2) can be found in the
wicket-jquery-ui project (artifact: wicket-jquery-ui-calendar)

Also, an implementation of the Kendo UI library exists in the same project
(artifact: wicket-kendo-ui)

Thanks & best regards,
Sebastien.


Re: DateTimeField AJAX DatePicker not work

2016-02-04 Thread Martin Grigorov
Thank you for helping, Bas!

So it is one of the known issues with Wicket's enclosures. There are
several tickets in JIRA with similar problems.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Feb 4, 2016 at 10:51 AM, Bas Gooren  wrote:

> Hi Christopher, Martin,
>
> I just did a quick debug, and it’s caused by the inline enclosure. When I
> replace that with a WebMarkupContainer, and manage the visibility of that
> element, everything works as expected.
>
> See my gist here: https://gist.github.com/bgooren/11602fa0d786548bfd70
>
> We’ve had some unexpected issues with inline enclosures in the past, which
> is why I usually use explicit containers.
>
> In any case: the DatePicker behavior does not get it’s renderHead() method
> called once the second DateTimeField becomes visible, and it is inside the
> inline enclosure. Why that is the case requires more debugging. My gist
> provides a solution in the meantime.
>
> Met vriendelijke groet,
> Kind regards,
>
> Bas Gooren
>
> Op 3 februari 2016 bij 23:41:21, Martin Grigorov (mgrigo...@apache.org)
> schreef:
>
> Hi,
>
> I don't have time to debug this problem now but I'll try to do it early
> next week.
> Please create a ticket in JIRA so it won't get forgotten! Thanks!
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Feb 2, 2016 at 2:02 PM, Christopher Auth  wrote:
>
> > Hi,
> > I have some problems with the
> > org.apache.wicket.extensions.yui.calendar.DateTimeField. In the
> > constructor I set the visibility to false. Ajax redraw, when a checkbox
> > is clicked, the DateTimeField is marked as visible. As far as everything
> > works. Only then I can't open the DatePicker of the second DateTimeField.
> >
> > An example is below https://github.com/ChrAu/wickettest
> > to find.
> >
> > I have test it with Wicket 6.19/6.22/7.2
> >
> > Regards
> > Christopher
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>


Re: WicketStuff status and future; awesome-wicket project

2016-02-04 Thread Francois Meillet
Hi Ilya,

I just use google ! 

François 








Le 4 févr. 2016 à 01:28, Илья Нарыжный  a écrit :

> François,
> 
> Thanks for the list! Just few questions/comments:
> 
> 1) How did you collect that lists? Probably I can dig more by that way.
> 2) Regarding solutions: I don't want to have in the list sites - under
> solutions I assume just software which can be installed standalone.
> 
> Regards,
> Ilya
> 
> -
> Orienteer(http://orienteer.org) - Modern Data Warehouse for your business.
> 
> 2016-02-02 23:43 GMT-08:00 Francois Meillet :
>> Hi Ilya,
>> 
>> 
>> You can add theses products :
>> 
>> 
>> Under Web Frameworks
>> 
>> Apache OODT http://oodt.apache.org
>> Data grid framework for transparent search and discovery of disparate 
>> science resources
>> 
>> Apache Openmeetings http://openmeetings.apache.org
>> Apache Openmeetings provides video conferencing, instant messaging, white 
>> board, collaborative document editing and other groupware tools
>> 
>> Apache Nutch https://nutch.apache.org
>> Apache Nutch is a highly extensible and scalable open source web crawler 
>> software project
>> 
>> Apache Syncope https://syncope.apache.org
>> Apache Syncope is an Open Source system for managing digital identities in 
>> enterprise environments
>> 
>> Dcm4che http://www.dcm4che.org
>> Open Source Clinical Image and Object Management Dcm4che
>> 
>> WebAnno https://webanno.github.io/webanno/
>> WebAnno, general purpose web-based annotation tool for a wide range of 
>> linguistic annotations
>> 
>> 
>> 
>> 
>> Under Solutions
>> 
>> CA http://www.ca.com
>> Identity Governance products
>> 
>> Callfire https://www.callfire.com
>> Phone Numbers, Voice Broadcasting & Auto Dialer Software
>> 
>> Cqrollcall http://cqrollcall.com/products-services/cqrc-engage/
>> All-in-one tool to execute advocacy campaigns
>> 
>> Flowzone http://www.flowzone.com
>> The planet's most adaptable project management
>> 
>> GeoServer http://geoserver.org
>> GeoServer is an open source server for sharing geospatial data
>> 
>> Jfrog http://www.jfrog.com
>> Managing Binaries for Maven Repository, Docker, .Net, Ruby and More
>> 
>> Jumio https://www.jumio.com
>> Scan and Validate Credit Cards and IDs
>> 
>> Multicom http://multicom.co.uk
>> Online travel, booking, agent, management software multicom
>> 
>> OpenCRS 
>> http://www.openroadsconsulting.com/intelligent-transportation-systems/products/opencrs/
>> Data Fusion and Condition Reporting Tool OpenCRS
>> 
>> Servoy https://www.servoy.com
>> Business Application Platform for ISVs
>> 
>> Soweroasis http://www.poweroasis.com
>> Energy management solutions
>> 
>> Tentelemed http://www.tentelemed.com
>> Trusted Information systems for health professionals
>> 
>> 
>> 
>> François
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Le 2 févr. 2016 à 08:26, Tobias Soloschenko 
>>  a écrit :
>> 
>>> Hi Ilya,
>>> 
>>> In your list the nashorn project is missing - it is a way to allow users to 
>>> execute javascript on server side. I am going to add it to the list of 
>>> submodules, now.
>>> 
>>> Anyway it is up to the community to update the wiki or to bring projects up 
>>> to date and this would be a lot harder if it would not be at a central 
>>> place.
>>> 
>>> kind regards
>>> 
>>> Tobias
>>> 
 Am 31.01.2016 um 23:41 schrieb Илья Нарыжный :
 
 Thank you, Martin!
 After you reply I understand that significant part of my concerns
 actually related to moving everything under single repository (Core).
 I mean, that migration of a project just to community group will help
 pretty much the same benefits: ability to take over some project after
 loosing of interest from author.
 Btw, I also recommend to establish one more "condition" for moving
 project to wicketstuff: delete source repository or mention that
 project has been moved. I know a couple of projects for which it's
 hard to understand that they were moved and newer version can be found
 in wicketstuff.
 Also, as I can see, not all good projects have wiki page or README.md
 well prepared...
 
 Regards,
 
 Ilya
 -
 Orienteer(http://orienteer.org) - Modern Data Warehouse for your business.
 
 2016-01-31 12:45 GMT-08:00 Martin Grigorov :
> Hi,
> 
> 
>> On Sun, Jan 31, 2016 at 1:38 AM, Илья Нарыжный  wrote:
>> 
>> Guys,
>> 
>> Please help me understand what's status of wicketstuff project and
>> what's a roadmap for the future?
>> 
>> I'm asking, because from community stand point I don't see so much pros.
>> 
>> Pros:
>> 
>> 1) It's easy to have all wicket related projects in place and observe at
>> once.
>> 
>> But this pros can be easily done by creating a