Re: newbie: best practice for not rendering component?

2008-09-18 Thread James Carman
Do you know of any websites that currently do what you're talking about? When a website has an internal error like you're talking about, most of the time they go to an error page. However, you can customize your IExceptionSettings (in your application's init method) and see if changing the

Re: Scalability PageMaps

2008-09-18 Thread Uwe Schäfer
James Carman schrieb: hi james Do you think that modulus number should be customizable? So, for now, you mod your number of users by 100. But, for larger sites, they might want to mod it by 1000 or 256 or whatever. actually, the first level dir is created from hash%1 and the second

Re: newbie: best practice for not rendering component?

2008-09-18 Thread Igor Vaynberg
a) interface ierrorlistener { void error(string msg); } b) abstract class errorreportingdataprovier implements idataprovider { private component owner; // setter protected abstract internaliterator(int s, int c); protected abstract void reporterror(ierrorlistener l, exception e);

Localized string retrieved with a warning message

2008-09-18 Thread Azzeddine Daddah
Hi, I get the following warning message when trying to retrieve a localized string: *Tried to retrieve a localized string for a component that has not yet been added to the page. This can sometimes lead to an invalid or no localized resource returned. Make sure you are not calling

Re: DropDownChoice and lazy loaded choices

2008-09-18 Thread Maarten Bosteels
Hi, I never really used OpenSessionInViewFilter, but I remember Juergen Hoeller saying that he sometimes wished he never wrote OSIV because of all the potential side-effects. At the time a ridiculous big percentage of questions on the spring forum where about OSIV. This was several years ago

Re: Localized string retrieved with a warning message

2008-09-18 Thread Michael Sparer
Don't call getString() on your final StringResourceModels, rather just pass the models to the links, then you shouldn't bet the warning anymore regards, Michael Azzeddine Daddah wrote: Hi, I get the following warning message when trying to retrieve a localized string: *Tried to retrieve

Re: Localized string retrieved with a warning message

2008-09-18 Thread Azzeddine Daddah
Thanks Michael, I did but the warnings are still displayed. private void addLinks() { addLink(home, new StringResourceModel(navigationbar.menu.home, this, null), HomePage.class); addLink(numberPool, new StringResourceModel(navigationbar.menu.numberpool, this, null),

IgnoreAjaxRequestException/EmptyAjaxRequestTarget: a way around it?

2008-09-18 Thread Pointbreak
I have a page that in a piece of javascript code does some updates to the page dom, and then does a wicketajaxpost request. This all works fine, unless the dom updates trigger loading of page-bound resources (e.g. images). As it turns out wicket detects during the ajax requests that other requests

Re: Wicket and Mootools?

2008-09-18 Thread Nino Saturnino Martinez Vazquez Wael
You can also check out the new addition to wicket stuff minis, the mootips integration.. Agent Mahone wrote: Hi all What is the best way to integrate mootools in wicket ? Does Mootools slow down the application? Does somebody had good expierence with it? Thanks in advane for any comments

Re: [announce] Wicketstuff Iolite 0.3

2008-09-18 Thread Nino Saturnino Martinez Vazquez Wael
Hmmm wierd It should be working, it are on my pc... Could you try once more.. Im not sure if you can cache an archetype when specifying a remote repo? Gwyn Evans wrote: On Wed, Sep 3, 2008 at 2:30 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: A new version of Iolite

Re: [OT] Wicket in Action Jubilation

2008-09-18 Thread Nino Saturnino Martinez Vazquez Wael
Hmm We at jayway ordered the full package(meap + pdf + tree) about a year ago.. We havent gotten it yet.. Have anybody gotten the book from amazon yet? We have moved a level down in our building though..Might be that... Eelco Hillenius wrote: And it finally shows up on Amazon:

ModalWindow gives Exception

2008-09-18 Thread newbie_to_wicket
Hi, I'm using modal window in my application, but it is not instantiating, it throws an Exception java.lang.NoClassDefFoundError: Lorg/joda/time/MutableDateTime; can any body suggest me which library i have to use to fix this issue. thanks -- View this message in context:

SessionStore and Detachable Models

2008-09-18 Thread carloc
hi everyone, if i use the secondlevelcachesessionstore wicket writes session state into the disk instead of the httpsession right? It is also the one that is used by default. so is it safe for me to not use abstractdetachablemodels and just use compoundpropertymodels since memory is

Re: ModalWindow gives Exception

2008-09-18 Thread Ernesto Reinaldo Barreiro
Maybe you are looking for this jar http://sourceforge.net/project/showfiles.php?group_id=97367package_id=104212 I'm using version version 1.4... Which is the one maven installed for me... Ernesto On Thu, Sep 18, 2008 at 10:10 AM, newbie_to_wicket [EMAIL PROTECTED]wrote: Hi, I'm using

Re: [announce] Wicketstuff Iolite 0.3

2008-09-18 Thread Gwyn Evans
This looks a little sparse? [DEBUG] Trying repository wicketstuff-iolite-repo Downloading: http://wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/wicketstuff-iolite-0.3-SNAPSHOT.jar 13K downloaded . . $ jar tvf

Re: [announce] Wicketstuff Iolite 0.3

2008-09-18 Thread Nino Saturnino Martinez Vazquez Wael
Looks to be okay now.. I tried rebuilding Gwyn Evans wrote: This looks a little sparse? [DEBUG] Trying repository wicketstuff-iolite-repo Downloading: http://wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/wicketstuff-iolite-0.3-SNAPSHOT.jar 13K

Re: [announce] Wicketstuff Iolite 0.3

2008-09-18 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, it looks like it's related to the svn problems from teamcity:( last build were the 03 september..:/ Gwyn Evans wrote: This looks a little sparse? [DEBUG] Trying repository wicketstuff-iolite-repo Downloading:

Re: Scalability PageMaps

2008-09-18 Thread James Carman
On Thu, Sep 18, 2008 at 3:35 AM, Uwe Schäfer [EMAIL PROTECTED] wrote: James Carman schrieb: hi james Do you think that modulus number should be customizable? So, for now, you mod your number of users by 100. But, for larger sites, they might want to mod it by 1000 or 256 or whatever.

Re: SessionStore and Detachable Models

2008-09-18 Thread James Carman
You should use LoadableDetachableModel where possible to avoid stale data (and to preserve memory). On Thu, Sep 18, 2008 at 4:14 AM, carloc [EMAIL PROTECTED] wrote: hi everyone, if i use the secondlevelcachesessionstore wicket writes session state into the disk instead of the

Re: [OT] Wicket in Action Jubilation

2008-09-18 Thread James Carman
I got my copy from amazon rather quickly (ordered 9/11 and delivered 9/15) On Thu, Sep 18, 2008 at 4:02 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hmm We at jayway ordered the full package(meap + pdf + tree) about a year ago.. We havent gotten it yet.. Have anybody gotten

Navigating from a Modal Window

2008-09-18 Thread Eyal Golan
Hi, I have a Modal Window that uses a page. I want that when the user presses OK in the page, there will be a navigation to a new page and the modal window will be closed. The navigation should be not in the modal window but in the original page itself. Here's what I did: In the page that is the

Wicket sample application

2008-09-18 Thread superoverdrive
Hi there! I am looking for a Wicket sample application (e.g. something like a Petshop) - ideally once that includes things such as: User registration, Admin area, editing data (e.g. with Ajax auto-complete) and an example of displaying data in a table that is read incrementally from the

RE: Navigating from a Modal Window

2008-09-18 Thread Kai Mütz
Try setWindowClosedCallback(ModalWindow.WindowClosedCallback) Kai Eyal Golan mailto:[EMAIL PROTECTED] wrote: Hi, I have a Modal Window that uses a page. I want that when the user presses OK in the page, there will be a navigation to a new page and the modal window will be closed. The

Re: [OT] Wicket in Action Jubilation

2008-09-18 Thread Nino Saturnino Martinez Vazquez Wael
Ok.. thanks.. Something must be wrong then... James Carman wrote: I got my copy from amazon rather quickly (ordered 9/11 and delivered 9/15) On Thu, Sep 18, 2008 at 4:02 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hmm We at jayway ordered the full package(meap + pdf +

AW: Wicket and Mootools?

2008-09-18 Thread Agent Mahone
O, thank u very much for ur comments. I have some questions to you: 1. What is the package mini under contribution package for? What is the difference to package contribution/wicket-mootools??? 2. I also noticed that wicket offers you scriptaculous and jquery. Is there any comparsion

Re: Scalability PageMaps

2008-09-18 Thread Uwe Schäfer
James Carman schrieb: So, why are we dividing it up in the first place if it can't lead to problems? before, there was just the sessionId, which - as we all know - could lead to problems with 32k concurrent sessions. what you now have is 8 numbers (like in 100.000.000 minus one) * 32k. i

Re: Scalability PageMaps

2008-09-18 Thread Johan Compagner
yes having this configurable looks ridiculous to me. The only thing that i can think of is is the 32K limit for all the filesystems? or does another filesystem has another limit? Because if that is the case we could make it so that for example we do 3 (1000 dirs) or 4 (1 dirs) numbers per

Re: Wicket sample application

2008-09-18 Thread Michael Sparer
just go a click further and you'll find plenty http://www.wicketstuff.org/wicket13/ http://www.wicketstuff.org/wicket13/ajax/ http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-examples http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook superoverdrive wrote:

Re: Scalability PageMaps

2008-09-18 Thread Uwe Schäfer
Johan Compagner schrieb: hi Johan or does another filesystem has another limit? from what i´ve googled, all FS i could think of either dont care, or limit to (almost) 32k or more. (could be wrong here, anyone?) hopefully the hash is a bit equally divided so the first dir will make 999

Re: Scalability PageMaps

2008-09-18 Thread Matej Knopp
I don't you you want to come anywhere near the amount of 32k files in single folder. I wouldn't assume that every filesystem can handle such amount without performance problems. -Matej On Thu, Sep 18, 2008 at 1:49 PM, Johan Compagner [EMAIL PROTECTED]wrote: yes having this configurable looks

Re: Scalability PageMaps

2008-09-18 Thread Matej Knopp
Also, looking at this whole thing. 32000 concurrent sessions on one machine? What are you trying to achieve? I have yet to see a machine that can handle 32k concurrent users... -Matej On Thu, Sep 18, 2008 at 4:12 PM, Matej Knopp [EMAIL PROTECTED] wrote: I don't you you want to come anywhere

Re: DropDownChoice and lazy loaded choices

2008-09-18 Thread James Carman
Are you using the single session setting on OSIV? Or, are you using multiple sessions? On Thu, Sep 18, 2008 at 9:12 AM, Cédric Thiébault [EMAIL PROTECTED] wrote: In fact my example with the collection updating automatically was wrong... because, as it was said, the transaction is not committed

Re: Scalability PageMaps

2008-09-18 Thread James Carman
From Matej's previous email: e.g. int hash = computeHash(sessionId) % 100; String folder = + hash + / + sessionId; That's where I got the 100 thing. So, what we're talking about here is potentially 10k buckets for session store folders. There would be the potential for 10k top-level folders.

CSS and variation

2008-09-18 Thread Mathias P.W Nilsson
I'm looking at http://www.csszengarden.com CSS Zengarden that uses the same html markup and only alters the css. I would like to use variation like this and I'm wondering what my approach should be? I set Session.setVariation( String variation ) in my session object I have the same java and

Re: Scalability PageMaps

2008-09-18 Thread Jan Kriesten
Also, looking at this whole thing. 32000 concurrent sessions on one machine? What are you trying to achieve? I have yet to see a machine that can handle 32k concurrent users... hehe - the new 'Office Cray' CX1 might be up for the challenge. :D

Re: Scalability PageMaps

2008-09-18 Thread James Carman
I saw that yesterday. I wonder if that thing will run linux? When I get rich and infamous, I'm buying one. On Thu, Sep 18, 2008 at 10:32 AM, Jan Kriesten [EMAIL PROTECTED] wrote: Also, looking at this whole thing. 32000 concurrent sessions on one machine? What are you trying to achieve? I

Re: DropDownChoice and lazy loaded choices

2008-09-18 Thread James Carman
Right, I was going to suggest you not use multiple. That does lead to problems if you're not careful. Anyway, in your situation, you're holding onto a detached object? And, it's somehow getting loaded (huh huh, I said getting loaded) somewhere else during the same request? On Thu, Sep 18,

Re: CSS and variation

2008-09-18 Thread James Carman
Take a look at this document. It should help you. http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html You'll probably want to use different styles for your different skins. On Thu, Sep 18, 2008 at 10:35 AM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: I'm looking at

Re: CSS and variation

2008-09-18 Thread Martijn Dashorst
In his case I'd add a different stylesheet through a webmarkupcontainer and attribute modifier. No need to go all skinny dipping imo. Martijn On Thu, Sep 18, 2008 at 4:46 PM, James Carman [EMAIL PROTECTED] wrote: Take a look at this document. It should help you.

Re: CSS and variation

2008-09-18 Thread Mathias P.W Nilsson
Maybe I should also say that my css files isn't in the container. They are served thru another servlet. All files are external and is located on a file server. so the /resources/class/. doesn't work for me. -- View this message in context:

Re: Scalability PageMaps

2008-09-18 Thread Jan Kriesten
you can order it with windows hpc _or_ red hat linux :-) I saw that yesterday. I wonder if that thing will run linux? When I get rich and infamous, I'm buying one. Also, looking at this whole thing. 32000 concurrent sessions on one machine? What are you trying to achieve? I have yet to

Re: Scalability PageMaps

2008-09-18 Thread Uwe Schäfer
James Carman schrieb: hi James That's where I got the 100 thing. ah, i lost track of that. did not want to sound harsh or anything. The folders won't be removed even after all of their subfolders are removed, right? no empty folder should be left behind (if you stay away from just

Re: Wicket not secure?

2008-09-18 Thread Igor Vaynberg
urls are session-relative. meaning a url you get from one session will not work in another. if you want urls to work across session, such as the case with bookmarkable pages - http://server.com/view/profile/15 - you must explicitly mount the page to the url. -igor On Thu, Sep 18, 2008 at 9:02

Tables

2008-09-18 Thread michael4321
Hi, I have a table within a table, basically each row has some main details, and the sub table lists attributes for the row. The issue I'm having is that not all attributes should display for each row, and I'm not sure how to get around this. ex. table tr wicket:id=list tdtd

Re: Wicket not secure?

2008-09-18 Thread Johan Compagner
Why is that sentence ambiguous? On 9/18/08, cj91 [EMAIL PROTECTED] wrote: My company is planning an extremely large web project and Wicket is a candidate for use. My manager pointed out some unsettling words on the Wicket FAQ, which are ambiguous unfortunately.

Re: Wicket not secure?

2008-09-18 Thread cj91
We were kind of reading the sentence backwards, the last poster described it very well. Secure URL's would be a 'nice-to-have', but I'm not sure very many frameworks support that. Thanks for the replies, -Jonathan Johan Compagner wrote: Why is that sentence ambiguous? On 9/18/08, cj91

Re: Wicket not secure?

2008-09-18 Thread Igor Vaynberg
afaik wicket is one of very few frameworks to offer this out of the box if not the only one. this feature is really a side-effect of how wicket works :) for complete security you probably want to have a look into CryptedUrlWebRequestCodingStrategy, it completely encrpypts the urls so they look

Re: Wicket not secure?

2008-09-18 Thread Jonathan Locke
to be totally explicit, the third sentence should probably say explicit steps must be taken *by the programmer* ;-) the last sentence is outdated as wicket provides URL encryption if you want it Johan Compagner wrote: Why is that sentence ambiguous? On 9/18/08, cj91 [EMAIL PROTECTED]

Turning off SWARM for testing?

2008-09-18 Thread Neil McT
Is there any way to turn-off / circumvent SWARM for testing? I'm using WicketTester and any time I attempt to navigate to a protected page (i.e. implements ISecurePage) I get bounced back to my login-page. I'd prefer not to have to go to the lengths of 'logging in' a user, just for tests as

Re: Turning off SWARM for testing?

2008-09-18 Thread Igor Vaynberg
have an overrideable method on your application boolean issecurityenabled(), and only add swarm auth strategy if it returns true. that way during tests you can give tester a subclass of your app that returns false. -igor On Thu, Sep 18, 2008 at 10:21 AM, Neil McT [EMAIL PROTECTED] wrote: Is

Re: Localized string retrieved with a warning message

2008-09-18 Thread Erik van Oosten
Are you sure that message is coming from this code? This code looks quite alright to me (though you could replace StringResourceModel(x, this, null) with ResourceModel(x), and change the parameter type to IModelString). Regards, Erik. Azzeddine Daddah wrote: Thanks Michael, I did but

Re: Turning off SWARM for testing?

2008-09-18 Thread Neil McT
Sorry not sure what you mean by 'swarm auth strategy' My application class extends SwarmWebApplication and the only SWARM specific methods it overrides are getHiveKey() and setUpHive() - where I add the policy file. Is it one of these that I should be 'nulling out' for testing? Thanks.

Re: error handling and redirect (was: how to logout and redirect)

2008-09-18 Thread Erik van Oosten
It mainly depends on whether you would like to allow a refresh, and how sensitive you are to nice URLs. The key difference is that the user will see that he/she lands on another URL when you called setRedirect(true). After that a refresh will reload the error page. With redirect set to false,

Re: Turning off SWARM for testing?

2008-09-18 Thread Igor Vaynberg
sorry, i dont know anything about swarm itself. maybe during test you override setuphive() and give it a policy that allows everything and does not require a login. -igor On Thu, Sep 18, 2008 at 10:45 AM, Neil McT [EMAIL PROTECTED] wrote: Sorry not sure what you mean by 'swarm auth strategy'

RE: Turning off SWARM for testing?

2008-09-18 Thread Hoover, William
Try HiveMind.unregisterHive(hiveKey); -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2008 1:56 PM To: users@wicket.apache.org Subject: Re: Turning off SWARM for testing? sorry, i dont know anything about swarm itself. maybe during test

Re: Turning off SWARM for testing?

2008-09-18 Thread James Carman
HiveMind? On Thu, Sep 18, 2008 at 2:03 PM, Hoover, William [EMAIL PROTECTED] wrote: Try HiveMind.unregisterHive(hiveKey); -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2008 1:56 PM To: users@wicket.apache.org Subject: Re: Turning off

RE: Turning off SWARM for testing?

2008-09-18 Thread Hoover, William
Yes, the same org.apache.wicket.security.hive.HiveMind used to HiveMind.registerHive(getHiveKey(), factory) the factory in SwarmWebApplication#setUpHive() -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Carman Sent: Thursday, September 18, 2008 2:07

Re: Turning off SWARM for testing?

2008-09-18 Thread James Carman
Way to poach a name! :) On Thu, Sep 18, 2008 at 2:17 PM, Hoover, William [EMAIL PROTECTED] wrote: Yes, the same org.apache.wicket.security.hive.HiveMind used to HiveMind.registerHive(getHiveKey(), factory) the factory in SwarmWebApplication#setUpHive() -Original Message- From:

RE: Turning off SWARM for testing?

2008-09-18 Thread Hoover, William
Yeah, really :) the param name in the register method is for the hive key is queen... hmmm... I wonder if any exceptions refer to you getting stung -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Carman Sent: Thursday, September 18, 2008 2:24 PM To:

