Re: CheckGroup and AjaxPagingNavigator

2009-06-01 Thread JulianS
Thanks Igor However, I'm not seeing any such factory methods in 1.4-rc2. The only subclass of PagingNavigationLink is AjaxPagingNavigationLink; there's no submit version. As I see it, my best option is to create my own AjaxPagingNavigationSubmitLink by cloning the code in AjaxSubmitLink. I have

Re: TreeTable and column issues

2009-04-30 Thread JulianS
I ran into similar problems, and decided to take a different approach. See http://javathoughts.capesugarbird.com/2009/03/jquery-tree-table-for-wicket.html. Julian -- View this message in context: http://www.nabble.com/TreeTable-and-column-issues-tp23302841p23325974.html Sent from the Wicket -

Re: Wicket Tree with Swing DefaultMutableTreeNode

2009-04-22 Thread JulianS
Hi, I did it a different way. I have no problem adding checkboxes with this technique. See http://javathoughts.capesugarbird.com/2009/03/jquery-tree-table-for-wicket.html. -- View this message in context:

Contract opportunity: San Francisco Bay Area

2008-12-08 Thread JulianS
We are a startup company in Mountain View with lots of Wicket code to build. I need a contractor to work with me to get it done. Must be able to come into the Mountain View office at least several days a week. Julian -- View this message in context:

Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread JulianS
I am experiencing exactly the problem outlined in the subject of this post, and I would really appreciate any help I can get, as I am under a deadline. It's the first time I'm using Wicket with JPA, and I just don't understand why this isn't working. I have a Wicket dataprovider that looks like

Re: Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread JulianS
Oops...I meant: Bar bar = myApi.getBar(); ListFoo foos = bar.getFoos(); JulianS wrote: I am experiencing exactly the problem outlined in the subject of this post, and I would really appreciate any help I can get, as I am under a deadline. It's the first

Re: Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread JulianS
dataprovider#model() look like? are you using a loadable detachable model? -igor On Mon, Nov 3, 2008 at 11:04 AM, JulianS [EMAIL PROTECTED] wrote: I am experiencing exactly the problem outlined in the subject of this post, and I would really appreciate any help I can get, as I am under

Re: Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread JulianS
where b.id = :id Good luck, James. On Mon, Nov 3, 2008 at 7:04 PM, JulianS [EMAIL PROTECTED] wrote: I am experiencing exactly the problem outlined in the subject of this post, and I would really appreciate any help I can get, as I am under a deadline. It's the first time I'm using

Re: New Wicket Grails Plug-in Available + about the Groovy wicket builder

2008-07-22 Thread JulianS
I just tried this plugin for the first time and I got the example to run. But as soon as I tried to do something as simple as loop through a list of items, it all came unstuck (code below). It seems to me like the mismatch between Wicket's use of anonymous inner classes and Groovy's lack of

Re: generics

2008-07-16 Thread JulianS
I converted our project to 1.4 as an experiment. It's quite large (257 source files). It was a bit tedious changing xxxModel to xxDefaultModel, etc, but it wasn't too bad. I haven't fixed all the warnings though. I think the design will benefit us and the conversion will be worth it. We use this

Re: IE/XP FileUpload Problem

