Re: Grouping messages in FeedbackPanel

2009-09-01 Thread Eyal Golan
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. What we actually want is that the messages will be list of lists. In the first iteration he completely created a new FeedbackPanel that inherits from a

Re: UTF-8

2009-09-01 Thread Eelco Hillenius
Because Wicket uses Java Properties objects and it can't handle UTF-8. In Tapestry they made a wapper around Java Properties so that you can use the good old properties format (ie key=value) with UTF8 encoding and IMO it's a nice feature missing in Wicket. Erm

Re: UTF-8

2009-09-01 Thread Eelco Hillenius
Erm http://chillenious.wordpress.com/2006/11/13/wicket-now-supports-resource-bundles-in-xml-format/ Which says Wicket 2.0 (yes, it's that old), but it was also one of the first things backported. Loading is automatic, and .xml takes precedence over .properties. Eelco

Re: Wicket YUI integration

2009-09-01 Thread Juha Palomäki
At least there used to be some YUI related things in WicketStuff project. br, Juha On Mon, Aug 31, 2009 at 6:59 PM, Frank van Lankveltf.vanlankv...@onehippo.com wrote: een building some of them by hand, including browser version checks, and have some code to enable YUI widgets. This is a

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 : select id=choice wicket:id=choice / select id=subChoice wicket:id=subChoice / OK final DropDownChoiceString choiceView = new DropDownChoiceString(choice, new

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 新希望软件 -- 俞宏伟 nhsoft@gmail.com: 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

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

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

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: 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

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

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 pedros...@gmail.com wrote: Gary, Take a look at

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

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) Edit

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

Re: UTF-8

2009-09-01 Thread Olivier Bourgeois
Yeah, one charset to rule them all ! :-) 2009/9/1 Johan Compagner jcompag...@gmail.com: 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

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 Golanegola...@gmail.com 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

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 Fritscho...@3blogos.com wrote: Hi everybody, I have a LinkTree which will work as

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 Copenhagencopenha...@gmail.com wrote: Hi, I have an issue with AjaxEditableLabel

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: 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 letendre.mar...@gmail.com: Hello Folks Is there a feature that can be enabled that merge css ressource into one file ? Someone

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:

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 f.vanlankv...@onehippo.com 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

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

Re: UTF-8

2009-09-01 Thread Eelco Hillenius
On Tue, Sep 1, 2009 at 1:19 AM, Olivier Bourgeoisolivier.bourgeois@gmail.com 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

Re: UTF-8

2009-09-01 Thread James Carman
On Tue, Sep 1, 2009 at 12:00 PM, Eelco Hilleniuseelco.hillen...@gmail.com 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

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: 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 matej.kn...@gmail.com wrote: This is most

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, if it

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 br/ 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: [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

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

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 ?

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,

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 worked