Re: Turning off SWARM for testing?

2008-09-18 Thread James Carman
Well, coming from a member of the Apache HiveMind PMC, that's confusing. On Thu, Sep 18, 2008 at 2:30 PM, Hoover, William [EMAIL PROTECTED] wrote: Yeah, really :) the param name in the register method is for the hive key is queen... hmmm... I wonder if any exceptions refer to you getting stung

Re: Turning off SWARM for testing?

2008-09-18 Thread Igor Vaynberg
thats why we have packages :) -igor On Thu, Sep 18, 2008 at 11:37 AM, James Carman [EMAIL PROTECTED] wrote: Well, coming from a member of the Apache HiveMind PMC, that's confusing. On Thu, Sep 18, 2008 at 2:30 PM, Hoover, William [EMAIL PROTECTED] wrote: Yeah, really :) the param name in the

RE: Turning off SWARM for testing?

2008-09-18 Thread Neil McT
I tried that but it didn't work. But it did remove the need for me to manufacture a unique hive-key per WicketTester instance... so it wasn't a total loss :) Hoover, William wrote: Try HiveMind.unregisterHive(hiveKey); -- View this message in context:

Re: Turning off SWARM for testing?

2008-09-18 Thread Martijn Dashorst
Why not create an authenticated session instead? Martijn On Thu, Sep 18, 2008 at 8:59 PM, Neil McT [EMAIL PROTECTED] wrote: I tried that but it didn't work. But it did remove the need for me to manufacture a unique hive-key per WicketTester instance... so it wasn't a total loss :)

