Re: [ANNOUNCE] Apache Wicket 1.3 released

2008-01-04 Thread Frank Bille
We haven't renamed trunk to 1.3.1, so it is still labelled 1.3.0-SNAPSHOT in the maven repository. Frank On Jan 4, 2008 8:46 AM, Timo Rantalaiho [EMAIL PROTECTED] wrote: Hello, Are 1.3.1-SNAPSHOT builds available somewhere? I could only find the old 1.3.0-SNAPSHOTs here:

Re: external login pages

2008-01-04 Thread Erik van Oosten
Hi Alex, Normally you can throw a special exception, the RestartResponseAtInterceptPageException. Unfortunately I do not think this will work when the intercept page is external to Wicket. So the only thing you can do, is put the original URL in a parameter to the perl page, and let the perl

Re: Wickettester and session?

2008-01-04 Thread Nino Saturnino Martinez Vazquez Wael
Hi David Thanks for the response. I cant construct the application at that point since I need to inject a spring context which might be different from test to test. Sometimes you'll only want to run pure ui tests and mock the database provider. other times you'll want to run integration

RE: external login pages

2008-01-04 Thread Jeremy Thomerson
It's really late here and I'm not at a computer, so this is somewhat pseudo-code, but try this: // place where you caught that they weren't // authenticated (before page construction) String url = getRequest().getServletResponse().getUrlOrSomethingICantRememberRightNow(); throw new

Re: [ANNOUNCE] Apache Wicket 1.3 released

2008-01-04 Thread Martijn Dashorst
That is why I don't like the 1.3.0 number. 1.3-SNAPSHOT is definetly preferable to remove this confusion. Martijn On Jan 4, 2008 9:06 AM, Frank Bille [EMAIL PROTECTED] wrote: We haven't renamed trunk to 1.3.1, so it is still labelled 1.3.0-SNAPSHOT in the maven repository. Frank On Jan

Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread legolas
A web page, but it is completely dynamic and all components will be created based on user request content. Thanks igor.vaynberg wrote: what would you like it to display? a web page or contents of some file/dynamic content? -igor On Jan 3, 2008 3:01 PM, legolas [EMAIL PROTECTED]

Something about Design

2008-01-04 Thread Ahmed Al-Obaidy
First of all, I'm very happy to find this framework... guys you are doing a great job... Guys I'm very new to Wicket, so correct me if I'm wrong: I think we can make use of the approach used by Drupal... I've been using it for while now... and believe me... it worth to watch... IMHO, they have

Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread Nino Saturnino Martinez Vazquez Wael
Hi legolas im not sure how familiar you are with wicket. But i'd go for having the html and just using the approach specified here: http://www.nabble.com/Ways-of-making-components-in-a-page-optional--tp14399390p14399390.html It's possible that I've misunderstood you, do you want to redirect

Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread Johan Compagner
Thats only possible if you use panels for everything. Or generate als ther html dynamically based on your data On 1/4/08, legolas [EMAIL PROTECTED] wrote: A web page, but it is completely dynamic and all components will be created based on user request content. Thanks igor.vaynberg wrote:

[Wicket 1.2.6] How to get Wizard's form from inside a WizardStep?

2008-01-04 Thread Fabio Fioretti
First of all, many compliments for the great Wicket 1.3 release: we're looking forward to port our application to the new cool version! How can I get the Wizard's form from inside a WizardStep? I need it to trigger an AjaxSubmitLink which should update a part of my model while remaining inside

Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread Nino Saturnino Martinez Vazquez Wael
But for most common use cases a page will have a .html . You could use several different approaches to archive something like you talk about. But when it comes down to it you will at least have: Using markup inheritance: one super class with a corresponding html and a sub class with

Re: Wickettester and session?

2008-01-04 Thread Nino Saturnino Martinez Vazquez Wael
Eeek youre right. Why did I not see this earlier.. I'll fiddle a bit with this and see if I can make it work without the wrapper... David Shepherdson wrote: Hello Nino, On 4 Jan 2008, at 8.14 am, Nino Saturnino Martinez Vazquez Wael wrote: Thanks for the response. I cant construct the

