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,
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
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
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
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:
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
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
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
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.
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
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
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
*
{
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
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',
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
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
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
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
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
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:
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);
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:
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
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
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
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
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
27 matches
Mail list logo