Re: Turning off SWARM for testing?

2008-09-18 Thread Neil McT
Sorry - fairly new to Wicket - don't quite follow. Do you mean subclass AuthenticatedWebSession in the test environment to always return true on authenticate() ? How would this play with SWARM? I have just found an, albeit more convoluted, solution My TestApplication class overrides

Transactions..... again!

2008-09-18 Thread Ryan
I know this topic has come up a few times on the list but I wanted to rehash some ideas again. I'm using Spring/Hibernate/Declarative Transactions. We try to keep our data-models rich and that helps a lot with transactional support (services direct the rich-models and commit at the end of the

Re: Transactions..... again!

2008-09-18 Thread Igor Vaynberg
with salve you can do a neat thing: class transactionalform extends form { @Transactional process() { super.process(); } } now if your form uses an ldm that loads an entity you dont even need an onsubmit, things just get updated automatically because model updates happen within a

Hibernate and DomainLoadableModels

2008-09-18 Thread Ryan
I keep running into a similar issue and it comes down to me missing some fundamental knowledge of Hibernate, but I was hoping someone here could help point me in the right direction. Consider a Hibernate model called Child and it has a property called firstName. Now lets say I use a LoadableModel

Re: Hibernate and DomainLoadableModels

2008-09-18 Thread Igor Vaynberg
open another session/transaction and query it from there -igor On Thu, Sep 18, 2008 at 3:51 PM, Ryan [EMAIL PROTECTED] wrote: I keep running into a similar issue and it comes down to me missing some fundamental knowledge of Hibernate, but I was hoping someone here could help point me in the

