Re: Date Picker in Editable TreeTable in IE7 and IE8

2009-10-12 Thread zlus...@gmail.com
Hi, Try to play with z-index css value; increase it, and it should bring the calendar control above the other parts of the table. We are also using the YUI calendar widget inside a table, see this page on JavaForge: http://www.javaforge.com/proj/tracker/submitNew.do?tracker_id=5407. (Sorry

Re: Ad Hoc URL Mapping

2009-10-12 Thread nino martinez wael
You can already do this, a 2 sec google search brought this up: http://blog.xebia.com/2008/10/09/readable-url%E2%80%99s-in-wicket-an-introduction-to-wicketstuff-annotation/ http://css.dzone.com/news/wicket-creating-restful-urls 2009/10/12 Luther Baker lutherba...@gmail.com I'd like to use a

Feedbackpanel for each Error Level

2009-10-12 Thread Bernhard Grünewaldt
Hello, I know how to add a Feedbackpanel and how to filter it by specific forms a.s.o. But I want three feedbackpanels. One for warn, one for error and one for info. I didn't find a implementation of IFeedbackMessageFilter which does that. (Or I don't know how it could do that) Is there a

Re: Scala, dependency injection and wicket

2009-10-12 Thread Haim Ashkenazi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi jan, On Oct 8, 2009, at 6:47 AM, Jan Kriesten wrote: Hi Haim, Yes, I remember seeing that. How would you add it to wicket? by adding ServiceInjector trait to the Application class or using the wicket- guice way

Re: Feedbackpanel for each Error Level

2009-10-12 Thread Maarten Bosteels
http://wicket.apache.org/docs/1.4/org/apache/wicket/feedback/ErrorLevelFeedbackMessageFilter.html On Mon, Oct 12, 2009 at 9:33 AM, Bernhard Grünewaldt bernh...@gruenewaldt.net wrote: Hello, I know how to add a Feedbackpanel and how to filter it by specific forms a.s.o. But I want three

Howto test redirect to non-wicket base page

