Re: [Wicket-user] London Wicket Users Group, July 3rd - interested?

2007-06-15 Thread John Patterson
That sounds great. I used Wicket over a year ago and am about to build another site using it so this sounds like a good refresher. On 15 Jun 2007, at 09:09, Martijn Dashorst wrote: > I am interested, but geographically challenged. However, there are > some online tools available to help us pla

Re: [Wicket-user] Build failure

2007-03-13 Thread John Patterson
s that is the deciding factor? > > Martijn > > On 3/13/07, John Patterson <[EMAIL PROTECTED]> wrote: >> On 13 Mar 2007, at 12:31, Frank Bille wrote: >> >>> I get the same error and have tried to remove local jar files. I'll >>> look into it tonig

Re: [Wicket-user] Build failure

2007-03-13 Thread John Patterson
On 13 Mar 2007, at 12:31, Frank Bille wrote: > I get the same error and have tried to remove local jar files. I'll > look into it tonight (can't get workspace setup using new "al" > structure) > Great, cheers. Until then I have checked out the last revision before the restructuring. -

Re: [Wicket-user] Build failure

2007-03-13 Thread John Patterson
header field >> On 13 Mar 2007, at 12:02, Martijn Dashorst wrote: > Probably you have remove the jars from your local repository and > build again. > > Martijn > > On 3/13/07, John Patterson <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I get this error

[Wicket-user] Build failure

2007-03-13 Thread John Patterson
Hi, I get this error message when trying to build wicket: ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure error: error reading /Users/john/.m2/repository/org/apache/wicket/ wicket/1.3.0-incubating-SNAPSHOT/wicket-

Re: [Wicket-user] URL problem in phonebook app

2007-03-05 Thread John Patterson
reverted to 1.3 anyway... On 5 Mar 2007, at 17:44, Igor Vaynberg wrote: in latest 1.3 the wicket path param should not be necessary because wicket will scan your web.xml to find it for you -igor On 3/5/07, John Patterson <[EMAIL PROTECTED]> wrote: I have reverted to Wicket 1.3 now beca

Re: [Wicket-user] URL problem in phonebook app

2007-03-05 Thread John Patterson
, Eelco Hillenius wrote: > How did you configure the filter in web.xml? > > Eelco > > On 2/26/07, John Patterson <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I am trying to use the wicket filter in trunk but cannot get it to >> respond to a url to my home pa

[Wicket-user] URL problem in phonebook app

2007-02-26 Thread John Patterson
Hi, I am trying to use the wicket filter in trunk but cannot get it to respond to a url to my home page. The same problem seems to happen with the phonebook app. When I run the phonebook app I enter http:// localhost:8080/phonebook which redirects to http://localhost:8080/ phonebook/app.

[Wicket-user] Phonebook app links

2006-11-01 Thread John Patterson
Hi, I have checked out the latest wicket 2.0 code from apache and the phonebook from Sourceforge and everything compiles correctly after changing some onSubmit methods from protected to public. The phonebook home page displays correctly but no links work... maybe because they have links lik

[Wicket-user] Javascript behaviour

2006-07-14 Thread John Patterson
Hi, I need to add a behaviour to a link so that when it is clicked several other component are made visible. I could do this with an AJAX link but it seems that this might be better acheived with a simple bit of client side script. Is there any existing behaviour to to this sort of thing o

Re: [Wicket-user] Eclipse don't copy .html to output folder

2006-07-04 Thread John Patterson
This sounds like the problem I came across a few weeks ago:http://thread.gmane.org/gmane.comp.java.wicket.user/13599/focus=13605I solved it by creating a new workspace and importing all my projects again.I reported this bug to Eclipse and they said that it was a problem with the classpath format ch

Re: [Wicket-user] Is it possible to embed jsp in wicket ?

2006-06-28 Thread John Patterson
Hi Ingram,I have been using Wicket in a Webwork based application which I imagine would be very similar to what you want to do.  Both frameworks register a Servlet to handle requests and can be mapped to any servlet path.  I have had no problems switching from pages in one framework to the other. 

Re: [Wicket-user] Is Wicket ok for DDA web applications?

2006-06-22 Thread John Patterson
Check this out!  First listing is a .gov.uk website giving info on DDA.  The Googlebot indexed a page saying "Your browser does not support _javascript_!".  Clearly they don't regard _javascript_ as a problem.http://www.google.com/search?hl=en&lr=&q=dda+support+_javascript_+worthing&btnG=SearchThe

