TextFilteredPropertyColumn[T] and getFilterModel

2008-12-28 Thread Jan Kriesten
Hi, I'm trying to work out how to handle TextFilteredPropertyColumn with wicket 1.4. I'm trying to do the following: tf = new TextFilteredPropertyColumnM( new Model( Name ), COL_NAME, name ){ protected IModelString getFilterModel( FilterForm form ) { return new PropertyModelString(

[GMAP2] how to add float Panel

2008-12-28 Thread NHSoft.YHW
my requirement desc: 1.add a float panel component at top left corner of the GMAP2, when the map zoom in or zoom out, the panel alway show at top left corner. 2.adjust panel transparency, so user can see map image behind the panel. so i want to know how to code in GMAP2. thanks. -- View

Re: Using the org.apache.wicket.jmx MBeans with WebSphere

2008-12-28 Thread shetc
Hi Phil, Are you using WebSphere? Steve -- View this message in context: http://www.nabble.com/Using-the-org.apache.wicket.jmx-MBeans-with-WebSphere-tp21188288p21193228.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: What is your experience on the time of development ?

2008-12-28 Thread Jonathan Locke
I think it depends on several things: - How complex is your UI? - How good are you with objects? - How many reusable pieces do you have from old Wicket projects? On a very complex project where I can reuse old code, I think I can get as much as 4-5x over something like Struts (which, I

Re: Modal Window height

2008-12-28 Thread David Ojeda
Thanks Matej, that did it On Sun, Dec 28, 2008 at 9:30 PM, Matej Knopp matej.kn...@gmail.com wrote: Hi, try modalwindow.setUseInitialHeight(false); -Matej On Sat, Dec 27, 2008 at 9:39 PM, David Ojeda dojeda-l...@integra.la wrote: Hello all, I am using a modal window with a panel

Checkboxes validator

2008-12-28 Thread Eyal Golan
Hi, I created a small validator and would like to share it with you all. If there is already something like that, I will appreciate if someone direct me to it. This is a From Validator. If you have several checkboxes in a form and you want that *at least* one checkbox to be selected, you can use

Re: Default Focus Behavior?

2008-12-28 Thread Jonathan Locke
I have a really elegant solution to this problem that is general enough to go in core or extensions eventually (solves all of the above problems). Actually, I'm putting together a short, but action-packed book called Twenty-Six Wicket Tricks and the code for this problem is going to be trick F

Re: Using the org.apache.wicket.jmx MBeans with WebSphere

2008-12-28 Thread shetc
OK, finally figured it out. As it is explained in the org.apache.wicket.jmx.Initializer Java API doc, I need to set either one of these 2 JVM system properties: wicket.mbean.server.agentid=WebSphere or wicket.mbean.server.class=com.ibm.ws.management.PlatformMBeanServer -- View this message in

Re: InstanceAlreadyExistsException when Redeploying in Websphere

2008-12-28 Thread shetc
Was a JIRA ever opened for this issue? I'm seeing the same problem in my WebSphere setup. Plus, it appears that my app then fails with WicketRuntimeException: signin is already mounted for BookmarkablePageEncoder -- View this message in context:

Re: extra 'onclick' is generated for an image wrapped by a link

2008-12-28 Thread Doug Donohoe
This behavior is in 1.4-m3 and is new. I was running 1.4-m2 and a wicket:link around an a/img combo did the expected thing (see the current http://online.ddpoker.com/ for an example - the rss image links). I agree that this is wrong. -Doug Trent Larson wrote: I have the following plain

Re: [GMAP2] how to add float Panel

2008-12-28 Thread Sven Meier
Use absolute CSS positioning to let your panel float over the GMap2 component.|| | |Sven NHSoft.YHW schrieb: my requirement desc: 1.add a float panel component at top left corner of the GMAP2, when the map zoom in or zoom out, the panel alway show at top left corner. 2.adjust panel

FormComponent cookie persistent issue

2008-12-28 Thread Murat YĆ¼cel
Hi All I have a strange problem with persisting form component values. In my project i have a SignInPanel. The SignInPanel has a rememberMe checkbox. If the checkbox is checked then the values will get persisted in a cookie. This part is working very well if the user doesnt login from a mounted

Dynamically show and edit a textarea in a table

2008-12-28 Thread Claudio Miranda
I need to dynamically show a textarea in a row of a table. The textarea should only be displayed if the user wants to, as he needs to click at some link. I developed 2 tests using an AjaxEditableMultiLineLabel and a not visible textarea. See the runnable code below, to take a look at. The

Re: Dynamically show and edit a textarea in a table

2008-12-28 Thread Claudio Miranda
To let you know, the AjaxEditableMultiLineLabel.onEdit and AjaxFallbackLink.onClick are called and debug messages logged. Tried with wicket 1.3.5, same results, no textarea displayed. Claudio Miranda wrote: I need to dynamically show a textarea in a row of a table. The textarea should

Re: extra 'onclick' is generated for an image wrapped by a link

2008-12-28 Thread Jeremy Thomerson
This is not a real great idea for refactoring, etc, but it's your call. On Fri, Dec 12, 2008 at 5:12 PM, Trent Larson tr...@trentlarson.com wrote: BTW, I don't want our UI team to have to add a component every time they add a link, so I'll try to avoid Wicket links altogether and have them

Re: Dynamically generating an img tag

2008-12-28 Thread Jeremy Thomerson
Or use a WebMarkupContainer and an AttributeModifier. Wrap this in your own class so you're not writing HTML in your Java code. Then your links are actually in your HTML (except the SRC which gets generated in code) and your designers can stylize the links etc. Much better IMHO. Something

Re: Dynamically generating an img tag

2008-12-28 Thread Cristina
Thanks Jeremy, Jonathan and Jan. Jan, I've tried your suggestion and it works as expected... :-) Still, Jeremy is right when he defends a cleaner solution. I'll try his suggestion as well. The Wicket API for Google Charts seems very interesting, Jonathan. I'm already using charts4j to encode

RE: Dynamically show and edit a textarea in a table

2008-12-28 Thread Heikki Uotinen
Hi, if you put extra div around textarea and add it to the target it should work final TextArea rejectComment2 = new TextArea(rejectComment2, new Model(aaa)); rejectComment2.setEnabled(false); rejectComment2.setVisible(false); rejectComment2.setOutputMarkupId(true); final WebMarkupContainer