Re: Form processing issues and questions (particularly related to Border and ListMultipleChoice)

2009-09-01 Thread Martin Makundi
> However, on the second call to > updateModel, one of the first things done is to call clear() on my model > object, which clears the converted input as well (since they are the > same collection).  This results in the loss of my converted input, which > in turn, blanks out my model.  I have worke

Form processing issues and questions (particularly related to Border and ListMultipleChoice)

2009-09-01 Thread Crabb, Curtis
I am hoping that someone can shed some light upon a few questions I have around how Borders affect form processing. I have a Border that I commonly use within my application. When using this Border, I have noticed that all my FormComponents are being processed twice (validateRequired, convertInpu

Re: Modal window position - always centred, even on long page

2009-09-01 Thread mfs
Igor, Thanks..what you suggested worked. I was making a mistake in adding the javascript, it wasnt getting included due to a missing wicket:link tag. Farhan mfs wrote: > > I believe what you are suggesting requires modifying the ModalWindow class > where the modal.js is added. Am i right ?

Re: Palette rendering issue

2009-09-01 Thread Jeremy Thomerson
If you want to replace any html for a component, simply put it in your source tree at the same location it would appear in Wicket's jar. As long as your jar takes precedence on your classpath (which is usually the case since you build yours into the war and wicket goes in the lib dir), then your f

Re: [OT] OWasp Vulnerability Validation

2009-09-01 Thread Doug Leeper
Nino, Further searching found a lot more information...but it is scattered. I was hoping that someone may have aggregated a quick tip sheet about these vulnerabilities and how Wicket can/does help...but haven't found the "golden ticket" yet. I was also hoping that someone has had experience in

Palette rendering issue

2009-09-01 Thread Troy Cauble
When "rows" is small, say 4, and "allowOrder" is false, Palette renders less than perfectly. I think it's due to a couple of extra s left in the buttons panel when the order buttons are made invisible. Is there any way I could replace that Palette.html without replacing the whole component? Or

Re: UTF-8

2009-09-01 Thread Eelco Hillenius
>> But I'm sure you can write a properties implementation that reads from >> UTF-8 in a few hours max, especially now that you have an example in >> Tapestry's code. Patch is welcome :-) > > Why not just "borrow" the code from Tapestry?  It's Apache licensed of > course, so no issues there. Sure,

Re: FeedbackPanel not displaying in IE6

2009-09-01 Thread Dane Laverty
Good call. Looks like it's a Peek-a-boo bug ( http://www.positioniseverything.net/explorer/peekaboo.html ). Sometimes I get so excited about my Java work that I forget my basic HTML and CSS pitfalls. Dane On Tue, Sep 1, 2009 at 11:57 AM, Matej Knopp wrote: > This is most likely related to your

Re: Dynamic Optgroups in Wicket

2009-09-01 Thread Michael O'Cleirigh
Hi Gary, Hi,I am kind of new to Wicket and am having a difficult time finding some decent info on creating optgroups within selects.I basically have a structured list in my DB which in turn has children - perfect solution would be to use dynamically generated optgroups with their children whi

Re: FeedbackPanel not displaying in IE6

2009-09-01 Thread Matej Knopp
This is most likely related to your styling. Wicket only generates simple ul/li markup that shouldn't trigger any IE6 bugs. -Matej On Tue, Sep 1, 2009 at 8:51 PM, Dane Laverty wrote: > The FeedbackPanel on my site is not displaying in IE6, unless the user > minimizes and restores the browser wind

FeedbackPanel not displaying in IE6

2009-09-01 Thread Dane Laverty
The FeedbackPanel on my site is not displaying in IE6, unless the user minimizes and restores the browser window. I would imagine other Wicket developers have run into this, but I don't see anything about in in the archives. Does anyone have a solution? Dane

Re: UTF-8

2009-09-01 Thread James Carman
On Tue, Sep 1, 2009 at 12:00 PM, Eelco Hillenius wrote: > But I'm sure you can write a properties implementation that reads from > UTF-8 in a few hours max, especially now that you have an example in > Tapestry's code. Patch is welcome :-) > Why not just "borrow" the code from Tapestry? It's Apac

Re: UTF-8

2009-09-01 Thread Eelco Hillenius
On Tue, Sep 1, 2009 at 1:19 AM, Olivier Bourgeois wrote: > That's exactly what I said : I had to use XML properties files to have > UTF-8 localized properties. > > You can't use simple properties format because Java can't handle > natively anything else than ISO. We use also Tapestry here, and you