Re: Jetty, images and 404 http

2008-01-04 Thread Michael Sparer
that's not a permission problem, jetty just can't find the stuff, please provide some code that generates the 404 error Fernando Wermus-2 wrote: Jetty is not allowing to download the resources of my pages. It dumps this into the log, 42150 [btpool0-1 -

Re: Wickettester and session?

2008-01-04 Thread David Shepherdson
Hello Nino, On 4 Jan 2008, at 8.14 am, Nino Saturnino Martinez Vazquez Wael wrote: Thanks for the response. I cant construct the application at that point since I need to inject a spring context which might be different from test to test. Sometimes you'll only want to run pure ui tests

Re: Wicket 1.3 portlets in Liferay

2008-01-04 Thread Martijn Dashorst
http://www.nabble.com/forum/Search.jtp?forum=13974local=yquery=liferay On Jan 4, 2008 2:41 PM, racso [EMAIL PROTECTED] wrote: How easy is it to use Wicket 1.3 application as a portlet in Liferay Portal 4.xx? As anyone tried it yet? -- Buy Wicket in Action: http://manning.com/dashorst

Re: [wicket-security] LDAP integration?

2008-01-04 Thread Maurice Marrink
Yes and not exactly. wicket-security is build with plugability in mind, meaning if it does not yet exist you can build it yourself quite easily. Regarding LDAP, i myself have never worked with it but there are a couple of options you can try -use swarm and map ldap permissions to swarm principals

Wicket 1.3 portlets in Liferay

2008-01-04 Thread racso
How easy is it to use Wicket 1.3 application as a portlet in Liferay Portal 4.xx? As anyone tried it yet?

Re: [ANNOUNCE] Apache Wicket 1.3 released

2008-01-04 Thread Gerolf Seitz
and another one: http://www.jaxmag.com/itr/news/psecom,id,39414,nodeid,146.html Gerolf On Jan 4, 2008 1:58 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: Another couple of links with some publicity for Wicket: - http://www.javalobby.org/java/forums/t105230.html -

Re: Wickettester and session?

2008-01-04 Thread Nino Saturnino Martinez Vazquez Wael
Hmm had do make a method for switching out the context. But thats okay a minor thing. But I am still getting the class cast exception: I think we should proceed with the example from the jira issue, ive changed it to : tester = new WicketTester(new WicketApplication()); But it still gives

Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread Martijn Dashorst
then just use Echo2. Why make Wicket into Echo2 when you can use that? Wicket has a particular niche and Echo2 has its niche. There is no sense into turning one into the other. Martijn On Jan 4, 2008 12:32 PM, legolas [EMAIL PROTECTED] wrote: I am simple looking to know whether we can get rid

Undesired behavior of wicket:enclosure in 1.3.0-final compared to 1.3.0-rc2

2008-01-04 Thread Daniel Kröger
Hi all, consider the following markup: wicket:enclosure child=label1 span wicket:id=label1/span wicket:enclosure child=label2 span wicket:id=label2/span /wicket:enclosure /wicket:enclosure In Wicket 1.3.0-final I get an Unexpected RuntimeException (WicketMessage: Expected close tag

Release announcement on JavaLobby has wrong subject? :)

2008-01-04 Thread Edvin Syse
http://www.javalobby.org/java/forums/t105163.html Apache Wicket 1.3: first release candidate This isn't a release candidate, is it? :) -- Edvin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [ANNOUNCE] Apache Wicket 1.3 released

2008-01-04 Thread Martijn Dashorst
Another couple of links with some publicity for Wicket: - http://www.javalobby.org/java/forums/t105230.html - http://www.infoworld.com/article/08/01/03/apache-wicket_1.html - http://www.theserverside.com/news/thread.tss?thread_id=47979 Martijn On Jan 3, 2008 10:37 PM, Martijn Dashorst [EMAIL

Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread legolas
I am simple looking to know whether we can get rid of any markup files and just use java files to define and design our pages, something like echo2? Thanks. Nino.Martinez wrote: Hi legolas im not sure how familiar you are with wicket. But i'd go for having the html and just using the

Re: Wicket 1.3 portlets in Liferay

2008-01-04 Thread Thijs
Check also: http://issues.apache.org/jira/browse/WICKET-1132 http://www.liferay.com/web/guest/community/forums/message_boards/message/338111 But in short: it works a bit: If you implement a bridge like the one in http://www.nabble.com/Portlet-howto-tt13093514.html by charly You should get

RE: [wicket-security] LDAP integration?

2008-01-04 Thread William Hoover
Thanks for the info. We are not using Spring (opted for Plexus) so I'm not sure how plausible it will be to implement the easiest solution in our case. The application in question is still in the preliminary evaluation stage so we may have to look for another route. Do you have a

Re: Wickettester and session?

2008-01-04 Thread David Shepherdson
On 4 Jan 2008, at 12.18 pm, Nino Saturnino Martinez Vazquez Wael wrote: I think we should proceed with the example from the jira issue, ive changed it to : tester = new WicketTester(new WicketApplication()); But it still gives the class cast exception. This is running 1.3.0 final. This

[wicket-security] LDAP integration?

2008-01-04 Thread William Hoover
Can wicket-security be used with LDAP? If so, are there any examples available demonstrating its use? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wickettester and session?

2008-01-04 Thread Nino Saturnino Martinez Vazquez Wael
Ahh, that might just be it then.. I've just verified it. I guess I used a too general session, as you wrote the stuff passes when using websession. Im gonna close the bug. Thanks for your help. David Shepherdson wrote: On 4 Jan 2008, at 12.18 pm, Nino Saturnino Martinez Vazquez Wael wrote:

Re: Release announcement on JavaLobby has wrong subject? :)