Re: Transactions..... again!

2008-09-18 Thread James Carman
You don't need Salve for that. You can just use the AspectJ compiler and weave the transactional support into your form class. On Thu, Sep 18, 2008 at 6:49 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: with salve you can do a neat thing: class transactionalform extends form { @Transactional

Re: Hibernate and DomainLoadableModels

2008-09-18 Thread Ryan
Igor, Thanks! This is a different project from my previous email. With rich-models the models handle this information themselves and it is much easier. -Ryan On Thu, Sep 18, 2008 at 03:59:46PM -0700, Igor Vaynberg exclaimed: open another session/transaction and query it from there -igor On

Re: Hibernate and DomainLoadableModels

2008-09-18 Thread James Carman
You're probably better off setting up a Hibernate listener if you want to do audit logging. Check out the Java Persistence with Hibernate book for an example (if you have it). On Thu, Sep 18, 2008 at 6:51 PM, Ryan [EMAIL PROTECTED] wrote: I keep running into a similar issue and it comes down to

Re: Transactions..... again!

2008-09-18 Thread Ryan
Igor, This looks like it would be ideal, I'll read more about Salve and see if I can get it working. -Ryan On Thu, Sep 18, 2008 at 03:49:23PM -0700, Igor Vaynberg exclaimed: with salve you can do a neat thing: class transactionalform extends form { @Transactional process() {

