Re: Eclipse or IntelliJ

2013-02-22 Thread Gwyn Evans
On 20 February 2013 17:54, Stephen Walsh step...@connectwithawalsh.comwrote: I definitely like the look and feel of IDEA better, but time will tell if it's more productive. It will certainly take the full 30 day trial period to evaluate whether it's worth the cost. Don't forget that they

Migration issue: fire AjaxFormComponentUpdatingBehavior(change) by Javascript the Wicket 6 way?

2013-02-22 Thread Martin Dietze
I understand that with Wicket 6 the event handlers are no longer inline, thus calling input.onchange() will no longer work. But what do I now do instead? I have hand-written inputs which rely on onchange() being called via Javascript after user interaction. So what do I have to call inside my JS

Re: Migration issue: fire AjaxFormComponentUpdatingBehavior(change) by Javascript the Wicket 6 way?

2013-02-22 Thread Martin Grigorov
jQuery(selector).triggerHandler('change') On Fri, Feb 22, 2013 at 11:36 AM, Martin Dietze d...@fh-wedel.de wrote: I understand that with Wicket 6 the event handlers are no longer inline, thus calling input.onchange() will no longer work. But what do I now do instead? I have hand-written

Re: Migration issue: fire AjaxFormComponentUpdatingBehavior(change) by Javascript the Wicket 6 way?

2013-02-22 Thread Ernesto Reinaldo Barreiro
$(#componentid').trigger('change');? On Fri, Feb 22, 2013 at 10:36 AM, Martin Dietze d...@fh-wedel.de wrote: I understand that with Wicket 6 the event handlers are no longer inline, thus calling input.onchange() will no longer work. But what do I now do instead? I have hand-written inputs

Re: [Blog] How to replace component with animation

2013-02-22 Thread Martin Grigorov
Ernesto, Sebastien, Isn't that a good addition to WIquery/Wicket-JQuery-UI libraries ? JQuery UI provides many more effects. On Fri, Feb 22, 2013 at 1:18 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Martin, I have made this code publicly available (with some minor improvements

Re: [Blog] How to replace component with animation

2013-02-22 Thread Sebastien
Hi Martin, hi Ernesto, Yes, definitely... I never tried (and even thought about) this but I guess this is an important feature to have! Thank you very much, Ernesto! I look at the code in detail asap :) Best regards, Sebastien. On Fri, Feb 22, 2013 at 1:05 PM, Ernesto Reinaldo Barreiro

Re: Render script tag for jQuery before all other Javscript statements in the header?

2013-02-22 Thread Martin Dietze
On Fri, February 22, 2013, Martin Grigorov wrote: Read http://wicketinaction.com/2012/07/wicket-6-resource-management/ Thanks, did so. I modified my code according to the example found here:

Re: Render script tag for jQuery before all other Javscript statements in the header?

2013-02-22 Thread Martin Grigorov
On Fri, Feb 22, 2013 at 2:43 PM, Martin Dietze d...@fh-wedel.de wrote: On Fri, February 22, 2013, Martin Grigorov wrote: Read http://wicketinaction.com/2012/07/wicket-6-resource-management/ At the bottom of the article there is a link to a demo application. See

Re: TinyMCE.

2013-02-22 Thread anton
I use wicket 1.4.19. dependency groupIdorg.wicketstuff/groupId artifactIdtinymce/artifactId version1.4.19/version /dependency also gives me the same error with visural wicket. -- View this message in context:

Re: Render script tag for jQuery before all other Javscript statements in the header?

2013-02-22 Thread Martin Dietze
On Fri, February 22, 2013, Martin Grigorov wrote: At the bottom of the article there is a link to a demo application. See https://github.com/martin-g/blogs/blob/master/wicket6-resource-management/src/main/java/com/wicketinaction/ResourceManagementApplication.java#L100 But much simpler will

Dropdown choice value being set to default

2013-02-22 Thread venkat
Hi , I have a scenario, where from a Page link have to render a popup window and on submit of the popup window have to set the drop down selected value from popup window. My dropdown bix is inside a panel of Tab. It works fine when the already selected value of drop down and new value being

Re: TinyMCE.

2013-02-22 Thread Andrea Del Bene
Do you get the error running your project from Maven? I've built a quickstart project with Wicket 1.4.19 and TinyMCE but it works fine. I use wicket 1.4.19. dependency groupIdorg.wicketstuff/groupId artifactIdtinymce/artifactId version1.4.19/version /dependency also

Re: Eclipse or IntelliJ

2013-02-22 Thread Stephen Walsh
The only caveat to my development is that It will be commercial. I tried the community edition and it worked for my basic wicket dev, but the integration with JBoss in the commercial edition is *extremely* helpful. I could do all of it in the comman line, but I like one stop shop tools. I haven't

Redirect to relative URL

2013-02-22 Thread Sebastian Gaul
Hello, I have a server-relative URL like /target/index (starting with a slash) and I'm looking for a way to redirect to http://mydomain.com*/target/index*. In Wicket (unfortunately still 1.4) I tried the following: RequestCycle.get().setRequestTarget( new