2008-04-14 Thread JulianS
I ended up using workaround 2, which was the easiest to implement, namely preventing keystrokes in the text field and requiring the user to click the Browse button: FileUploadField fuf = new FileUploadField(FIELD_ID); fuf.add(new SimpleAttributeModifier(onkeydown, if(event.keyCode==8){return

IE/XP FileUpload Problem

2008-04-11 Thread JulianS
There is a well-known problem with the file upload control in IE that causes user confusion. In this situation the submit button refuses to respond and no error is shown to the user. I'm wondering if any Wicketeers have found a workaround. From http://support.microsoft.com/kb/892442: Users must

Re: Overlay div on ajax call

2008-03-19 Thread JulianS
Finally, I've posted my solution which suits my purpose very well: http://javathoughts.capesugarbird.com/2008/03/ajax-button-with-overlay-div-and-wait.html Julian JulianS wrote: Martijn Dashorst wrote: See wicketstuff-minis' veil Martijn Thanks for the suggestion. I've tried

Improvements to Wicketstuff Suckerfish Dropdowns

2008-03-11 Thread JulianS
I have checked in the following minor improvements: - Changed references to Link to AbstractLink to make the implementation more general - Added a down or right arrow icon if there are children - Upgraded to Wicket 1.3.1 See

Improvements to Wicketstuff Suckerfish Dropdowns

2008-03-11 Thread JulianS
I have checked in the following minor improvements: - Changed references to Link to AbstractLink to make the implementation more general - Added a down or right arrow icon if there are children - Upgraded to Wicket 1.3.1 See

Overlay div on ajax call

2008-02-14 Thread JulianS
I am trying to overlay a mask div during an ajax call but there is obviously something I don't understand. I would appreciate any advice. If I do the following in my ajax button subclass, the mask gets displayed but never hidden. The order of the script parameter versus my style string makes no

Re: Overlay div on ajax call

2008-02-14 Thread JulianS
Timo Rantalaiho wrote: We've done it a bit differently -- all styling (including the high z-index) in CSS, and just the visibility control by IAjaxIndicatorAware. Hi Timo If you have an example you can share I'd appreciate it. Julian -- View this message in context:

Re: Overlay div on ajax call

2008-02-14 Thread JulianS
Martijn Dashorst wrote: See wicketstuff-minis' veil Martijn Thanks for the suggestion. I've tried it, and it works fine when you are trying to veil a component in response to an action, then unveil it in response to another, However, if I try to enable the veil at the start of an ajax

Re: FileUploadField problem

2008-01-23 Thread JulianS
Igor, We see the same problem for the URL below on IE 6 and 7. It works fine in FF. Thanks, Julian igor.vaynberg wrote: seems to be working fine at http://wicketstuff.org/wicket13/upload/single -igor -- View this message in context:

FileUploadField problem

2008-01-22 Thread JulianS
We're having a strange problem with FileUploadField (using Wicket 1.3.0). If the user enters a bogus string in the text part of the field, the form will not respond. That is, even if you click a button or hit enter, there is no response and no exception. How can we get it to respond with an

Our experience with Wicket

2008-01-17 Thread JulianS
We recently released the first version of our product based on Wicket (woo hoo!). I've blogged about the experience http://javathoughts.capesugarbird.com/2008/01/year-of-wicket.html here . Julian -- View this message in context:

Re: [ANNOUNCE] Apache Wicket 1.3 released

2008-01-02 Thread JulianS
Congratulations to the Wicket team for an outstanding job! We have just released our first product based on Wicket 1.2.6 and we are hard at work on the next version, based on 1.3. Julian -- View this message in context:

Re: Suckerfish Dropdowns contributed to Wicketstuff

2007-12-28 Thread JulianS
I have fixed the problem. Please try it again and let me know if it works. Julian tsuresh wrote: I tried this example and it worked well in navigation but I got a problem in it when one of my menus is named as AddUser which contains the form to add new user. When I fill the form and try to

Re: Suckerfish dropdowns for wicket

2007-12-17 Thread JulianS
Matej Knopp-2 wrote: Why don't you post a comment to the article? -Matej I'm the author and I'd be happy to contribute the code to wicket-stuff, if someone tells me the process. I've actually upgraded the code to support submenus but haven't had a chance to post it yet. Julian -- View

Re: wicket applet issue

2007-12-05 Thread JulianS
zandile wrote: I have been trying all sorts of work arounds to include an applet into wicket: I keep getting an classnotfoundexception in the java console for the applet. I am running wicket 1.2.6 and I am not sure what exactly is wrong with this, My applet runs fine when I run it in

Problem with 1.3 Validation and Conversion order

2007-12-04 Thread JulianS
We are migrating our app from 1.2.6 to 1.3-rc1 and we have certain form fields that have both a converter and a validator attached to them. In 1.2.6, the validator was called first, as it should be; in 1.3 it's the other way around and it's therefore broken. The only changes we've made are as per

Re: Real World Ajax Examples/Tutorials/Help

2007-11-09 Thread JulianS
Curtis Cooley-2 wrote: Also, it seems that when I attempt to enable ajax, whenever I click on another tab, I get the page expired link. What's up with that? I am also seeing the page expired problem frequently with 1.3.0-beta4. We are just in the process of upgrading to 1.3 from 1.2.6

AjaxTabbedPanel and wicketSerializeForm

2007-10-16 Thread JulianS
Hi I'm able to warn the user not to leave a form if it's dirty. This compares the value of wicketSerializeForm() in the onload and onbeforeunload events and it works well. However, I also have some pages with forms in tabs, and I need to warn the user if he tries to switch tabs when a form is

Re: Prompting a User to Save When Leaving a Page

2007-10-02 Thread JulianS
Thanks, this is a great tip. swaroop belur wrote: Have a look at this blog http://www.jroller.com/karthikg/entry/modelling_client_side_form_modifications#comments Basically state of the form onload is compared to that of beforeonunload. Just understand the concept and modify accordingly.

Prompting a User to Save When Leaving a Page

2007-10-01 Thread JulianS
I'd like to know if there is a way to prompt a user to save when leaving a page using Wicket 1.2.6. I need to display a confirmation message only if the form has been dirtied. There is a javascript-only solution http://www.4guysfromrolla.com/webtech/100604-1.shtml here . It's kind of ugly

Javapolis 2007

2007-09-18 Thread JulianS
I see Martijn is presenting at Javapolis this year. Are there any other Wicket-related BOFs or activities? Julian -- View this message in context: http://www.nabble.com/Javapolis-2007-tf4476069.html#a12762878 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: First Day Disgust!

2007-09-10 Thread JulianS
Behind chickabee's attempt to provoke the Wicket community (which Eelco has commendably resisted) lies a real message, namely that there are so many web frameworks out there, that people only have enough time to kick the tyres before deciding which one to use, and therefore first impressions are

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-07 Thread JulianS
Thank you Carlos! This was exactly what I needed to do. Julian Carlos Pita-4 wrote: protected void onUpdate(AjaxRequestTarget target) { dropDown2.clearInput(); --- reset input !!! dropDown2.setModelObject(null);

Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread JulianS
I am using Wicket 1.2.6. I have 3 DropDownChoices (and some other fields) on a form. The first DropDownChoice resets the selections in the other DropDownChoices using AjaxFormComponentUpdatingBehavior(onchange). All the DropDownChoices use PropertyModels. This all works fine until the form is