Re: Hibernate and DomainLoadableModels

2008-09-18 Thread Ryan
Yea I looked into that, unfortunately I need more information than I will have in an interceptor/listener. -Ryan On Thu, Sep 18, 2008 at 07:12:31PM -0400, James Carman exclaimed: You're probably better off setting up a Hibernate listener if you want to do audit logging. Check out the Java

Re: Transactions..... again!

2008-09-18 Thread Igor Vaynberg
isnt that what i said? -igor On Thu, Sep 18, 2008 at 4:11 PM, James Carman [EMAIL PROTECTED] wrote: You don't need Salve for that. You can just use the AspectJ compiler and weave the transactional support into your form class. On Thu, Sep 18, 2008 at 6:49 PM, Igor Vaynberg [EMAIL PROTECTED]

Re: Transactions..... again!

2008-09-18 Thread James Carman
I didn't think so. My apologies if I misunderstood. I was talking about using the spring-aspects stuff and having the AspectJ compiler weave the aspects into your code at compile time. Isn't Salve a load-time weaver? On Thu, Sep 18, 2008 at 8:37 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: isnt

Re: Hibernate and DomainLoadableModels

2008-09-18 Thread James Carman
If you're using Spring, you can inject whatever you want into your listener. You can add your listener bean to the list of listeners in your application context configuration file. On Thu, Sep 18, 2008 at 7:23 PM, Ryan [EMAIL PROTECTED] wrote: Yea I looked into that, unfortunately I need more

Re: Transactions..... again!

2008-09-18 Thread Igor Vaynberg
read my email, i said it is possible without salve. salve just makes it easier by letting you put the annotation on any method of any class. salve ships with 3 instrumentation options. there is the agent for load time weaving, a maven2 plugin for compile time weaving, and an eclipse plugin for

Re: Tables

2008-09-18 Thread Peter Thomas
Hi, I think you should use a ListView. You can easily nest one within another. For your particular requirement, you can even consider using a single table instead of embedding a child table. By controlling colspan the attribute columns can line up in case you need that. Have a look at this

Forwarding to a servlet

2008-09-18 Thread David Leangen
Hi! What's a clean way to forward a request to another existent non-Wicket servlet? I have a wicket page that handles user input, then the input should be processed by the existing servlet. Rather than redirecting to an external URL, I thought it would be nice to just forward the request to

Re: Transactions..... again!

2008-09-18 Thread Igor Vaynberg
aspectj is pretty cool, but its expression language is somewhat limited. for example salve allows public void somefunction(@NotNull Integer a, @NotEmpty String b) {} aspectj, at least when i started salve, did not have an expression that would let you match a function if its argument was