2008-01-04 Thread Martijn Dashorst
I've reported it to javalobby day before yesterday... Aparently their editorial staff is not very quick in resolving requests. Martijn On Jan 4, 2008 3:40 PM, Edvin Syse [EMAIL PROTECTED] wrote: http://www.javalobby.org/java/forums/t105163.html Apache Wicket 1.3: first release candidate

Re: Undesired behavior of wicket:enclosure in 1.3.0-final compared to 1.3.0-rc2

2008-01-04 Thread marcus dickerhof
Hi everybody, I also have an exception with the nested wicket:enclosure tags since wicket 1.3 final. -- expecting closing tag... It works fine in 1.3. rc 2. Perhaps this is a related problem? Best regards Marcus 2008/1/4, Daniel Kröger [EMAIL PROTECTED]: Hi all, consider the following

Bug in 1.3-final: CheckBox.setRequired() is not picked up as error when unchecked

2008-01-04 Thread Edvin Syse
I just filed: https://issues.apache.org/jira/browse/WICKET-1260 I'm on a deadline for a project and this makes it impossible for me to deploy. Can anyone think of a workaround I could use in the meantime? Sincerely, Edvin Syse

Re: TabbedPanel making AJAX?

2008-01-04 Thread Igor Vaynberg
why exactly isnt ajaxtabbedpanel the way to go? -igor On Jan 4, 2008 7:48 AM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi Guys, I was wondering if there's a way to implement TabbedPanel that when you click the tab, it will do an ajax call to the backend, and update the body of the tab.

Re: Undesired behavior of wicket:enclosure in 1.3.0-final compared to 1.3.0-rc2

2008-01-04 Thread Igor Vaynberg
please open a jira issue and provide a quickstart -igor On Jan 4, 2008 7:15 AM, marcus dickerhof [EMAIL PROTECTED] wrote: Hi everybody, I also have an exception with the nested wicket:enclosure tags since wicket 1.3 final. -- expecting closing tag... It works fine in 1.3. rc 2. Perhaps

Re: [wicket-security] LDAP integration?