Re: Wicket YUI integration

2009-09-01 Thread Peter Thomas
Not really answering OP but was wondering if anyone started thinking about targeting YUI 3 and whether it has to be a re-write of existing wicket-stuff YUI. This link is a good source of YUI 3 changes info (slides, video): http://yuiblog.com/blog/2009/05/12/video-desai-yui3/ I really would like t

Re: Wicket YUI integration

2009-09-01 Thread Joshua Lim
Hi Frank there's Yui (2) integration in wicketstuff-core/yui great if you could add to it Josh 2009/8/31 Frank van Lankvelt > we've been developing a wicket application for some time now, where > the client keeps pushing for more and more fancy UI components. > We've been building some of the

Re: Dynamic Optgroups in Wicket

2009-09-01 Thread Eyal Golan
I'm not sure this is what you want, but have a look at this: http://www.wicket-library.com/wicket-examples/ajax/choice It's drop down with ajax. What they did is setting in the model Map of values. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.

Re: 32 External CSS Files Limitation of Internet Explorer 6,7,8

2009-09-01 Thread nino martinez wael
Hmm what about the merged resources from wicketstuff: http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-merged-resources 2009/9/1 Martin Letendre : > Hello Folks > > Is there a feature that can be enabled that merge css ressource into one > file ? > > Someone answer in this post th

32 External CSS Files Limitation of Internet Explorer 6,7,8

2009-09-01 Thread Martin Letendre
Hello Folks Is there a feature that can be enabled that merge css ressource into one file ? Someone answer in this post that this kind of feature does not exist... http://www.nabble.com/Wicket-resources-%28css,-js-and-images%29--td19160980.html This is sad because it's causing a bug if you are

Re: Regarding AjaxEditableLabel and feedback

2009-09-01 Thread Igor Vaynberg
your save link should be a save link that submits a form, unless you are going to manually append the value you want sent back via javascript to the save link's url. -igor On Tue, Sep 1, 2009 at 4:27 AM, Muro Copenhagen wrote: > Hi, > > I have an issue with AjaxEditableLabel that i hope i can get

Re: LinkTree and Tabbed Panel + inMethod DataGrid

2009-09-01 Thread Igor Vaynberg
sounds like you are ginving your datagrid a static model, instead try to give it a model that always checks the current treenode and pulls the associated data. -igor On Tue, Sep 1, 2009 at 2:35 AM, Oliver-Sven Fritsch wrote: > Hi everybody, > > I have a LinkTree which will work as my navigation a

Re: Grouping messages in FeedbackPanel

2009-09-01 Thread Igor Vaynberg
there is nothing wrong with creating your own implementation of the feedback panel. -igor On Mon, Aug 31, 2009 at 11:09 PM, Eyal Golan wrote: > Hi, > Thanks for the reply, but it's not suitable for us. > We want to create a generic FeedbakPanel for hat purpose and not in a > specific page. > > Wh

Re: UTF-8

2009-09-01 Thread Olivier Bourgeois
Yeah, one charset to rule them all ! :-) 2009/9/1 Johan Compagner : > Everybody should stop using any other encoding then UTF-8 > Common people we should start this change from happening now :) > > Drop all charsets and all over the world. ban them everywhere, it should be > illegal to use them,

Re: UTF-8

2009-09-01 Thread Johan Compagner
Everybody should stop using any other encoding then UTF-8 Common people we should start this change from happening now :) Drop all charsets and all over the world. ban them everywhere, it should be illegal to use them, if you do still use them you should be thrown in to prison for at least 5 years

Re: Dynamic Optgroups in Wicket

2009-09-01 Thread Iain Reddick
Looking at the API docs for the Select component, it would seem to be designed for more complex select situations (multi-select and optgroups). Unfortunately, I can't find any examples on using it with dynamically generated optgroups. Can anyone clarify how you would use the component like thi

Re: UTF-8

2009-09-01 Thread Roman Uhlig
We usually do multilanguage sites, so we always try to keep the web application in a full UTF-8 cycle. With Wicket we were fine doing the following: as mentioned above: getMarkupSettings().setDefaultMarkupEncoding("UTF-8"); getRequestCycleSettings().setResponseRequestEncoding("UTF-8"); > 1) Edi

Re: UTF-8

2009-09-01 Thread Olivier Bourgeois
The people at my office handling translations are using a simple UTF-8 capable editor (that can be Eclipse for instance) and there is no need to escape anything when you use UTF-8 in the properties files. That's much more comfortable when working with arabic or chinese, because people can read with