Re: [Wicket-user] Session ids and search engine bots

2006-06-22 Thread John Patterson
d> > > is that a new page instance is created instead of looked up from session > > > stored, and then processing continues as usual.> > >> > > -Igor> > >> > >> > >> > >  On 6/13/06, John Patterson < [EMAIL PROTECTED]> w

Re: [Wicket-user] Is Wicket ok for DDA web applications?

2006-06-22 Thread John Patterson
Fascinating. I had never heard of DDA compliance before but a little Googling makes me realise that I should really take notice. Especially the part about sites like Priceline.com being successfully sued over their accessibility. http://www.webcredible.co.uk/user-friendly-resources/web- a

Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?

2006-06-22 Thread John Patterson
Perhaps all 1.2 compliant stuff could be copied into the wicket-stuff/ WICKET_1_2 branch so we know what should work. On 22 Jun 2006, at 01:45, Martijn Dashorst wrote: > I tried (a 0.4 snapshot version of ) dojo with 1.2, but that got > several exceptions. After putting the most recent (soon to

Re: [Wicket-user] Wicket 2.0 Model change trap...

2006-06-16 Thread John Patterson
Nice one!  It is so fundamental and has always seemed odd to me.  That interface almost put me off using Wicket when I first checked it out.  I know that is a very superficial attitude, but first impressions are important.  I think I may have even hit the back button and then returned for another l

Re: [Wicket-user] Plan to develop a portal

2006-06-15 Thread John Patterson
Cheers Igor, that has really put things into perspective.  The lack of decent documentation for Pico means that I have spent countless hours getting things to work the way I want.  I suspect that I might switch to Spring when I get some time.John.On 15 Jun 2006, at 13:17, Igor Vaynberg wrote:On 6/1

Re: [Wicket-user] Plan to develop a portal

2006-06-15 Thread John Patterson
Igor, sorry to turn this into a Spring Q&A!  I understand if you don't want to discuss Spring on this list but it is hard to get an unbiased opinion on theirs.I have only briefly looked at Springs IoC and was put off by the amount of configuration XML I would have to write.  I use Picocontainer whi

Re: [Wicket-user] Session ids and search engine bots

2006-06-13 Thread John Patterson
ession >> stored, and then processing continues as usual. >> >> -Igor >> >> >> >> On 6/13/06, John Patterson <[EMAIL PROTECTED]> wrote: >>> >>> On 13 Jun 2006, at 19:55, Eelco Hillenius wrote: >>> >>>> Or maybe ther

Re: [Wicket-user] Session ids and search engine bots

2006-06-13 Thread John Patterson
On 13 Jun 2006, at 19:55, Eelco Hillenius wrote: > Or maybe there will be more trade offs. Depends on how badly people > want it, and who will work on it. In 2.0, Johan built in a form that > posts back to a bookmarkable page, so you can even build pages with > forms that are still stateless. > >

Re: [Wicket-user] Session ids and search engine bots

2006-06-13 Thread John Patterson
Just a quick question about how this will work in 2.0; is it possible to have a page that has a normal link with an onClick handler which is not stored in the session? In this case the link target would need to specify both the BookmarkablePage and the Listener to call and when the target i

Re: [Wicket-user] Session ids and search engine bots

2006-06-10 Thread John Patterson
g the API docs not to implement that interface directly >> (and I >> > > wouldn't know any advantage to do that), it means you don't >> have a >> > > drop in. >> > > >> > > So before you do a lot of work, you might want to wait

Re: [Wicket-user] Session ids and search engine bots

2006-06-08 Thread John Patterson
On 8 Jun 2006, at 18:17, Eelco Hillenius wrote: > I'm just about to check in changes that - finally - lets Wicket defer > session creation until it is actually needed. The change is done for > 2.0/ trunk, but we're currently voting on whether it is worth an API > break. IBehavior has one addition

Re: [Wicket-user] Dependency Injection vs Service Locator

2006-06-08 Thread John Patterson
On 6 Jun 2006, at 09:56, Ben Fortuna wrote: > Hi all, > > I've been investigating the possibilities of integrating Wicket and > OSGi with favourable results. However, one major hurdle, which I think > a couple of others have also pointed out here, is that there is as yet > no solution providing "

Re: [Wicket-user] Session ids and search engine bots

2006-06-08 Thread John Patterson
On 8 Jun 2006, at 09:52, Johan Compagner wrote: > you could return your own versions of ISessionStore > that pretty much doesn't do anything.. > Dont know if that always works.. Thanks, I think I will try this approach and see what happens! I will be building a new site in the next month or t

Re: [Wicket-user] Session ids and search engine bots

2006-06-08 Thread John Patterson
On 8 Jun 2006, at 01:43, Timo Stamm wrote: > Are you sure this issue is that important? In my experience, Google > does > index pages with a session id parameter in the URL. The session id is > stripped in the search result URL, so I don't see any problems. See the quotes in my previous post fr

Re: [Wicket-user] Session ids and search engine bots

2006-06-08 Thread John Patterson
On 8 Jun 2006, at 05:10, Johan Compagner wrote: > > > Or make your own buffered response object > (WebApplication.newWebResponse()) > and override in the response object the > public CharSequence encodeURL(CharSequence url) > > but then you have to analize the url and know which one you want to

Re: [Wicket-user] Session ids and search engine bots

2006-06-07 Thread John Patterson
On 7 Jun 2006, at 22:15, Igor Vaynberg wrote:Because wicket components are stateful that state needs to live somewhere. So far it can only live in session for wicket 1.2 or on client in wicket 2.0. Thanks for the update.  I look forward to using this new facility.Maybe in 2.0 what we do is check fo

Re: [Wicket-user] Session ids and search engine bots

2006-06-07 Thread John Patterson
On 7 Jun 2006, at 17:32, Eelco Hillenius wrote:Well, people can still argue whether it is in Google's way or not. Seemy comment at http://technically.us/n8/articles/2006/05/07/baking-for-google#commentsI have read quotes on Matt Cutts blog that session ids should be avoided.  Also quotes from Googl

[Wicket-user] Session ids and search engine bots

2006-06-07 Thread John Patterson
Hi, I was wondering what the current state of wicket is regarding not adding a JSESSIONID to pages served to search engine bots? Also, are http sessions still created if I use only bookmarkable pages and don't want to store any application session state? Thanks, John. __

[Wicket-user] Eclipse classpath problem

2006-06-07 Thread John Patterson
Hi all,Here is a tip for Wicket users following Eclipse milestone builds.I have recently upgraded Eclipse to 3.2RC7 from M5a and it broke my launch configurations.  It auto-upgrades them to a new format and annoyingly removes resources in your source directories from the classpath.  Because wicket

Re: [Wicket-user] RequestCycleProcessor / Transactions again

2006-05-11 Thread John Patterson
You can either implement your transaction handling in your business objects that are simply called from wicket or if you really want transactional code in your pages you can subclass WebRequestCycle and override the methods: onRuntimeException() - rollback transaction onEndRequest() - commi

[Wicket-user] Re: Redirect to bookmarkable page

2006-05-05 Thread John Patterson
John Patterson wrote: Do you mean the RedirectPage in the library application? If so, can you explain why such a page is needed to logout? I thought that Session.invalidate() waits until after the request is finished anyway? Regarding the RedirectPage being used in the sample wicket

[Wicket-user] Re: The other side of Wicket ...

2006-05-05 Thread John Patterson
Johan Compagner wrote: there are other examples What if a new link doesn't make a new page? But just sets a new modelobject? Good example! It seems to me that the most common case would be simply creating a new page in a new window. In this case I can't see why it is necessary to clone the

[Wicket-user] Re: The other side of Wicket ...

2006-05-05 Thread John Patterson
John Patterson wrote: I thought that whenever I click on a link, a new page object is created? If the link opens in a new window then why would the page need to exist in the old page map at all? It was never shown in that window. So I can understand the use case, can you give me an example

[Wicket-user] Re: The other side of Wicket ...

2006-05-05 Thread John Patterson
Johan Compagner wrote: Yes that is it. The page that you are showing now in a different window can also be displayed in another window. So we can't move it because it also have to exist with its different versions in the pagemap it came from. I thought that whenever I click on a link, a ne

[Wicket-user] Re: The other side of Wicket ...

2006-05-05 Thread John Patterson
Ashley Aitken wrote: So the pages are only serialised when the session is serialised for replication. I am not sure how Wicket (or if it is even within Wicket's scope) handles replication/clustering, but if one were using sticking sessions (sessions mapped to the same server in the cluster) th

Re: [Wicket-user] Redirect to bookmarkable page

2006-05-03 Thread John Patterson
Done.On 3 May 2006, at 15:39, Johan Compagner wrote:that is currently not possiblewe don't have a PageMap.redirectToInterceptPage(final Class pageClass)only a Pagecan you add a feature request for this?johan On 5/3/06, John Patterson <[EMAIL PROTECTED]> wrote: Hi,I would like users to

Re: [Wicket-user] Redirect to bookmarkable page

2006-05-03 Thread John Patterson
e>> can you add a feature request for this? >> johan>>> On 5/3/06, John Patterson <[EMAIL PROTECTED]> wrote:>>>> Hi,>>>> I would like users to be able to bookmark my login page with a nice >> link. I have mounted the page and tested that this l

[Wicket-user] Redirect to bookmarkable page

2006-05-03 Thread John Patterson
Hi, I would like users to be able to bookmark my login page with a nice link. I have mounted the page and tested that this link does indeed take you to my LoginPage. However, when users are redirected to this page by redirectToInterceptPage the page url is not the bookmarkable one (/member/

[Wicket-user] building contrib beanedit

2006-03-24 Thread John Patterson
Hi, Are there any instructions on how to build wicket-contrib-beanedit? There seems to be many missing packages ie net.sf.ipn.app.page There also seems to be some kind of auto generated classes that are not included eg net.sf.ipn.data.auto._User Thanks, John

Re: [Wicket-user] Adding Feedback messages

2006-03-24 Thread John Patterson
TECTED]> wrote: > > this is the exact usecase i am working on, should be done by tonight at > > some point. > > > > -Igor > > > > On 3/23/06, John Patterson <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I have added a Feedb

[Wicket-user] Adding Feedback messages

2006-03-23 Thread John Patterson
Hi, I have added a FeedbackMessages instance to my session class so that I can add messages that will be displayed on the next page shown to the user. After being displayed they will be cleared. It looks to me as if the I should be able to override the newFeedbackMessageModel() method to retu

Re: [Wicket-user] Switching to https

2006-03-22 Thread John Patterson
On Wednesday 22 Mar 2006 08:44, Martijn Dashorst wrote: > There is no work planned on such a thing, but you are welcome to provide an > implementation :-) > Cool. Yes I would love to... I am about to go on Safari in Venezeula for three weeks! I recall someone saying a number of months ago that

Re: [Wicket-user] Switching to https

2006-03-22 Thread John Patterson
On Wednesday 22 Mar 2006 08:29, Juergen Donnerstag wrote: > I think the last time we discussed that topic the conclusion was that > no immediate action is required as most applications which require > https tend to have only a very limited number of http pages. > This doesn't really sound right to

Re: [Wicket-user] Switching to https

2006-03-22 Thread John Patterson
. Is there any work planned on this already? On Wednesday 22 Mar 2006 04:38, Johan Compagner wrote: > the only thing i can think of right now is use the ExternalLink to specify > the full url > where you want to move to > > johan > > On 3/21/06, John Patterson <[EMAIL P

[Wicket-user] HTTPS switching

2006-03-22 Thread John Patterson
Hi, Is there a standard way to handle switching between http and https? Thanks, John. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast

[Wicket-user] Switching to https

2006-03-21 Thread John Patterson
Hi, Is there a standard way to handle switching between http and https? Thanks, John. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast

Re: [Wicket-user] HttpSession access

2006-03-01 Thread John Patterson
On Wednesday 01 Mar 2006 13:51, Juergen Donnerstag wrote: > What do you need it for? > I am migrating my web application from WebWork to Wicket. All new functionality is written in Wicket but I need to share some objects with the old code such as the currently logged in user. This is stored in

[Wicket-user] HttpSession access

2006-03-01 Thread John Patterson
Hi, I am using a wicket 1.2 version from cvs from about 2 wekks ago. There seems to be no way to access the HttpSession. Is this still true? John. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends

Re: [Wicket-user] cannot checkout wicket-struff from cvs at sourceforge

2006-03-01 Thread John Patterson
Sourceforge anonymous cvs access is hopeless. You will need to try during off peak hours or retry many times until you can get a connection. On Wednesday 01 Mar 2006 08:30, Nili Adoram wrote: > Hi, > I tried to checkout wicket-stuff from cvs at sourceforge according to > the instructions at > ht

Re: [Wicket-user] VOTE

2006-02-17 Thread John Patterson
1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) In the hope that we will have both sooner. On Thursday 16 Feb 2006 21:33, Eelco Hillenius wrote: > Hi all, > > This is a non-binding (the developers ultimately decide) call votes > concerning whether we should

Re: [Wicket-user] Post 1.2 roadmap

2006-02-14 Thread John Patterson
On Tuesday 14 Feb 2006 11:43, Eelco Hillenius wrote: > move. I am always in favor of clarity and breaking early in these > matters. > I would certainly rather see wicket become a better framework than be held back by backwards compatibility. Those who are not willing to refactor their ui code

Re: [Wicket-user] Re: Pethate - long urls

2006-02-10 Thread John Patterson
On Friday 10 Feb 2006 01:04, Gili wrote: > For example, if you have a multi-page image gallery, specifying page=0 > would be optional, since it is the default page that gets viewed unless > you specify otherwise. > Again, generally all parameters passed to a page are passed for a reason - t

Re: [Wicket-user] Re: Pethate - long urls

2006-02-09 Thread John Patterson
On Thursday 09 Feb 2006 15:15, Gili wrote: > You misunderstood. I wasn't saying you should be removing parameters. I > was suggesting you canonicalize them. That is, if a user hits: > foo.html?a=1&b=2&c=3 but this is identical to foo.html?a=1 (because b=2 > and c=3 are default values) than yo

Re: [Wicket-user] Re: Pethate - long urls

2006-02-09 Thread John Patterson
On Thursday 09 Feb 2006 11:33, Gili wrote: > I don't think this necessary has anything to do with your URL scheme. > It has to do with having different URLs returning the same (or very > similar) content. As you have written immediately below, the problem IS due to the URL scheme. People n

[Wicket-user] Re: Pethate - long urls

2006-02-09 Thread John Patterson
Igor Vaynberg gmail.com> writes: > its pretty easy to create an encoder that will process regular url > formatted parameters. maybe that is a better default eventhough it is > not as crawler friendly as the other one. you can also change your own > implementation to the default by calling > appli

[Wicket-user] Re: To SSL And Back

2006-02-09 Thread John Patterson
Nick Heudecker gmail.com> writes: > > I'm working on adding the functionality to Wicket. Should be a few more > days. How did this work go? Is there a recommended way to enforce pages to use https? --- This SF.net email is sponsored b

[Wicket-user] After redirection doRender() still called

2005-12-22 Thread John Patterson
Hi Wicketeers, I have a page which can only be viewed if the user is logged in. If the user is not logged in then checkAccess() redirects to a sign in page and returns false. I moved my "page building" code to the onBeginRequest() method so that it is only called when it is really needed (ie

Re: [Wicket-user] Hibernate transactions

2005-12-20 Thread John Patterson
On Tuesday 20 Dec 2005 04:53, Johan Compagner wrote: > it was there really at the beginning. But then developers complained that > it was really difficult to have youre own request cycle > because you needed to first make youre own SessionFactory then youre own > Session then youre own RequestCycle

Re: [Wicket-user] Hibernate transactions

2005-12-19 Thread John Patterson
On Monday 19 Dec 2005 09:33, Eelco Hillenius wrote: > No need for that anymore, it's 'fixed' now (though I don't entirely > agree as I stated in another thread). > Thanks guys! I have used WebWork previously and this is my first Wicket project. I think it is bloody brilliant. I am really looki

Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson
On Saturday 17 Dec 2005 23:10, John Patterson wrote: > I have checked it out and it looks to me like the method > HibernateApplication.onRuntimeException() is never used so transactions > will never be rolled back.  Despite this missing functionality it is still > much more complicate

Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson
On Saturday 17 Dec 2005 22:00, Igor Vaynberg wrote: > you dont need an ejb container to run spring. just like pico you can start > it via a servlet listener. I meant that both spring and EJB provide managed transaction demarcation. Neither of which I am using. > did you look at the solution i i

Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson
005 19:24, Igor Vaynberg wrote: > On 12/17/05, John Patterson <[EMAIL PROTECTED]> wrote: > > Ahh yes this does sound like a better approach. I have never used Spring > > before. a couple of questions: > > > > Can you call multiple operations on your service interfaces i

Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson
On Saturday 17 Dec 2005 19:24, Igor Vaynberg wrote: > > Can you call multiple operations on your service interfaces in the same > > transaction? Or is this not done? > > yes. if you mark your service method as PROPOGATION_REQUIRED it will join a > transaction if one exists, or start a new one if o

Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson
On Saturday 17 Dec 2005 18:31, Igor Vaynberg wrote: > of course i dont have txn management code in every event handler, i use > spring. my service methods are demarkated with their txn attributes and > spring handles it all for me transparently via aop. my wicket code knows > nothing about transac

Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson
On Saturday 17 Dec 2005 17:42, Igor Vaynberg wrote: > imho, your transactions should only > be concerned with what happens in event handlers (onclick/onsubmit) and not > through the enitire request cycle Are you suggesting putting transaction handling in each wicket event handler? --

Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson
On Saturday 17 Dec 2005 15:19, Igor Vaynberg wrote: > you might not be able to do it using the try/catch/finally semantic, but > there are plenty of hooks in there to do it without. the > iexceptionresponsestrategy is indirectly part of the cycle as well. So the answer is no, you cannot have trans

Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson
On Friday 16 Dec 2005 23:35, Igor Vaynberg wrote: > why not instead of using a filter subclass webrequestcycle and all the > transaction logic into it. its all in one place and neat. i think there are > ample hooks for the keypoints you need. WebRequestCycle does not have a hook to capture excepti

Re: [Wicket-user] Hibernate transactions

2005-12-16 Thread John Patterson
On Friday 16 Dec 2005 18:35, Igor Vaynberg wrote: > the full name of the interface is: > wicket.request.compound.IExceptionResponseStrategy. Cheers. I just did a cvs update and there it was! Wow, a lot has changed. One small thing - the implementation of IExceptionResponseStrategy. is named De

Re: [Wicket-user] Hibernate transactions

2005-12-16 Thread John Patterson
On Friday 16 Dec 2005 14:27, Igor Vaynberg wrote: > if you really want to you are free to cutomize any piece of request cycle > processing you want, in this case take a look at > IExceptionResponseStrategy. I can't find this interface... but for the reasons of simplicity and keeping all transacti

Re: [Wicket-user] Hibernate transactions

2005-12-16 Thread John Patterson
On Friday 16 Dec 2005 14:27, Igor Vaynberg wrote: > i think it is reasonable that wicket > catches all runtime exceptions that originate within its ui-tier. it needs > to do that in order to show an error page. if it lets the exception go then > what is responsible for showing the error page? I ag

Re: [Wicket-user] Hibernate transactions

2005-12-16 Thread John Patterson
> > It also creates a new transaction for every data operation which does not > > allow for making multiple operations atomic. > > Not true. Our base dao has methods for batching saves, updates and the > like that use the currently running transaction, with 1 single method > call you can then comm

Re: [Wicket-user] Hibernate transactions

2005-12-16 Thread John Patterson
On Friday 16 Dec 2005 02:47, Igor Vaynberg wrote: > There is in fact an on error handler Application.onRuntimeException(). its > called whenever there is a runtime exception. instead of trying to do > try/catch in your filter you can use a request variable to indicate > success/failure. set it to s

Re: [Wicket-user] Hibernate transactions

2005-12-16 Thread John Patterson
On Friday 16 Dec 2005 05:40, Maurice Marrink wrote: > We use the dao pattern. any exceptions are handled by the different dao's. This would require duplicating error and transaction handling in every method. It also creates a new transaction for every data operation which does not allow for makin

[Wicket-user] Hibernate transactions

2005-12-15 Thread John Patterson
Hi, I am using hibernate with my wicket application and was wondering how I can control transactions? Usually I use a servlet filter that either commits the current transaction or rolls it back. Something like this: try { chain.doFilter(req, resp); // commit if needed } catch (Exception

Re: [Wicket-user] Wiki problem

2005-12-07 Thread John Patterson
On Wednesday 07 Dec 2005 11:17, Martijn Dashorst wrote: > It's not the images, but the source code examples... An even greater > disaster. Gwynn, are you listening? They are still available in Google's cache: http://www.google.com/search?q=cache:j8nGc9VwnnEJ:www.wicket-wiki.org.uk/wiki/index.php/

[Wicket-user] Wiki problem

2005-12-07 Thread John Patterson
Hi, There is a problem on the Wiki where all images appear as some kind of identifier. John. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that make