2008-01-04 Thread Maurice Marrink
I think there will be one more beta before we do the final. I recently made some changes to boost performance and a public beta for that will be better. Even though we are already using it in our apps without problems through the snapshot release. With any luck the 2nd beta will be released this

Re: London Wicket User Event

2008-01-04 Thread jweekend
Neo, Sounds good, go ahead. We need to make more people aware of our events - too often we hear oh, I would have loved to have come along if I only I had known about it!. BTW, I see that you have not registered for a place yet - depending on where we are hosted (TBA mid-January) we may fill up

Re: Bug in 1.3-final: CheckBox.setRequired() is not picked up as error when unchecked

2008-01-04 Thread Matej Knopp
I'm not sure either. It can be convenient, when you have for example a license agreement. Then you just call checkbox.setRequired(true) and you're done. What are the cons? -Matej On Jan 4, 2008 5:33 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: hmm, that was actually a request:

Re: Wickettester and session?

2008-01-04 Thread David Shepherdson
On 4 Jan 2008, at 1.19 pm, Nino Saturnino Martinez Vazquez Wael wrote: Ahh, that might just be it then.. I've just verified it. I guess I used a too general session, as you wrote the stuff passes when using websession. Im gonna close the bug. Thanks for your help. No probs -- glad there

AjaxFormComponentUpdateBehavior not working with Radio/RadioGroup

2008-01-04 Thread wicket user
Hi all, I am trying to add AjaxFormComponentUpdateBehavior to Radio/RadioGroup, I cant add the behaviour to the Radio as its not a FormComponent. Adding the behaviour to RadioGroup is not working as well. Is there any work around to get it working. Regards Dipu

Re: TabbedPanel making AJAX?

2008-01-04 Thread Igor Vaynberg
this has nothing to do with ajax. you should not store the hibernate object itself in the model, you should use a model that can load the object during next request - that way it is attached to the current session and doesnt have lazy loading problems. see LoadableDetachableModel, and maybe read

Re: TabbedPanel making AJAX?

2008-01-04 Thread Beyonder Unknown
Hi Igor, How are you? The AbstractTab returns a Panel that calls a backend object using hibernate Lazy Loading. (We have a session filter that closes the hibernate session after the page is loaded ). So when you click the tab, it throws a Lazy Loading exception, because the session is

Re: external login pages

2008-01-04 Thread Alex Jacoby
Thanks for the advice. What you suggested is exactly what I've been working on. I think I got it for now, but it's not pretty. Wicket- auth-roles takes care of figuring out that the user isn't authorized for a particular page behind the scenes, so by the time my code knows that the user

Re: Bug in 1.3-final: CheckBox.setRequired() is not picked up as error when unchecked

2008-01-04 Thread Igor Vaynberg
hmm, that was actually a request: https://issues.apache.org/jira/browse/WICKET-1221 not sure what to do here... -igor On Jan 4, 2008 7:49 AM, Edvin Syse [EMAIL PROTECTED] wrote: I just filed: https://issues.apache.org/jira/browse/WICKET-1260 I'm on a deadline for a project and this makes it

Re: TabbedPanel making AJAX?