Re: Dynamic Optgroups in Wicket

2009-09-01 Thread Pedro Santos
correction: In your application u CAN populate your list of options, and pass it to an similar component. On Tue, Sep 1, 2009 at 9:07 AM, Pedro Santos wrote: > Gary, > > Take a look at > wicket.markup.html.form.DropDownChoice

Re: Dynamic Optgroups in Wicket

2009-09-01 Thread Pedro Santos
Gary, Take a look at wicket.markup.html.form.DropDownChoiceat http://wicketstuff.org/wicket13/compref/ on these examples, the option

Re: [OT] OWasp Vulnerability Validation

2009-09-01 Thread nino martinez wael
Hi Doug I think almost every aspect of this list has been discussed. Search the list for howto comply. Or are you searching for someone to find vulnerabilities? regards Nino 2009/8/31 Doug Leeper : > All, > > Need some help here.  A soon to be released  Wicket application needs to > validated w

Dynamic Optgroups in Wicket

2009-09-01 Thread gary black
Hi,I am kind of new to Wicket and am having a difficult time finding some decent info on creating optgroups within selects.I basically have a structured list in my DB which in turn has children - perfect solution would be to use dynamically generated optgroups with their children which will of c

Re: why is getHomePage called multiple times?

2009-09-01 Thread Pedro Santos
Jason, the method getHomePage#MyWicketApplication only return the Class of your application home page, an call from Wicket to it's method, doesn't means that an instance of HomePage will to be generated. This is a code from WebRequestCodingStrategy for example: if (!application.getHomePag

Regarding AjaxEditableLabel and feedback

2009-09-01 Thread Muro Copenhagen
Hi, I have an issue with AjaxEditableLabel that i hope i can get some help with. In my application i have a couple of AjaxEditableLabel's. Though i am not interested in the default feature of AjaxEditableLabel. I want edit button and a save button, that switches automatically between the Label

Re: UTF-8

2009-09-01 Thread Wojciech Żaboklicki
Man, use the native2ascii built-in JDK tool. It's very simple, transforms your messages into ASCII escaped. Regards, Wojtek Olivier Bourgeois pisze: That's exactly what I said : I had to use XML properties files to have UTF-8 localized properties. You can't use simple properties format because

Re: UTF-8

2009-09-01 Thread Vit Rozkovec
In case you use Eclipse, there is an utility called Properties Editor http://propedit.sourceforge.jp/index_en.html Vit Olivier Bourgeois wrote: That's exactly what I said : I had to use XML properties files to have UTF-8 localized properties. You can't use simple properties format because Ja

Re: how to add panel in gmap2

2009-09-01 Thread nino martinez wael
Why are you adding a panel to the GMap? Instead add the panel below or above. regards Nino 2009/9/1 新希望软件 -- 俞宏伟 : > i want to add child panel to gmap2 container, but when add child panel, > there alway throw tag not closed error. > > here is my code detail: > > GMap2 gMap = new gMap = new GMap2(

LinkTree and Tabbed Panel + inMethod DataGrid

2009-09-01 Thread Oliver-Sven Fritsch
Hi everybody, I have a LinkTree which will work as my navigation and a panel with tabs for the content. Right now the tree loads all the neccesary data and displays correctly. On one of my tabs I have the inMethod datagrid which displays the values for the selected treenode well. My problem is

how to add panel in gmap2

2009-09-01 Thread 新希望软件 -- 俞宏伟
i want to add child panel to gmap2 container, but when add child panel, there alway throw tag not closed error. here is my code detail: GMap2 gMap = new gMap = new GMap2("googleMap", application.getGoogleMapApiKey()); add(gMap); final WebMarkupContainer wmChild = new WebMarkupContainer("wmcChild

Re: UTF-8

2009-09-01 Thread Olivier Bourgeois
That's exactly what I said : I had to use XML properties files to have UTF-8 localized properties. You can't use simple properties format because Java can't handle natively anything else than ISO. We use also Tapestry here, and you can use UTF-8 properties files (thanks to the wrapper around nativ

Re: Ajax DropDownChoice and null values

2009-09-01 Thread niaouli
Hello, I have a problem with Ajax DropDownChoices and null values. I tried to make this pseudo-code, as simple as possible : OK final DropDownChoice choiceView = new DropDownChoice("choice", new PropertyModel(model, "choice"), new ArrayList(CHOICES.keySet())); final DropDownChoice subChoic