JavsScriptUtils.writeJavaScript() in onRender() after Ajax updates

2013-02-22 Thread Martin Dietze
I've implemented a live search functionality where after changes the search results get displayed in a flyout menu. In the search results I add a css class to the search terms for highlighting them. This is done in the onRender() method: | public abstract class LiveSearchResultsFragment extends

Re: Twenty-Six Wicket Tricks Book

2013-02-22 Thread Sebastian Gaul
If somebody else wants to know it: He is not planning to finish his book. In fact, he never really started writing it: http://codeact.wordpress.com/coding/comment-page-1/#comment-85 2013/2/15 Ian Marshall ianmarshall...@gmail.com You could always visit the Coding: On Software Design Process

Re: JavsScriptUtils.writeJavaScript() in onRender() after Ajax updates

2013-02-22 Thread Sven Meier
That should work. Which Wicket version? Is this rendered on an Ajax request? Sven On 02/22/2013 05:07 PM, Martin Dietze wrote: I've implemented a live search functionality where after changes the search results get displayed in a flyout menu. In the search results I add a css class to the

Re: Dropdown choice value being set to default

2013-02-22 Thread Paul Bors
I think your question is too vauge for a quick response but... Why not hold on to a reference of the model for the component you're trying to change (the drop-down) and update it directly from the pop-up rather than setting the default module object? Use Ajax and add the drop-down to your target

Re: Integrating jquery scripts with wicket

2013-02-22 Thread Paul Bors
It's there in Wicket 6. If you want to see how to do it in Wicket 5 or older take a look at some other projects that use it such as: Wicked Charts http://Wicked-Charts.GoogleCode.com Wicket-Continuous-Calendar http://Wicket-Continuous-Calendar.GoogleCode.com/ To name a few that I worked with

Re: Redirect to relative URL

2013-02-22 Thread Bernard
You will find solutions under these subjects: redirect to an external non-Wicket page redirect to an external URL e.g. https://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html Regards, Bernard On Fri, 22 Feb 2013 17:06:09 +0100, you wrote: Hello, I have a

Re: Dropdown choice value being set to default

2013-02-22 Thread Paul Bors
TabbedPanel is a Panel so I don't think that might affect you negative. And since your drop down changes, you know for sure it is refreshed. Since it goes back to the default value rather than the one you expected after you changed the model object you know that something is wrong there. Maybe

Re: shared models - rules

2013-02-22 Thread Carl-Eric Menzel
On Fri, 22 Feb 2013 12:42:14 -0800 (PST) grazia grazia.russolass...@gmail.com wrote: Say I have a page with several components all sharing the same model; what are the rules of thumb to make sure the same model gets updated byt the different components on the page ? If you only ever pass

Re: shared models - rules

2013-02-22 Thread grazia
If the form contains a panel, and that panels contains a textfield, and all share the same IModelMyClass, this is what I see: the textField model gets updated, but not the panel's model and not the form's model. It seems I am missing something with the panels ... it is as if they were some sort

Re: shared models - rules

2013-02-22 Thread Carl-Eric Menzel
On Fri, 22 Feb 2013 13:23:20 -0800 (PST) grazia grazia.russolass...@gmail.com wrote: If the form contains a panel, and that panels contains a textfield, and all share the same IModelMyClass, this is what I see: the textField model gets updated, but not the panel's model and not the form's

Re: shared models - rules

2013-02-22 Thread grazia
public class RolesAppointment extends MyPage { private final IModelMyClass personnelModel = new CompoundPropertyModelMyClass(new MyClass()) ; final ListString rolesList = new ArrayListString(); public RolesAppointment() { createComponents(); } private void

Re: shared models - rules

2013-02-22 Thread Carl-Eric Menzel
form.add(new Button(appointButton) { public void onSubmit() { System.out.println(HERE = + getModelObject() ); -- whatever it is the choice in the autocomplete which is within the MyPersonnelPanel this is always null } I didn't look

404 error in nested ModalWindow IE 7

2013-02-22 Thread Jered Myers
Wicket 6.5 I am getting a 404 error in IE 7 when I open a ModalWindow in a ModalWindow. Both windows use page creators. Has anybody run into this before? The code works fine in Firefox, Chrome, and lE9+. This replicates in the Wicket examples if you use the Show modal dialog with a page

Re: 404 error in nested ModalWindow IE 7

2013-02-22 Thread Jered Myers
The same problem happens in IE 8. Using development mode (F12) in IE9+ to lower the browser version will not replicate the problem. On 02/22/2013 03:23 PM, Jered Myers wrote: Wicket 6.5 I am getting a 404 error in IE 7 when I open a ModalWindow in a ModalWindow. Both windows use page

Re: shared models - rules

2013-02-22 Thread grazia
THank you for the suggestion. It prints the MyClass object but nothing has ben set. Not even the converter of the AUtoCompleteTextFiled is being called ... I cannot figure out why ... On Fri, Feb 22, 2013 at 5:08 PM, duesenklipper [via Apache Wicket] ml-node+s1842946n4656705...@n4.nabble.com