2008-01-04 Thread Beyonder Unknown
Thanks Igor, Let me try that. Wen T. -- The only constant in life is change. - Original Message From: Igor Vaynberg [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Friday, January 4, 2008 8:53:36 AM Subject: Re: TabbedPanel making AJAX? this has nothing to do with ajax. you

TabbedPanel making AJAX?

2008-01-04 Thread Beyonder Unknown
Hi Guys, I was wondering if there's a way to implement TabbedPanel that when you click the tab, it will do an ajax call to the backend, and update the body of the tab. I looked at AjaxTabbedPanel, but it seems like its not the way to go. Any help will be gladly appreciated. Thanks, Wen Tong

Wicket/Ajax history support

2008-01-04 Thread Sam Hough
What is the best bet for supporting the back button and bookmarking in Ajax heavy Wicket 1.3? I saw this ticket which I think covers what I'm on about: http://issues.apache.org/jira/browse/WICKET-271 So far we are thinking about marking which bean properties of components should be recorded for

Re: external login pages

2008-01-04 Thread Alex Jacoby
It would be nice if it were easier to get the full URL for a page like discussed here http://issues.apache.org/jira/browse/WICKET-609 Whoops - I see this is already fixed in the 1.3 release. The javadocs just haven't been updated yet:

Re: AW: TabbedPanel making AJAX?

2008-01-04 Thread Beyonder Unknown
Hi Stefan, I already tried this, but onAjaxUpdate() is not even executed. Anyways, I have to take look and see if theres another way to implement hibernate with wicket. Thank you very much! Best, Wen Tong -- The only constant in life is change. - Original Message From: Stefan

AW: TabbedPanel making AJAX?

2008-01-04 Thread Stefan Lindner
Wen Tong, I think the following code does what you want: new AjaxTabbedPanel(..) { private static final long serialVersionUID = 1L; @Override protected void onAjaxUpdate(AjaxRequestTarget target) {

Re: Bug in 1.3-final: CheckBox.setRequired() is not picked up as error when unchecked

2008-01-04 Thread Igor Vaynberg
correct, but we need to figure out what the framework default should be. i dont really have an inclination either way -igor On Jan 4, 2008 9:06 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Whatever the resolution, Edvin can override checkRequired on that checkbox of his and return false as

Re: Bug in 1.3-final: CheckBox.setRequired() is not picked up as error when unchecked

2008-01-04 Thread Martijn Dashorst
Whatever the resolution, Edvin can override checkRequired on that checkbox of his and return false as I understand it? Martijn On Jan 4, 2008 5:40 PM, Matej Knopp [EMAIL PROTECTED] wrote: I'm not sure either. It can be convenient, when you have for example a license agreement. Then you just

Re: AjaxFormComponentUpdateBehavior not working with Radio/RadioGroup

2008-01-04 Thread Igor Vaynberg
ajaxformchoicecomponentupdatingbehavior or something similar... -igor On Jan 4, 2008 8:53 AM, wicket user [EMAIL PROTECTED] wrote: Hi all, I am trying to add AjaxFormComponentUpdateBehavior to Radio/RadioGroup, I cant add the behaviour to the Radio as its not a FormComponent. Adding the

Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread Eelco Hillenius
On Jan 4, 2008 7:35 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: then just use Echo2. Why make Wicket into Echo2 when you can use that? Wicket has a particular niche and Echo2 has its niche. There is no sense into turning one into the other. +1! Eelco

Re: BookmarkablePageLink giving a different URL

2008-01-04 Thread Haritha Juturu
hey johan currently i have created a new class which extends from QueryStringUrlCodingStrategy to make it work. u suggest that i shouold use normal mounting , do u mean one of these 2 methods given below mount(IRequestTargetUrlCodingStrategy encoder) and mount(java.lang.String path,

Equivalent to ?php include or Jsp Include directive

2008-01-04 Thread Haritha Juturu
Hi All, How do we achieve ?php include or Jsp Include directive using wicket Thanks Haritha Looking for last minute shopping deals? Find them fast with Yahoo! Search.

Re: Bug in 1.3-final: CheckBox.setRequired() is not picked up as error when unchecked

2008-01-04 Thread Edvin Syse
Thanks, that solved my problem. As of what should be default, my suggestion is to let checkRequired return false because: 1. 1.3 now breaks existing code. Changing it right away will spare existing users from agony :) 2. A new user is likely to expect a required-error if he does

RE: [wicket-security] LDAP integration?

2008-01-04 Thread William Hoover
I'm with you... it doesn't seem to be too difficult to get the mapping between ldap/swarm working. I am attempting to try it out in a simple application. However, I am receiving a NullPointerException in WaspSession because the StrategyFactory is not instantiated. Is there something else that

RE: [wicket-security] LDAP integration?

2008-01-04 Thread William Hoover
Never mind... I wasn't calling super.init() when I was overriding init() in SwarmWebApplication impl -Original Message- From: William Hoover [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 1:14 PM To: users@wicket.apache.org Subject: RE: [wicket-security] LDAP integration? I'm

RE: Wicket Session and threading

2008-01-04 Thread Dan Kaplan
To me it seems like it would be an unusual situation for two threads to access the session at the same time. Under what circumstances does this happen? -Original Message- From: Eelco Hillenius [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 10:15 PM To:

RE: [wicket-security] LDAP integration?

2008-01-04 Thread William Hoover
I do have another question... According to the documentation one should not extend SecureWebPage for the login page (makes sense), but if you have a decorator that is used on all of your pages (including the login page) how can you accomplish this? For example: Example 1: AbstractBasePage

Form binding fails when formcomponents are previously invalidated

2008-01-04 Thread Edvin Syse
Hi! I have a form which uses a CompoundPropertyModel. On the form I have a textfield which has a AjaxFormComponentUpdatingBehavior connected to the onblur event. When I have some data in the field and tab out of the field, the onblur event will update some other parts of the modelobject and

Re: How does wicket support conditional markup display?

2008-01-04 Thread Igor Vaynberg
you would put the message inside webmarkupcontainer and override its isvisible so it only returns true when there are no items in the list -igor On Jan 4, 2008 10:44 AM, Zheng, Xiahong [EMAIL PROTECTED] wrote: I have a page that normally display a list of items retrieved from some external

How does wicket support conditional markup display?

2008-01-04 Thread Zheng, Xiahong
I have a page that normally display a list of items retrieved from some external source. The markup page will be table based in this case. However, when the list returned is empty, I want to display some error message using different markup. Is there a wicket component or tag I can use for this

Re: Equivalent to ?php include or Jsp Include directive

2008-01-04 Thread Roland Kaercher
Hi Haritha, just use a panel where you would have included something. regards, roland On Jan 4, 2008 7:24 PM, Haritha Juturu [EMAIL PROTECTED] wrote: Hi All, How do we achieve ?php include or Jsp Include directive using wicket Thanks Haritha

Re: Jetty, images and 404 http

2008-01-04 Thread Fernando Wermus
I don't have any code. The css files are pointing to some images. If I perform a GET http://localhost:8081/misPartidos/resources I got the file list in the directory, .svn bg-ad-top.png bg-body.png bg-feed.gif bg-footer.jpg bg-header.jpg bg-menu.png bg-menu-hover.png bg-sidebar-bottom.gif

Migration issue from 1.2.6 to 1.3

2008-01-04 Thread Andrew Berman
Hey guys, I am having an issue migrating from 1.2.6 to 1.3. I changed my Application class so it would compile for 1.3 and the method in question is newRequestCycle(Request request, Response response). Before I was looking at the URL and based on the URL selecting a skin for the site and

Re: Jetty, images and 404 http

2008-01-04 Thread Fernando Wermus
Michael, I have changed the images to another directory and it is working right now. I don't know the reason of this behavior but It is solved. Thanks a lot. On Jan 4, 2008 4:43 PM, Fernando Wermus [EMAIL PROTECTED] wrote: I don't have any code. The css files are pointing to some

Re: Form binding fails when formcomponents are previously invalidated

2008-01-04 Thread Igor Vaynberg
create a testcase please -igor On Jan 4, 2008 11:52 AM, Edvin Syse [EMAIL PROTECTED] wrote: Hi! I have a form which uses a CompoundPropertyModel. On the form I have a textfield which has a AjaxFormComponentUpdatingBehavior connected to the onblur event. When I have some data in the

Clear Localizer Cache

2008-01-04 Thread marcus dickerhof
Hello, is there a possiblity to globally clear the localizer cache? I have a database stringresource, which might get updated. If that happens I do not want to restart the application. I want to have button with which I can clear the cache. Thanks! Best regards Marcus

Re: Form binding fails when formcomponents are previously invalidated

2008-01-04 Thread Edvin Syse
I created a standard quickstart project and added this to HomePage.java: public class HomePage extends WebPage { private ModelObject o = new ModelObject(); public HomePage(final PageParameters parameters) { add(new FeedbackPanel(feedback)); Form f = new

Re: Form binding fails when formcomponents are previously invalidated

2008-01-04 Thread Edvin Syse
Oups, Integer.class should be on the number field, not the name field :) Doesn't really matter though, it still blows up :) -- Edvin Edvin Syse skrev: I created a standard quickstart project and added this to HomePage.java: public class HomePage extends WebPage { private ModelObject o =

Re: Form binding fails when formcomponents are previously invalidated

2008-01-04 Thread Edvin Syse
Just found out that calling valid() for the components before returning does the trick, but I guess that's not the correct approach. I added: f.visitChildren(new IVisitor() { public Object component(Component component) { if(component instanceof FormComponent)

Re: Problems Refreshin a Image from AjaxLink

2008-01-04 Thread Loren Cole
I haven't found anything that does a good job covering Wicket 1.3 and I haven't looked at books which cover older versions. There is Enjoying Web Development With Wicket which is available as an ebook, but it is really a series of how-to's - fairly superficial, with no real discussion of how the

Re: Wicket Session and threading

2008-01-04 Thread Frank Bille
What about (i)frames with pages being loaded in every one of them at the same time? Frank On Jan 4, 2008 7:57 PM, Dan Kaplan [EMAIL PROTECTED] wrote: To me it seems like it would be an unusual situation for two threads to access the session at the same time. Under what circumstances does

RE: Wicket Session and threading

2008-01-04 Thread Dan Kaplan
Yeah that makes sense. Since we're sorta on the topic, I thought I would ask this question. As the User object goes from being initially registered to its profile being edited, how does one update the User in the session and the db simultaneously? Here's a scenario: A user registers with your

Re: Clear Localizer Cache

2008-01-04 Thread Matej Knopp
Application.getResourceSettings().getLocalizer().clearCache() might do the trick. -Matej On Jan 4, 2008 9:00 PM, marcus dickerhof [EMAIL PROTECTED] wrote: Hello, is there a possiblity to globally clear the localizer cache? I have a database stringresource, which might get updated. If that

Re: Why dioes this error occur?

2008-01-04 Thread wicket21
We solved more or less the same problem by a) reading the Ajax - Links Example (get the starting point: use AjaxCallDecorator) b) finding/writing a js function to display a layer to cover all the visible area of the window + disallow any user clicks (similar behaviour as the layer behind the

Re: Form binding fails when formcomponents are previously invalidated

2008-01-04 Thread Igor Vaynberg
ajaxformcomponentupdatingbehavior (AB) is really made for isolated component updates. because you are tweaking more then one component you need to process the components that AB is not attached to manually. this involves calling valid() and all that yourself. alternatively you can use

Re: Wicket Session and threading

2008-01-04 Thread Eelco Hillenius
On Jan 5, 2008 5:02 AM, Frank Bille [EMAIL PROTECTED] wrote: What about (i)frames with pages being loaded in every one of them at the same time? Or images that are resources for instance. Eelco - To unsubscribe, e-mail:

Re: Wicket Session and threading

2008-01-04 Thread Eelco Hillenius
On Jan 5, 2008 5:15 AM, Dan Kaplan [EMAIL PROTECTED] wrote: Yeah that makes sense. Since we're sorta on the topic, I thought I would ask this question. As the User object goes from being initially registered to its profile being edited, how does one update the User in the session and the db

Re: Problems Refreshin a Image from AjaxLink

2008-01-04 Thread Eelco Hillenius
Wicket in Action is definitely a long way from finished Not really... we're working on the last chapter now. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANNOUNCE] Apache Wicket 1.3 released

2008-01-04 Thread Eelco Hillenius
And thanks team and community. I feel that Apache Wicket is a text book example of a successful open source project: a diverse and enthusiastic team who don't feel above the rest of the community, and a user base with plenty of people helping out with the lists, issues, WIKI, etc. Thanks all!