Re: Ajax Feedback Problem in 1.3

2007-12-20 Thread SantiagoA
As long as setRequired(true), nope. That was what I meant with Validators block Ajax(onUpdate). For now I make the validation on my own in onUpdate and set setRequired(false) on the Component. This works for now, but it seems to me that working with the Wicket-Validators would be the better,

RE: Writing Ajax applications that gracefully degrade

2007-12-20 Thread Maeder Thomas
We are actually implementing such an application. We had to (re-)implement a couple of components to support AJAX-Fallback. While that's not trivial sometimes, it's definitely not very hard (we have about 0.5 years of Wicket experience). Thomas -Original Message- From: [EMAIL

How to get session from panel ?

2007-12-20 Thread tsuresh
Hello, I have Panel called MenuPanel and a page WelcomePage. When the user is authenticated through Login page the user is forwarded to WelcomePage. This WelcomePage consists of MenuPanel. How do I get the user session from the MenuPanel. I simply added the MenuPanel in WelcomePage as

Re: How to get session from panel ?

2007-12-20 Thread Suad AlShamsi
Did you try to get it from the application. getApplicaion().getSession(); tsuresh wrote: Hello, I have Panel called MenuPanel and a page WelcomePage. When the user is authenticated through Login page the user is forwarded to WelcomePage. This WelcomePage consists of MenuPanel. How do I get the

Re: How to get session from panel ?

2007-12-20 Thread Sebastiaan van Erk
Or Session.get(), or better yet use MySession.get() where in MySession you define the static method: public static MySession get() { return (MySession) Session.get(); } which avoids casts. (Use can use the same trick to get the application). Regards, Sebastiaan Suad AlShamsi wrote:

Re: How to get session from panel ?

2007-12-20 Thread Peter Ertl
Looks interesting... MySession.get() Will this reliably work in WicketTester or are there implication you should be aware of? Regards Peter Am 20.12.2007 um 10:27 schrieb Sebastiaan van Erk: Or Session.get(), or better yet use MySession.get() where in MySession you define the static

Re: How to get session from panel ?

2007-12-20 Thread Sebastiaan van Erk
Actually, if you check out Component.getSession() you'll see it just does Session.get() as well, so the idiom below should have no implications for testing nor should there be other unexpected implications. Regards, Sebastiaan Peter Ertl wrote: Looks interesting... MySession.get() Will

Wicket posts missing on nabble

2007-12-20 Thread jweekend
We've just had confirmation from nabble that some messages are not appearing on their wicket-user list despite coming up in matching search results (eg I posted yesterday about how we used the forum to successfully find a Wicket developer, and that never appeared on the list, despite being

Re: Wicket posts missing on nabble

2007-12-20 Thread Martijn Dashorst
This would explain why we sometimes get 3 or more messages sent from nabble users. Anyway: the tip for the wicket user list is to use gmail. This is the power tool the committers use to keep up with the users list. Despite the volume we are able to keep track of most messages that are sent.

How to open a popup in onSubmit() of a Form

2007-12-20 Thread thomas jaeckle
Hello. I am trying to open a popup in onSubmit() of a form. The form is simple: it has a TextField and a Button. When it is submitted the value from the TextField shall become a PageParameter for the popup and it shall be used in PageMap.forName(...) as identifier (so for equal values the

Re: Wicket training/reviews/contract work

2007-12-20 Thread Uwe Schäfer
http://www.nabble.com/forum/ViewPost.jtp?post=14408227framed=yjweekend wrote: PS Uwe, are you still looking for another Wicket developer for your project? If you have already hired someone too, was it down to your announcement here or did you use another technique? Well, we acutally found

Re: Ajax Feedback Problem in 1.3

2007-12-20 Thread Johan Compagner
onUpdate or onError are always called, also is validators are causing the component to be invalid: * try * { formComponent.inputChanged(); formComponent.validate(); *if* (formComponent.hasErrorMessage()) { formComponent.invalid(); onError(target, *null*); } *else * {

wicket-datetime-rc2 javascript error in generated event.js

2007-12-20 Thread Wilko Hische
Hello, When in a wicket-rc2 Quickstart I try to use org.apache.wicket.extensions.yui.calendar.DateField from wicket-datetime-rc2 I get an error messsage in FF and IE7 concerning event.js. If I open the page for the first time: nl is not defined looking at the contents of event.js with firebug

Re: Problem with JavaScript when using Wicket AJAX Components

2007-12-20 Thread thomas jaeckle
I think I understand now, why the tooltips don't appear. The JavaScript is initialized when the Page is initialized. At this time the DataTable inside the AjaxLazyLoadPanel is not there. The JavaScript iterates over all elements I have specified ('input', 'td', 'tr', 'textarea', 'select', 'span',

Re: Wicket posts missing on nabble

2007-12-20 Thread Gwyn Evans
Sure, we like Nabble; we just don't have any more influence with it that anyone else, so as far as reporting any issues go, (as far as I'm aware), there's nothing we could do that anyone else couldn't equally well do! /Gwyn On 20/12/2007, jweekend [EMAIL PROTECTED] wrote: Your suggestion would

Re: Strange wicket bug in DataView?

2007-12-20 Thread Gwyn Evans
No real idea, but I'd be tempted to stick in some diagnostic logging to log the calls to the DataProvider the details of the lists it returns, just to check there's nothing odd happening there... /Gwyn On 20/12/2007, Tauren Mills [EMAIL PROTECTED] wrote: Thanks. I will try to put together a

Re: Wicket posts missing on nabble

2007-12-20 Thread jweekend
Agreed. As per the initial post on this thread, any issues with nabble (like disappearing posts or multiple deliveries of same post to Wicket mailing-list subscribers) should be reported to nabble support - see link in original post. Regards - Cemal http://jWeekend.co.uk http://jWeekend.co.uk

Minor Announcement: wicket-googlecharts

2007-12-20 Thread Daniel Spiewak
Just a minor sidebar, at Johan's suggestion I've released wicket-googlecharts into the wicket-stuff project. I played with the build system a bit to make it work with maven and I think I did it right, but my maven experience is limited. License is currently discretionary, though if I really had

Re: AjaxEditableLabel not saving

2007-12-20 Thread TahitianGabriel
I have the same problem with wicket RC2 and tomcat 6. Where can I find RC3 to try it as it has not been release yet? Also when I enter accented characters in the editable label (like 'é', 'è', 'à', ...) they are turn into stange unreadable characters (I've tried with both rc1 ans rc2)... Any

RE: Minor Announcement: wicket-googlecharts

2007-12-20 Thread Dan Kaplan
Wow that looks pretty cool. I'm thinking about making a website that may be able to use that. I bookmarked the article -Original Message- From: Daniel Spiewak [mailto:[EMAIL PROTECTED] Sent: Thursday, December 20, 2007 10:17 AM To: users@wicket.apache.org Subject: Minor Announcement:

Re: Problem with JavaScript when using Wicket AJAX Components

2007-12-20 Thread Matej Knopp
Try this (it's a bit hacky though): datatable.add(new AbstractBehavior() { public final void afterRender(final Component component) { AjaxRequestTaget target = AjaxRequestTarget.get(); if (target !- null) { target.appendJavascript(your javascript to initialize the tooltips);

Re: Minor Announcement: wicket-googlecharts

2007-12-20 Thread Ryan Sonnek
Wonderful work! I've been very interested to try this out in my wicket app! On Dec 20, 2007 1:00 PM, Dan Kaplan [EMAIL PROTECTED] wrote: Wow that looks pretty cool. I'm thinking about making a website that may be able to use that. I bookmarked the article -Original Message- From:

Re: Strange wicket bug in DataView?

2007-12-20 Thread Tauren Mills
Gwyn, Thanks for the guidance! The DataProvider.iterator was being executed twice. I put a breakpoint in iterator() and it would pause when the page first started to load. Then I'd continue running the code, and the breakpoint was hit again. At that time, the full page was rendered except for

Re: Strange wicket bug in DataView?

2007-12-20 Thread Tauren Mills
I think this problem is caused by the browser. Using Firebug, it looks like the browser is actually requesting the page a second time. Both requests go to: http://localhost:8080/db/app/?wicket:interface=:15 Here are the request headers from the first request: Host: localhost:8080

Re: Strange wicket bug in DataView?

2007-12-20 Thread Igor Vaynberg
that is actually in our gotchas wiki page - images with src= cause a request to the page... -igor On Dec 20, 2007 6:54 PM, Tauren Mills [EMAIL PROTECTED] wrote: I think this problem is caused by the browser. Using Firebug, it looks like the browser is actually requesting the page a second

Re: AjaxEditableLabel not saving

2007-12-20 Thread Advanced Technology®
I 've downgrade to wicket-extensions 1.3.0-rc1, and it's working. AT 2007/12/20, TahitianGabriel [EMAIL PROTECTED]: I have the same problem with wicket RC2 and tomcat 6. Where can I find RC3 to try it as it has not been release yet? Also when I enter accented characters in the editable

Re: AjaxEditableLabel not saving

2007-12-20 Thread TahitianGabriel
I've downgraded to RC1 also, but the accented characters are not handled correctly neither in RC1 or RC2... By the way I'm using Tomcat... Azarias Tomás wrote: I 've downgrade to wicket-extensions 1.3.0-rc1, and it's working. AT 2007/12/20, TahitianGabriel [EMAIL PROTECTED]: I have