Re: spring 3.1 wicket auth integration

2011-03-02 Thread Martin Grigorov
Hi, There shouldn't be any big differences neither in Spring nor in Wicket. Wicket 1.4 introduced JDK 1.5 (generics, varargs, ...) but otherwise the code from 1.3 should still work. On Wed, Mar 2, 2011 at 2:05 AM, Geoff Lancaster wic...@geofflancaster.comwrote: I've seen that wiki but it's for

[1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread nino martinez wael
Hi I just noticed that after upgrading to rc2, my some of my texts like håndteret kald when getting saved/posted becomes this: hÃ¥ndteret kald.. I revert to rc1 to see if it's a problem there (I did not notice it earlier). -Regards Nino

Re: Perfomance of IDataProvider

2011-03-02 Thread Juansoft
Thanks a lot for your replies, guys! If any time travels to http://www.flickr.com/photos/juan_an/4495018982/ Toledo (Spain) contact me for invite you a one http://www.flickr.com/photos/formalfallacy/2342052637/ Spanish Omelette ! - Another wicket newbie programmer

RE: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread Wilhelmsen Tor Iver
I just noticed that after upgrading to rc2, my some of my texts like håndteret kald when getting saved/posted becomes this: hÃ¥ndteret kald.. Charset issue, they get posted as UTF-8; you probably either need to test for charset or assume UTF-8 across the board. - Tor Iver

Re: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread nino martinez wael
The problem is not there with rc1, Im using Tomcat 7.04... So to explain again, I have a text 2011/3/2 nino martinez wael nino.martinez.w...@gmail.com Hi I just noticed that after upgrading to rc2, my some of my texts like håndteret kald when getting saved/posted becomes this: hÃ¥ndteret

Re: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread nino martinez wael
Charset are UTF8... Anyhow there's no problem on rc1.. 2011/3/2 Wilhelmsen Tor Iver toriv...@arrive.no I just noticed that after upgrading to rc2, my some of my texts like håndteret kald when getting saved/posted becomes this: hÃ¥ndteret kald.. Charset issue, they get posted as UTF-8; you

German umlauts in Wicket-Message Tag

2011-03-02 Thread MattyDE
Hi, We're developing Web-Applications for german customers so we also have to use German umlauts (äöüß) in wicket-markup message-Tags. (UTF-8 enconding for html and java-Files) But if we try with ' a RuntimeException occurs: WicketMessage: Tag '' (line 128, column 24) has a mismatched close tag

Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread Weather
Did you try to escape it? -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread MattyDE
Thanks for your fast reply. But we now realize that its not the umlauts which create problems. its the We was using but wicket interprets the first inside the key-Attribute as closing tag. This is a bug right? We are using wicket Version 1.4.8 -- View this message in context:

AW: German umlauts in Wicket-Message Tag

2011-03-02 Thread Stefan Lindner
As I remember, Wicket/Java uses .properties files for this message texts. And by definition, a .properties file is always in ISO-88xxx See http://download.oracle.com/javase/6/docs/api/java/util/Properties.html If you don't want to excape all german umlauts, there is a way to use XML files for

Getting an AjaxRequestTarget from within a Form.onSubmit

2011-03-02 Thread drf
Wicket extensions contains a ModalWindow object. In order to open it, you call the show(AjaxRequestTarget) method. We want to call this from within Form.onSubmit(), the problem is, how do we get hold of a AjaxRequestTarget object? What can we add to the form that will give us this capability?

Re: Getting an AjaxRequestTarget from within a Form.onSubmit

2011-03-02 Thread Ernesto Reinaldo Barreiro
If form was submitted via AJAX you can always access AjaxRequestTarget via AjaxRequestTarget.get(); Ernesto On Wed, Mar 2, 2011 at 11:59 AM, drf davidrfi...@gmail.com wrote: Wicket extensions contains a ModalWindow object. In order to open it, you call the show(AjaxRequestTarget) method. We

Re: Getting an AjaxRequestTarget from within a Form.onSubmit

2011-03-02 Thread drf
The form is being submitted by including this line in the javascript function: document.forms[0].submit() -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Getting-an-AjaxRequestTarget-from-within-a-Form-onSubmit-tp3331336p3331346.html Sent from the Users forum

Re: Getting an AjaxRequestTarget from within a Form.onSubmit

2011-03-02 Thread Ernesto Reinaldo Barreiro
AFAIK then you can't use AjaxRequestTarget to make modal window visible (as there is no AJAX request). Some time ago I have posted a message showing how to create a version of modal window that is open on page onload. Make you can come up with a variation of it that can be valid for your

Re: Getting an AjaxRequestTarget from within a Form.onSubmit

2011-03-02 Thread Ernesto Reinaldo Barreiro
See 1-http://apache-wicket.1842946.n4.nabble.com/opening-ModalWindow-on-page-load-tt3055618.html#a3056717 Maybe you can override public void renderHead(IHeaderResponse response) { response.renderOnDomReadyJavascript(getWindowOpenJavascript()); } and only do

Wicket 1.5 migration Issue

2011-03-02 Thread fstof
Hi all, I decided to do the migration from 1.4.15 to 1.5rc2 Some background on how we do stuff: In web.xml we have the WicketServlet configured with multiple servlet mappings, eg wicket.servlet /skinwithlongname/* wicket.servlet /shortskin/* Now these

IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Poko Booth
Hi all, I have created some custom components which implement the IHeaderContributor interface in order to obtain their custom css when rendered. I want to give user the opportunity to override these classes without making them create specific new trees in their page's basic css. To be more

Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread Hans Lesmeister 2
MattyDE wrote: But we now realize that its not the umlauts which create problems. its the We was using but wicket interprets the first inside the key-Attribute as closing tag. This is a bug right? Hi, I think it is generally good practice to not use special characters like Umlauts

Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Ernesto Reinaldo Barreiro
Can't you just use !important at page CSS definition to override what the component defines as default? Ernesto On Wed, Mar 2, 2011 at 1:24 PM, Poko Booth poko.bo...@gmail.com wrote: Hi all, I have created some custom components which implement the IHeaderContributor interface in order to

Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Poko Booth
Thank you, I had no idea about the important attribute. I just thought that it would make more sense if the page's css was rendered after all components contributions. Regards, Poko On Wed, Mar 2, 2011 at 2:44 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Can't you just use

Re: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread nino martinez wael
anyone have an idea why changing from rc1 to rc2 would have an have an impact on this..? There was no issue that looked related to me (in the change log). 2011/3/2 nino martinez wael nino.martinez.w...@gmail.com Charset are UTF8... Anyhow there's no problem on rc1.. 2011/3/2 Wilhelmsen Tor

Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Hans Lesmeister 2
Poko Booth wrote: Can't you just use !important at page CSS definition to override what the component defines as default? !important is not recognized by all browsers (IE6 for instance) - -- Regards, Hans http://cantaa.de -- View this message in context:

Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Ernesto Reinaldo Barreiro
Is that really a stopper? 1-http://bytesizecss.com/blog/post/ie6-and-the-important-rule/ 2-http://stackoverflow.com/questions/1330184/what-browsers-support-important What other browsers you mean? Ernesto On Wed, Mar 2, 2011 at 3:01 PM, Hans Lesmeister 2 hans.lesmeis...@lessy-software.de

Re: Wicket 1.5 migration Issue

2011-03-02 Thread Martin Grigorov
please create a quickstart application and attach it to a ticket in jira. thanks! On Wed, Mar 2, 2011 at 1:38 PM, fstof frans.stofb...@gmail.com wrote: Hi all, I decided to do the migration from 1.4.15 to 1.5rc2 Some background on how we do stuff: In web.xml we have the WicketServlet

Re: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread Martin Grigorov
quickstart will help us to debug it. attach it to jira thanks! On Wed, Mar 2, 2011 at 3:16 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: anyone have an idea why changing from rc1 to rc2 would have an have an impact on this..? There was no issue that looked related to me (in the

Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread Manfred Bergmann
Yep, right. Using special characters in keys is not a good idea and makes localisation harder. Fully sufficuient if you use umlauts on the value side. Manfred -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/German-umlauts-in-Wicket-Message-Tag-tp3331297p3331642.html

Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Hans Lesmeister 2
Ernesto Reinaldo Barreiro-4 wrote: Is that really a stopper? Well, that depends on the demands of the OP. IE6 is still used in many big companies (and because IE6 is buggy concerning !important, it can be (mis)used for nice CSS-hacks) But what if the !important-directive is already used

Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Martin Grigorov
Hi, In Wicket 1.5 there is IHeaderRenderStrategy. org.apache.wicket.markup.renderStrategy.AbstractHeaderRenderStrategy uses system property Wicket_HeaderRenderStrategy to select the actual strategy. E.g. :

Re: spring 3.1 wicket auth integration

2011-03-02 Thread Moez BR
See this link: http://www.dzone.com/links/spring_security_3_and_wicket_14.html Le 2 mars 2011 à 01:05, Geoff Lancaster wic...@geofflancaster.com a écrit : I've seen that wiki but it's for spring 3.0 and wicket 1.3. I need a solution for spring 3.1 and wicket 1.4+ -Original Message-

Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread Peter Ertl
Umlauts work great in HTML in you use encoding UTF-8 Don't forget meta http-equiv=Content-Type content=text/html;charset=UTF-8/ in your markup to make the IDE respect it. an additional ?xml version=1.0 encoding=UTF-8? at the beginning of the markup will not hurt. Eventually set the

jquery modal window on close

2011-03-02 Thread fachhoch
I am using jquery modal window. Using wicket modal window when the modal window is closed event is generated and my code is called can I do the same for a jquery modal window ? -- View this message in context:

body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-02 Thread Gonzalo Aguilar Delgado
Hello, I'm building a wiJQuery equivalent for Dojo. And it seems to work nice with new wicket 1.5. HeaderContributions are really nice... Great work! But I ran into problems when trying to setup the themes. I have to put something like this in the body: body class=claro /body But I rode a

Re: jquery modal window on close

2011-03-02 Thread Pedro Santos
yes, for instance you can create an OnCloseAjaxBehavior and append its callback script at the on close event [1] [1] http://jqueryui.com/demos/dialog/#event-close On Wed, Mar 2, 2011 at 5:04 PM, fachhoch fachh...@gmail.com wrote: I am using jquery modal window. Using wicket modal window when

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-02 Thread nino martinez wael
Hi Per Very nice article. It's good for newcommers and I even saw a thing or two thats new for me. About the avoid visible()! part have you tried shiro or wicket security to manage rendering of your components, I dont know if they just do a set visible but if they don't it would sure make the

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-02 Thread Matt Brictson
Since isTransparentResolver() is going away in 1.5, the trick that I found is to create a normal WebMarkupContainer for the body element, then override add(Component...) of the page to mimic the transparent resolver feature. Your pages can then contribute to the body element by adding

Re: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread nino martinez wael
is there a server somewhere where rc2 live examples are running on? 2011/3/2 Martin Grigorov mgrigo...@apache.org quickstart will help us to debug it. attach it to jira thanks! On Wed, Mar 2, 2011 at 3:16 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: anyone have an idea

RE: spring 3.1 wicket auth integration

2011-03-02 Thread Geoff Lancaster
Thanks Moez, I guess my issue is really with my Kerberos spring implementation. I'll have to investigate further. -Original Message- From: Moez BR [mailto:benrhouma.m...@gmail.com] Sent: Wednesday, March 02, 2011 10:41 AM To: users@wicket.apache.org Subject: Re: spring 3.1 wicket auth

Re: Wicket-Spring Hibernate dao

2011-03-02 Thread ookpalm
Thanks everyone. I will go for using the new operator for my domain object since there is no simple way to inject and it is not really nescessary to inject bean to object in this case. -- View this message in context:

Wicket and Amazon EC2

2011-03-02 Thread ookpalm
I am going to deploy my Wicket app on Amazon EC2. Is there any problem I must be aware of when deploying Wicket app on Amazon EC2? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Amazon-EC2-tp3332718p3332718.html Sent from the Users forum mailing list

Re: Wicket-Spring Hibernate dao

2011-03-02 Thread James Carman
I believe you want to look into using a factory to create your cats. You can inject DAOs and whatever you want into your factory. The factory would be a spring-managed bean, but the entities wouldn't. On Wed, Mar 2, 2011 at 10:36 PM, ookpalm ookp...@gmail.com wrote: Thanks everyone. I will go

Page.add is final in 1.5 RC2

2011-03-02 Thread Joe Fawzy
Hi Container.add is not final why page.add and page.onInitialize is final methods thanks

Re: Wicket and Amazon EC2

2011-03-02 Thread Don Ferguson
Nope. On Mar 2, 2011, at 7:39 PM, ookpalm wrote: I am going to deploy my Wicket app on Amazon EC2. Is there any problem I must be aware of when deploying Wicket app on Amazon EC2? -- View this message in context:

[Announce] wicketstuff-core 1.4.16 is released.

2011-03-02 Thread Michael O'Cleirigh
Hello, Following the release of wicket 1.4.16 last week I have cut a matching release for wicketstuff-core (https://github.com/wicketstuff/core). The artifacts have been promoted and are now available through the maven central repository. They can be retrieved like this: dependency

Re: Wicket and Amazon EC2

2011-03-02 Thread ookpalm
Not at all? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Amazon-EC2-tp3332718p3332775.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Wicket and Amazon EC2

2011-03-02 Thread Don Ferguson
I've been using Wicket on EC2 for nearly 2 years. I can't think of anything EC2-specific that relates to Wicket. EC2 just gives you a linux environment that happens to be virtualized. I suppose if you're using elastic load balancing to dynamically spin up instances, there might be a bit of

Attribute Inheritance or Copying?

2011-03-02 Thread MattyDE
Hello, i've build my own panel-Component which includes itself a textarea. So in im Markup i wrote for example. Now my advanced question ;) Is it possbile (in any way) that i can use and inherit the cols and rows attributes to the inner textarea (which itself is a wicket-component