Re: [Wicket-user] Wicket 1.3 Javadoc
On 7/25/07, Bjön Limell <[EMAIL PROTECTED]> wrote: > > hi > > Im using this one: http://wicketstuff.org/wicket13doc/ > > On 7/25/07, NateBot2000 <[EMAIL PROTECTED]> wrote: > > > > Can someone tell me where a public 1.3-beta2 Javadoc is located? or do > I > > need to pull from SVN and build it myself? I can only find older > versions. > > It would be really sweet if there were a link to each version's Javadoc > on > > the front page of wicket.apache.org... > > Or if you use maven (or the maven ant tasks) you can download the javadoc using the "javadoc" classifier on the dep. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] About to use Wicket. ORM?
On 7/23/07, James Law <[EMAIL PROTECTED]> wrote: > > Hi Matthias, my 2 cents on orm. > As far as which orm/persistence tool, I think a good strategy that I > follow is to use them all! > Really though, I categorize data access into multiple categories > > 1. Lots of insert/update stuff use cases, where you want to modify a > domain model, put bus logic on domain objects, and not think in terms of > rows, but instead modify an object model and let hibernate "see" your > changes --- use hibernate > > 2. Get queries on the screen fast (no need for persistence context, or > changes to the objects) > think ibatis, or spring jdbc. > > I love hibernate, but for complex queries, I think it at times can > require too much understanding of the black box. Like "how are my > many-one setup, is it cached, outer joined, or ?". > > I accomplish this matrix approach using spring.. since it allows me to > use both and still have transactions, and one stop shopping for managing > datasource with all of these tools... I agree. Here at my current job, we're doing a mix of both approaches where we have a number of domain objects managed by Spring/Hibernate/JPA but then we have a number of dynamically generated queries that don't really equate to domain objects. For those we're using straight SQL to (hopefully) quickly pull that data out of the database. If you want to use hibernate and wicket, there's the databinder which has a number of nice Hibernate-related components to use to help manage your models and the like and there's qwicket that'll help you generate the base spring/wicket setup for you if you choose to use spring. If you go with hibernate, I'd recommend sticking as close to "pure" JPA as you can so that you're not necessarily tied to hibernate but get the benefits of an ORM. You can still drop to native SQL if you'd like using the JPA interfaces. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] About to use Wicket. ORM?
Except the question wasn't about learning. It's about being productive. And too often NIH is the anti-productivity pill. Don't want a feature? Don't use it. Wicket offers a lot that I don't use but I'd have to crazy not to use it because of that. On 7/24/07, davor-x <[EMAIL PROTECTED]> wrote: > > > I'm making software for > 10 years now. And I dont use / like orm. But > that's > me. I hate everything that's bloated with features. I hope wicket will not > add new features in it's core. For my use, I've build a kind of my inhouse > orm, I want to view the same data in, say a browsable and selectable list > and then in a crud form - synchonized. The best and only way of learning - > for me - is: DIY. > > -- > View this message in context: > http://www.nabble.com/About-to-use-Wicket.-ORM--tf4131916.html#a11764361 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] JPA Annotation Validation
I use the JPA annotations. Have been for probably a year now. The went final with the EE 5 spec, though. On 7/12/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote: I haven't seen anything on JPA annotations. Last I heard, they were in "draft" or "review". Are they actually available now, and if so, who's using them? On 7/12/07, Craig Lenzen <[EMAIL PROTECTED]> wrote: > > > Thanks Al, I look forward to the post. > > -Craig > > > Al Maw wrote: > > > > Craig Lenzen wrote: > >> Sorry, I was a little confused, I thought this project was using the > JPA > >> annotations for validation. Instead you are actually using the > hibernate > >> validator project annotations. Which means the @Column annotation > would > >> be > >> pretty hard to use..:) > > > > :-) > > > > I have JPA annotation integration working. It's really very easy. Will > > > post some stuff on my blog about it later. > > > > Al > > -- > > herebebeasties.com > > > > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > -- > View this message in context: > http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11572215 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester and Spring
Here it is warts and all: http://www.antwerkz.com/wp/?p=1026 On 7/11/07, Evan Chooly <[EMAIL PROTECTED]> wrote: yeah, I saw that which is great. The problem is still getting the environment set up so that spring, et. al, can find everything it needs to initialize the application context. I figured it out yesterday and am writing up a blog entry on it now. On 7/10/07, Ingram Chen <[EMAIL PROTECTED]> wrote: > > for wicket 1.2, see http://cwiki.apache.org/WICKET/spring.html for > reference (button) > > Wicket 1.3 can use actual WebApplication so it should be no problem. > > On 7/11/07, Evan Chooly < [EMAIL PROTECTED]> wrote: > > > > Does anyone have any documentation on using WicketTester with > > annotation based spring injection? I tried creating a WicketTester using my > > own Application rather then the DummyApplication that's used by default but > > spring complains with: java.lang.IllegalStateException: No > > WebApplicationContext found: no ContextLoaderListener registered? > > > > But it's not immediately clear how I can do that from my test code. > > Anyone have any ideas? All the google results i've found so far deal with > > creating mocks and manully injecting them which is not really what I want. > > > > > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > -- > Ingram Chen > online share order: http://dinbendon.net > blog: http://www.javaworld.com.tw/roller/page/ingramchen > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester and Spring
yeah, I saw that which is great. The problem is still getting the environment set up so that spring, et. al, can find everything it needs to initialize the application context. I figured it out yesterday and am writing up a blog entry on it now. On 7/10/07, Ingram Chen <[EMAIL PROTECTED]> wrote: for wicket 1.2, see http://cwiki.apache.org/WICKET/spring.html for reference (button) Wicket 1.3 can use actual WebApplication so it should be no problem. On 7/11/07, Evan Chooly <[EMAIL PROTECTED]> wrote: > > Does anyone have any documentation on using WicketTester with annotation > based spring injection? I tried creating a WicketTester using my own > Application rather then the DummyApplication that's used by default but > spring complains with: java.lang.IllegalStateException: No > WebApplicationContext found: no ContextLoaderListener registered? > > But it's not immediately clear how I can do that from my test code. > Anyone have any ideas? All the google results i've found so far deal with > creating mocks and manully injecting them which is not really what I want. > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- Ingram Chen online share order: http://dinbendon.net blog: http://www.javaworld.com.tw/roller/page/ingramchen - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] WicketTester and Spring
Does anyone have any documentation on using WicketTester with annotation based spring injection? I tried creating a WicketTester using my own Application rather then the DummyApplication that's used by default but spring complains with: java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? But it's not immediately clear how I can do that from my test code. Anyone have any ideas? All the google results i've found so far deal with creating mocks and manully injecting them which is not really what I want. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] replaceWith() not working
That's a good idea i'll remember for the future. Instead I had the better idea of using a modal window for the delete confirmation. Purty. On 6/29/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: Try a reuse items strategy to see if that works? Martijn On 6/29/07, Evan Chooly <[EMAIL PROTECTED]> wrote: > A thought occurred to me. I'm doing this panel replacement inside a > DataTable. So when the DT rerenders could it be overwriting the change I > just made? Because this panel replacement wouldn't really change the state > of the DT so when it rerenders itself it would render it's entire tree as it > iterates across all the rows and overwrite what I just changed. That sounds > like the probably culprit. Thoughts? > > > On 6/29/07, Evan Chooly < [EMAIL PROTECTED]> wrote: > > It is not. I'm not entirely sure what's broken here. I'm assuming that > tests exist in wicket for this and that it works there so the problem has > *got* to be on my end. I'm just not seeing it. I'll turn logging back on > and dig through each line. There's just so much info there... > > > > > > > > On 6/29/07, Johan Compagner < [EMAIL PROTECTED]> wrote: > > > it is not by accident an ajax request right? > > > > > > > > > > > > On 6/28/07, Evan Chooly < [EMAIL PROTECTED]> wrote: > > > > > > > > On 6/28/07, Eelco Hillenius < [EMAIL PROTECTED]> wrote: > > > > > > > > > > public void onClick() { > > > > > > DeleteLink.this.replaceWith(new > > > > > > ConfirmDeletePanel(DeleteLink.this.getId(), "really delete?") { > > > > > > @Override > > > > > > protected void onCancel() { > > > > > > replaceWith(DeleteLink.this); > > > > > > } > > > > > > > > > > > > @Override > > > > > > protected void onConfirm() { > > > > > > Filter filter = > > > > > > (Filter)getParent().getParent().getModelObject(); > > > > > > service.delete(filter); > > > > > > replaceWith(DeleteLink.this); > > > > > > } > > > > > > }); > > > > > > } > > > > > > > > > > Code looks fine to me. And I'm using replaceWith quite a bit and it > > > > > works fine. Can you try to set a break point in onClick, see if it > > > > > arrives there and step into the replace code? > > > > > > > > > > > > The onClick() is definitely getting called (I set breakpoints this > morning...) but the panel just isn't getting replaced. Now, is there any > problem with replacing a link (in this case) with a panel? There's no > impedence mismatch between the and the that would normally get > used? > > > > > > > > > > > > > - > > > > This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > ___ > > > > Wicket-user mailing list > > > > Wicket-user@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > - > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > ___ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C
Re: [Wicket-user] replaceWith() not working
A thought occurred to me. I'm doing this panel replacement inside a DataTable. So when the DT rerenders could it be overwriting the change I just made? Because this panel replacement wouldn't really change the state of the DT so when it rerenders itself it would render it's entire tree as it iterates across all the rows and overwrite what I just changed. That sounds like the probably culprit. Thoughts? On 6/29/07, Evan Chooly < [EMAIL PROTECTED]> wrote: It is not. I'm not entirely sure what's broken here. I'm assuming that tests exist in wicket for this and that it works there so the problem has *got* to be on my end. I'm just not seeing it. I'll turn logging back on and dig through each line. There's just so much info there... On 6/29/07, Johan Compagner < [EMAIL PROTECTED]> wrote: > > it is not by accident an ajax request right? > > > On 6/28/07, Evan Chooly < [EMAIL PROTECTED]> wrote: > > > > On 6/28/07, Eelco Hillenius < [EMAIL PROTECTED]> wrote: > > > > > > > public void onClick() { > > > > DeleteLink.this.replaceWith(new > > > > ConfirmDeletePanel(DeleteLink.this.getId(), "really delete?") { > > > > @Override > > > > protected void onCancel() { > > > > replaceWith(DeleteLink.this); > > > > } > > > > > > > > @Override > > > > protected void onConfirm() { > > > > Filter filter = > > > > (Filter)getParent().getParent().getModelObject(); > > > > service.delete(filter); > > > > replaceWith(DeleteLink.this); > > > > } > > > > }); > > > > } > > > > > > Code looks fine to me. And I'm using replaceWith quite a bit and it > > > works fine. Can you try to set a break point in onClick, see if it > > > arrives there and step into the replace code? > > > > > > The onClick() is definitely getting called (I set breakpoints this > > morning...) but the panel just isn't getting replaced. Now, is there any > > problem with replacing a link (in this case) with a panel? There's no > > impedence mismatch between the and the that would normally get > > used? > > > > > > > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] replaceWith() not working
It is not. I'm not entirely sure what's broken here. I'm assuming that tests exist in wicket for this and that it works there so the problem has *got* to be on my end. I'm just not seeing it. I'll turn logging back on and dig through each line. There's just so much info there... On 6/29/07, Johan Compagner <[EMAIL PROTECTED]> wrote: it is not by accident an ajax request right? On 6/28/07, Evan Chooly <[EMAIL PROTECTED]> wrote: > > On 6/28/07, Eelco Hillenius < [EMAIL PROTECTED]> wrote: > > > > > public void onClick() { > > > DeleteLink.this.replaceWith(new > > > ConfirmDeletePanel(DeleteLink.this.getId(), "really delete?") { > > > @Override > > > protected void onCancel() { > > > replaceWith(DeleteLink.this); > > > } > > > > > > @Override > > > protected void onConfirm() { > > > Filter filter = > > > (Filter)getParent().getParent().getModelObject(); > > > service.delete(filter); > > > replaceWith(DeleteLink.this); > > > } > > > }); > > > } > > > > Code looks fine to me. And I'm using replaceWith quite a bit and it > > works fine. Can you try to set a break point in onClick, see if it > > arrives there and step into the replace code? > > > The onClick() is definitely getting called (I set breakpoints this > morning...) but the panel just isn't getting replaced. Now, is there any > problem with replacing a link (in this case) with a panel? There's no > impedence mismatch between the and the that would normally get > used? > > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] replaceWith() not working
On 6/28/07, Evan Chooly <[EMAIL PROTECTED]> wrote: I started off with a panel but i moved it down one to the link itself thinking there might be some oddities with the panel being part of a column blah blah blah. I'll rework it and try again. So bumping it back up to the whole panel didn't fix it either. I've verified that the ID used by the new panel matches the one used by the panel i'm trying to replace. No luck. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] replaceWith() not working
I started off with a panel but i moved it down one to the link itself thinking there might be some oddities with the panel being part of a column blah blah blah. I'll rework it and try again. On 6/28/07, Matej Knopp <[EMAIL PROTECTED]> wrote: huh, if you have in your markup, then i wouldn't be surprised if things didn't work as expected. You should try to replace a panel with panel, possible attached to -Matej On 6/28/07, Evan Chooly <[EMAIL PROTECTED]> wrote: > On 6/28/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > public void onClick() { > > > DeleteLink.this.replaceWith(new > > > ConfirmDeletePanel(DeleteLink.this.getId(), "really delete?") { > > > @Override > > > protected void onCancel() { > > > replaceWith(DeleteLink.this); > > > } > > > > > > @Override > > > protected void onConfirm() { > > > Filter filter = > > > (Filter)getParent().getParent().getModelObject(); > > > service.delete(filter); > > > replaceWith(DeleteLink.this); > > > } > > > }); > > > } > > > > Code looks fine to me. And I'm using replaceWith quite a bit and it > > works fine. Can you try to set a break point in onClick, see if it > > arrives there and step into the replace code? > > > The onClick() is definitely getting called (I set breakpoints this > morning...) but the panel just isn't getting replaced. Now, is there any > problem with replacing a link (in this case) with a panel? There's no > impedence mismatch between the and the that would normally get > used? > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] replaceWith() not working
On 6/28/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > public void onClick() { > DeleteLink.this.replaceWith(new > ConfirmDeletePanel(DeleteLink.this.getId(), "really delete?") { > @Override > protected void onCancel() { > replaceWith(DeleteLink.this); > } > > @Override > protected void onConfirm() { > Filter filter = > (Filter)getParent().getParent().getModelObject(); > service.delete(filter); > replaceWith(DeleteLink.this); > } > }); > } Code looks fine to me. And I'm using replaceWith quite a bit and it works fine. Can you try to set a break point in onClick, see if it arrives there and step into the replace code? The onClick() is definitely getting called (I set breakpoints this morning...) but the panel just isn't getting replaced. Now, is there any problem with replacing a link (in this case) with a panel? There's no impedence mismatch between the and the that would normally get used? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] replaceWith() not working
I'm on the latest snapshot and am having a problem using replaceWith(). When I have wicket logging turned on I can see all sorts of activity, but my page doesn't get updated. Below is the code I'm using. I ripped this code off from eelco's blog at http://chillenious.wordpress.com/2006/11/30/ask-confirmation-on-link-clicks-with-wicket/. Does anyone see anything wrong here? Do you need more info? public void onClick() { DeleteLink.this.replaceWith(new ConfirmDeletePanel( DeleteLink.this.getId(), "really delete?") { @Override protected void onCancel() { replaceWith(DeleteLink.this); } @Override protected void onConfirm() { Filter filter = (Filter)getParent().getParent().getModelObject(); service.delete(filter); replaceWith(DeleteLink.this); } }); } - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [announce] Apache Wicket
Awesome! Let me be the first to say ... So when is beta 2 coming out? 8^)= On 6/20/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: We have Graduation! Apache Wicket is established as a top level project within the Apache Software Foundation. >From Greg Stein: Original Message Subject: Apache Board Meeting, June 20, 2007 (new officers!) Date: Wed, 20 Jun 2007 12:45:06 -0700 From: Greg Stein Reply-To: members@ To: members@ Hi all, Today, the newly-elected Board met for the first time. After we got done with our regular series of project reviews and other reports, we elected a new slate of executive officers. I'm happy to present that list: Jim Jagielski, Chairman Justin Erenkrantz, President J Aaron Farr, Treasurer Sam Ruby, Exec VP and Secretary Welcome guys to your new offices! We also established new three projects: * Apache Quetzalcoatl: this springs mod_python and related bits out of the HTTPD project into its own TLP. Gregory Trubetskoy is its Chair. * Apache Wicket: this is a light webapp framework for Java, graduating from the Incubator into its own TLP. Martijn Dashorst is the new Chair. * Apache Commons: this is the venerable Apache Jakarta Commons, now spun out into its own TLP, with Torsten Curdt as its Chair. Finally, we swapped a couple PMC Chairs: * Will Glass-Hussin replaces Henning Schmiedehausen as the Velocity Chair * David Sean Taylor replaces Santiago Gala as the Portals Chair That's it for this month. Please feel free to forward this to any public/private forum as you see fit. If you have any questions, then please don't hesitate to ask myself or any other Director or officer. Cheers, -g We would like to congratulate all Wicket community members with this remarkable feat, we couldn't have done this without you! Furthermore, I like to thank the Board of the Apache Software Foundation for the trust they invested in us. We will not disappoint! We would like to thank Wicket's mentors: * Alex Karasulu (whose birthday coincidentally is today… what a better gift could you receive). Thanks for bringing us on board, and a Happy Birthday!!! * Upayavira, who made the transition even run smoother than thought possible. Thanks for guiding us and I hope you'll stay for a long time with our project! * Bertrand Delacretaz, thank you for your help, votes and advise. We will miss your involvement, but will certainly see you in the future! * Sylvain Wallez, also big thanks for helping and guiding us. I hope Wicket is still working within Joost Finally, congratulations to the new officers, PMC Chairs and the other two new projects: Apache Quetzalcoatl and Apache Commons! Welcome to the club! !!! Champagne !!! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user