2009-10-12 Thread Per Newgro
Hi *, i would like to test behavior of my page. In constructor there is a redirect if page parameter not set. But the redirect target is a url and not a wicket page instance. What is the best attribute to add my assertion to? MyPage(PageParams p) { if (p.get(xyz) == null) {

Re: Scala, dependency injection and wicket

2009-10-12 Thread Jan Kriesten
Hi, I've started testing this approach and I'm a little stuck. I can easily inject objects like that for running the application, but how do I inject mock objects for testing? The module used by the injector (in the article's example) is hard-coded into the InjectorService object. you could

OT: wicket running in Tomcat got a java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

2009-10-12 Thread Fernando Wermus
Does anyone face this exception under Tomcat? The servelet-api.jar is in usr/share/tomcat5.5/lib/commons javax.servlet.ServletException: Filter execution threw an exception *root cause* java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

Re: Wicket Bulgarian translation (bg)

2009-10-12 Thread Olivier Bourgeois
What version of Wicket are you using ? You should have native2ascii encoded strings in the property file : Required=\u00d0\u0178\u00d0\u00be\u00d0\u00bb\u00d0\u00b5\u00d1\u201a\u00d0\u00be '${label}' \u00d0\u00b5

Re: Scala, dependency injection and wicket

2009-10-12 Thread Haim Ashkenazi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi On Oct 12, 2009, at 10:01 AM, Jan Kriesten wrote: Hi, I've started testing this approach and I'm a little stuck. I can easily inject objects like that for running the application, but how do I inject mock objects for testing? The module

Re: OT: wicket running in Tomcat got a java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

2009-10-12 Thread Martijn Dashorst
Does tomcat 5.5 support servlet api 1.4? Martijn On Mon, Oct 12, 2009 at 10:10 AM, Fernando Wermus fernando.wer...@gmail.com wrote: Does anyone face this exception under Tomcat? The servelet-api.jar is in usr/share/tomcat5.5/lib/commons javax.servlet.ServletException: Filter execution threw

Fwd: RestartResponseAtInterceptPageException causing odd problem with IE

2009-10-12 Thread Wayne Pope
Last go - any ideas ? thanks -- Forwarded message -- From: Wayne Pope waynemailingli...@googlemail.com Date: Thu, Oct 8, 2009 at 5:17 PM Subject: RestartResponseAtInterceptPageException causing odd problem with IE To: users@wicket.apache.org Hi, something we've run across with

Re: Wicket Bulgarian translation (bg)

2009-10-12 Thread Girts Ziemelis
Wicket version is 4.1 Regarding encoding - I know - it is encoded in the properties file -strings I posted are once the strings are decoded to UTF-8 -for IDE (Netbeans, for example, does this automatically for *.properties files) and for the web site (in UTF-8). For example - ASCII escapes

Re: Feedbackpanel for exact one Error Level

2009-10-12 Thread Bernhard Grünewaldt
Hello, I opened an issue in Jira with the code attached to it. https://issues.apache.org/jira/browse/WICKET-2517 Perhaps it could be included into wicket source code. -- That's almost what I am looking for, but it accepts all errors to a certain level. I want exact ONE level to be

Re: OT: wicket running in Tomcat got a java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

2009-10-12 Thread Johan Compagner
looks to me like a screwed up tomcat install somehow. On Mon, Oct 12, 2009 at 10:10, Fernando Wermus fernando.wer...@gmail.comwrote: Does anyone face this exception under Tomcat? The servelet-api.jar is in usr/share/tomcat5.5/lib/commons javax.servlet.ServletException: Filter execution threw

Re: Date Picker in Editable TreeTable in IE7 and IE8

2009-10-12 Thread John MacEnri
Thanks for that Zoltan. Looks like it's worth a bit more digging into the css. I had already played with the z-index but that had no effect. There must be something coming from further up the structure tree that is causing it (only in IE, fine in FireFox). I might subclass the DatePicker in

Re: Feedbackpanel for exact one Error Level

2009-10-12 Thread Hauke Ingmar Schmidt
Hej, I know how to add a Feedbackpanel and how to filter it by specific forms a.s.o. But I want three feedbackpanels. One for warn, one for error and one for info. I didn't find a implementation of IFeedbackMessageFilter which does that. (Or I don't know how it could do that) Is there a

RE: AjaxFallbackDefaultDataTable has no thead

2009-10-12 Thread Stefan Lindner
Forget my post. Some FF-Plugins must have mixed up the html. After a fresh FF-Installation the thead is back again. Strange. Stefan -Ursprüngliche Nachricht- Von: Stefan Lindner [mailto:lind...@visionet.de] Gesendet: Montag, 12. Oktober 2009 01:36 An: users@wicket.apache.org Betreff:

Re: Feedbackpanel for exact one Error Level

2009-10-12 Thread Bernhard Grünewaldt
thx, thats perfect. I am still not used to private subclassing :( Hauke Ingmar Schmidt schrieb: Hej, I know how to add a Feedbackpanel and how to filter it by specific forms a.s.o. But I want three feedbackpanels. One for warn, one for error and one for info. I didn't find a implementation

Re: Wicket Bulgarian translation (bg)

2009-10-12 Thread Olivier Bourgeois
2009/10/12 Girts Ziemelis girts.zieme...@gmail.com Wicket version is 4.1 Regarding encoding - I know - it is encoded in the properties file -strings I posted are once the strings are decoded to UTF-8 -for IDE (Netbeans, for example, does this automatically for *.properties files) and for the

Re: Wicket 1.4.2 Released!

2009-10-12 Thread martin-g
Congratulations ! Why there are no SVN tags anymore ? svn ls http://svn.apache.org/repos/asf/wicket/tags/ does not have tags for 1.4.1 and 1.4.2 igor.vaynberg wrote: The Apache Wicket project is proud to announce the second maintenance release of Apache Wicket 1.4. Download Apache

How to avoid an empty row in inmethod datagrid editable example

2009-10-12 Thread François Jeunesse
Hi, I’am using the editable datagrid example from inmethod. When I add my grid to my page, I’am using this line: DataGrid grid = new DefaultDataGrid(grid, new infoDataSource(dp.getInfoVintage()), columns); The final result, like on the website example

FileUploadField blocks component submission when an empty file is selected

2009-10-12 Thread Ian Marshall
I have a FileUploadField component in a form. My issue is that when a file of size zero is selected using the component's integral Browse... button, and then one of the owning form's submit buttons is clicked, neither that button's nor the form's overridden onSubmit() methods is called. The

Re: Wicket Bulgarian translation (bg)

2009-10-12 Thread Girts Ziemelis
Olivier Bourgeois wrote: I'm using BG translations for my app, but not the Wicket default ones, and I am using a mix of UTF-8 properties files and XML files. I just had a look with wicket 1.4.2 and the BG translations are broken : I think something went wrong with the native2ascii

inmethod datagrid and wicket 1.4 and generics

2009-10-12 Thread Stefan Lindner
I found inmethod datagrid at http://wicketstuff.org/maven/repository/com/inmethod/grid-examples/ but no hint or link to it on the wiki page http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki. The project remained in 1.0 state since the end of last year. Is it compatible with wicket 1.4? Is

RadioChoice showing last choosen value - what am i doing wrong

2009-10-12 Thread Muro Copenhagen
Hi, Any help on this issue regarding the RadioChoice component will be appreciated. I'm having difficiltius showing the (previously) selected RadioChoice, and can not figure out what's going wrong. Here is my code: public class QuestionRightPanel extends Panel { private String

Re: inmethod datagrid and wicket 1.4 and generics

2009-10-12 Thread Erik Post
Hi Stefan, It's compatible, I'm using it myself: dependency groupIdorg.wicketstuff/groupId artifactIdinmethod-grid/artifactId version1.4-SNAPSHOT/version /dependency repositories repository idwicket-snaps/id

AutoCompleteTextField Generics

2009-10-12 Thread Douglas Ferguson
Has anybody else had problems with AutoCompleteTextField and generics. It almost seems like I'm dealing with an eclipse bug. But basically if I call behavior.getChoices.add(xxx) it is always highlighted in red because, I am restricted by the model use T but the list wants ? extends T. D/

Re: inmethod datagrid and wicket 1.4 and generics

2009-10-12 Thread Linda van der Pal
I'm certain there is a 1.4 version, as I have it downloaded. Try using this URL to get it from SVN: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/releases/wicketstuff-core-1.4-rc7/inmethod-grid-parent Regards, Linda Stefan Lindner wrote: I found inmethod datagrid at

SV: Wicket 1.4.2 Released!

2009-10-12 Thread Wilhelmsen Tor Iver
Why there are no SVN tags anymore ? svn ls http://svn.apache.org/repos/asf/wicket/tags/ does not have tags for 1.4.1 and 1.4.2 Wicket's not fond of such conventions it seems :) - use http://svn.apache.org/repos/asf/wicket/releases/ instead. - Tor Iver

Re: inmethod datagrid and wicket 1.4 and generics

2009-10-12 Thread Erik Post
I created a draft wiki page, could someone please modify it as needed and add it to the wicketstuff wiki front page? Btw, Linda, your company seems to be across the street from me! That's pretty amazing for a town like this... Cheers, Erik

Re: OT: wicket running in Tomcat got a java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

2009-10-12 Thread Fernando Wermus
*Servlet/JSP Spec**Apache Tomcat version*2.5/2.16.0.202.4/2.05.5.282.3/1.2 4.1.402.2/1.13.3.2 (archived) I supports 2.4 servlet api. any other thoughts? The guy that installed tomcat, added a open-java 6.0 and there are set java_home as well as tomcat_home. On Mon, Oct 12, 2009 at 5:17 AM,

Re: OT: wicket running in Tomcat got a java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

2009-10-12 Thread Fernando Wermus
Is jetty ready for production? On Mon, Oct 12, 2009 at 11:40 AM, Fernando Wermus fernando.wer...@gmail.com wrote: *Servlet/JSP Spec* *Apache Tomcat version*2.5/2.1 6.0.202.4/2.0 5.5.28 2.3/1.2 4.1.402.2/1.1 3.3.2 (archived) I supports 2.4 servlet api. any other thoughts? The guy that

Re: [tinymce] problem adding/removing TinyMceBehavior dinamically

2009-10-12 Thread bgooren
Daniele, So why don't you collect a list of markup-ids serverside, perform a TinyMCE unload through AjaxRequestTarget.prepentJavascript(), and then have it redraw the list and load TinyMCE in appendJavascript()? Another alternative would be to manually add the component trough javascript, see:

Re: FileUploadField blocks component submission when an empty file is selected

2009-10-12 Thread Igor Vaynberg
is your fileuploadfield marked as required? -igor On Mon, Oct 12, 2009 at 6:04 AM, Ian Marshall general.ianmarshall...@gmail.com wrote: I have a FileUploadField component in a form. My issue is that when a file of size zero is selected using the component's integral Browse... button, and then

Re: RadioChoice showing last choosen value - what am i doing wrong

2009-10-12 Thread Igor Vaynberg
does that code work if the component is not disabled? does LabelValue have equals/hashcode properly implemented so the one you push with setmodelobject will match one in the yesNoChoices collection? -igor On Mon, Oct 12, 2009 at 6:40 AM, Muro Copenhagen copenha...@gmail.com wrote: Hi, Any

Re: OT: wicket running in Tomcat got a java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

2009-10-12 Thread Fernando Wermus
I omitted this part of stack trace: INFO: Illegal access: this web application instance has been stopped already. Could not load javax.servlet.ServletRequest. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread

Wizard step causing an infinite loop

2009-10-12 Thread Jeffrey Schneller
I have a wizard and a wizard step. The wizard step is causing the wizard to go into an infinite loop. The loop starts way back at where the wizard is added to the page itself. I basically have a one step wizard. Now, I also have another step and if I add that step to the wizard and remove the

RE: inmethod datagrid and wicket 1.4 and generics

2009-10-12 Thread Stefan Lindner
Thenk you all for your replies! I found a hand full of mailing list entrys with hints for patches to make some classes generic. Are there any attempts to integrate them into the current trunk? I think a generic IGridColumn would be very handy. Should I start doing it? Stefan

Re: Wicket Bulgarian translation (bg)

2009-10-12 Thread Olivier Bourgeois
The advantage of UTF-8 vs ASCII is that the translators can directly read/write the property files without transcoding them, so I think it's better to go with XML (and less risky). But I don't know what the Wicket dev team prefer for Wicket default property files. 2009/10/12 Girts Ziemelis

Re: inmethod datagrid and wicket 1.4 and generics

2009-10-12 Thread Matej Knopp
I think there is a datagrid project in wicket stuff jira. If you do any work (against current trunk - not 1.3) patch is always welcome. You can create a jira issue for it and attach it there. -Matej On Mon, Oct 12, 2009 at 5:24 PM, Stefan Lindner lind...@visionet.de wrote: Thenk you all for

Re: Wizard step causing an infinite loop

2009-10-12 Thread Igor Vaynberg
creating a quickstart that reproduces this behavior will help us help you. otherwise we would have to slaughter a chicken and wave it around. -igor On Mon, Oct 12, 2009 at 8:12 AM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: I have a wizard and a wizard step.  The wizard step is

Re: Wicket Bulgarian translation (bg)

2009-10-12 Thread Igor Vaynberg
we are fine with .properties or .properties.xml. its all good. -igor On Mon, Oct 12, 2009 at 8:25 AM, Olivier Bourgeois olivier.bourgeois@gmail.com wrote: The advantage of UTF-8 vs ASCII is that the translators can directly read/write the property files without transcoding them, so I think

Re: OT: wicket running in Tomcat got a java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

2009-10-12 Thread Martijn Reuvers
Hi Fernando, If I were you and want to quickly test if there's something wrong with your Tomcat. Download the .zip distribution of Tomcat, extract, run and deploy your application in /webapps/. That should work just fine normally, if it does - then you know your current installation of Tomcat is

FileUploadField blocks component submission when an empty file is selected

2009-10-12 Thread Ian Marshall
igor.vaynberg wrote: is your fileuploadfield marked as required? No; I have not called the FileUploadField instance's setRequired(...) method. Ian Marshall -- View this message in context:

Re: Wicket Bulgarian translation (bg)

2009-10-12 Thread Girts Ziemelis
Thanks - I added problem report WICKET-2518 https://issues.apache.org/jira/browse/WICKET-2518 Attached is a patch for Application_bg.properties file with properly encoded bg translations Igor Vaynberg wrote: we are fine with .properties or .properties.xml. its all good. -igor On Mon, Oct

RE: Wizard step causing an infinite loop

2009-10-12 Thread Jeffrey Schneller
That is sort of a problem. Everything is driven from a db and creating a quickstart would be a major task. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Monday, October 12, 2009 11:41 AM To: users@wicket.apache.org Subject: Re: Wizard step causing an

Re: FileUploadField blocks component submission when an empty file is selected

2009-10-12 Thread Igor Vaynberg
so what form error do you see displayed? -igor On Mon, Oct 12, 2009 at 8:58 AM, Ian Marshall general.ianmarshall...@gmail.com wrote: igor.vaynberg wrote: is your fileuploadfield marked as required? No; I have not called the FileUploadField instance's setRequired(...) method. Ian

Re: Wizard step causing an infinite loop

2009-10-12 Thread Igor Vaynberg
you can stub out the objects wicket gets. without seeing your source code and being able to reproduce it we have no way to debug it. -igor On Mon, Oct 12, 2009 at 8:59 AM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: That is sort of a problem.  Everything is driven from a db and

RE: Wizard step causing an infinite loop

2009-10-12 Thread Jeffrey Schneller
UPDATE: The problem is tied to the radio group. I want to do something like the following. Where productGroup is the RadioGroup. Where do I put the RadioGroup so that this will work. Where it currently sits will not work. div

FileUploadField blocks component submission when an empty file is selected

2009-10-12 Thread Ian Marshall
igor.vaynberg wrote: so what form error do you see displayed? -igor I see no error message. Within my form I have three submit buttons (I set out relevant code fragments below). Clicking any of these buttons does not result in their overridden onSubmit() methods being called (for the

Ajaxfallbackdefautldatatable sort

2009-10-12 Thread Swarnim Ranjitkar
Looks like ajaxfallbackdefaultdatatable column sort is aphabetical by default. Is there anyways I can make column sort by integer or date. thank you

Re: FileUploadField blocks component submission when an empty file is selected

2009-10-12 Thread Igor Vaynberg
do you have a feedback panel in your page, so you can see errors if they happen? -igor On Mon, Oct 12, 2009 at 9:21 AM, Ian Marshall general.ianmarshall...@gmail.com wrote: igor.vaynberg wrote: so what form error do you see displayed? -igor I see no error message. Within my form I have

Re: [ANN] wicket-dnd project

2009-10-12 Thread Doug Leeper
Sven, I have downloaded wicket-dnd and have integrated into our project. I had a few issues but got around them. The biggest is that we are using DataView instead of DataTable. While there was no exact example for DataView, I was able to get through and see what I needed to do: - needed a

FileUploadField blocks component submission when an empty file is selected

2009-10-12 Thread Ian Marshall
igor.vaynberg wrote: do you have a feedback panel in your page, so you can see errors if they happen? -igor Yes, I have a feedback panel in my (base) page as set out in code below. I see nothing at all upon clicking. (I have set testing messages to appear in my feedback panel holding

Re: SerializableChecker$WicketNotSerializableException:

2009-10-12 Thread Peter Ertl
suggestion: load your data and keep it in a cache use LDM to retrieve the data from the cache (e.g. ehcache) or reload it if it expired. Am 10.10.2009 um 19:46 schrieb Igor Vaynberg: if you do not need to hold on to the data structure between requests then there is no need to keep any

Re: FileUploadField blocks component submission when an empty file is selected

2009-10-12 Thread Igor Vaynberg
weird, you will have to debug and see what is happening. a good place to start is Form#onFormSubmitted() -igor On Mon, Oct 12, 2009 at 10:08 AM, Ian Marshall general.ianmarshall...@gmail.com wrote: igor.vaynberg wrote: do you have a feedback panel in your page, so you can see errors if

Re: Ad Hoc URL Mapping

2009-10-12 Thread Luther Baker
Thank nino. Unfortunately, I think you may have misunderstood my question. Indeed, I understand how to configure Wicket for RESTful URLs but my question is different. What I'm asking has to do with the PLACEMENT of the url parts. IE: I want the leftmost portion of the URL to be a parameter.

Re: Howto test redirect to non-wicket base page

2009-10-12 Thread Erik van Oosten
Per, You can also throw a RestartResponseException or a subclass thereof. That is the recommended way within a constructor anyway. For you it would be RedirectToUrlException (or something like that). Regards, Erik. Per Newgro wrote: Hi *, i would like to test behavior of my page. In

Re: Howto test redirect to non-wicket base page

2009-10-12 Thread Per Newgro
Thanks Erik, this is definitly worth a shot. There seem to be many new classes in 1.4. So i have to dig deeper into wicket again. Thanks for showing me the light on this. Per - To unsubscribe, e-mail:

Re: Ad Hoc URL Mapping

2009-10-12 Thread Jeremy Thomerson
I think you would need to create your own strategy. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Oct 12, 2009 at 1:31 PM, Luther Baker lutherba...@gmail.com wrote: Thank nino. Unfortunately, I think you may have misunderstood my question. Indeed, I understand how to configure

Re: [ANN] wicket-dnd project

2009-10-12 Thread Sven Meier
Hi Doug, you're adding a second drop target to your currentContainer: currentContainer.add(new DropTarget(Operation.COPY) { ... }.dropBottom(div)); But there aren't any DIVs contained inside your currentContainer, so wicket-dnd isn't able to find a drop location. If you just want

Two inmethod datagrid questions

2009-10-12 Thread Stefan Lindner
I play around with the DefaultDataGrid component and I have two questions: 1. Is it possible to register for a column resized event? This would give us the ability to remember the user's favorite column widths. 2. Is it possible to hide the navigation footer? Yes, I can do it via css but if I

Re: Two inmethod datagrid questions

2009-10-12 Thread Erik Post
On Mon, Oct 12, 2009 at 10:24 PM, Stefan Lindner lind...@visionet.de wrote: I play around with the DefaultDataGrid component and I have two questions: 1. Is it possible to register for a column resized event? This would give us the ability to remember the user's favorite column widths. 2. Is

Re: Two inmethod datagrid questions

2009-10-12 Thread Matej Knopp
On Mon, Oct 12, 2009 at 10:24 PM, Stefan Lindner lind...@visionet.de wrote: I play around with the DefaultDataGrid component and I have two questions: 1. Is it possible to register for a column resized event? This would give us the ability to remember the user's favorite column widths.

mi first app deployed with wicket

2009-10-12 Thread Fernando Wermus
Hi all, I ve been working with Maven, so there is no chance to have some dependecies problems, but Tomcat throw this exception, INFO: ContextListener: attributeAdded('org.apache.catalina.MBeanServer', 'com.sun.jmx.mbeanserver.jmxmbeanser...@105d88a') Oct 12, 2009 4:54:40 PM

1.4.2 upgrade problem

2009-10-12 Thread Girts Ziemelis
Sorry about double post - I sent it first to the dev list accidentally :( I believe there is a bug in wicket 1.4.2, which stopped me from upgrading :( I have created issue for this (quickstart added): https://issues.apache.org/jira/browse/WICKET-2519 Finally I narrowed it down to adding