Re: tapestry-acegi questions

2006-11-01 Thread James Carman
The value you gave for the symbol de.zedlitz.tapestry.acegi.FormProcessingFilter, is that a service id or a class name (I guess it could be both)? It definitely needs to be a service id, though. On 11/1/06, Jesper Zedlitz [EMAIL PROTECTED] wrote: James Carman wrote: I haven't implemented form

Re: ThreadLocals for Hibernate in Tapestry 4.1

2006-10-31 Thread James Carman
You can use Tapernate (www.carmanconsulting.com/tapernate) if you want, but I'd recommend against the persistence strategies as I think I have a better idea how to do it and it'll be changing soon. The hibernate configuration, open-session-in-view, data squeezer, and POJO rollback features are

Re: tapestry-acegi questions

2006-10-29 Thread James Carman
Hi, Robin. I haven't implemented form-based authentication in tapestry-acegi, yet. But, I don't think it's that difficult, really. Your need to use the AuthenticationProcessingFilter (I don't define it in my hivemodule.xml, but it would be easy to do so in yours) and your form has to have two

Re: ServletContextListener equivalent in Tapestry

2006-10-28 Thread James Carman
the RegistryBuilder.constructDefaultRegistry() is not the correct way to get access into Hivemind registry, when Tapestry is starting up. So, how do I get access to Hivemind registry ... whether it is from inside hivemind.Startup or tapestry.init.ApplicationInitializers. On 10/24/06, James Carman [EMAIL

Re: TACOS DEMO getServletContext().getRealPath(/) returns NULL ?

2006-10-27 Thread James Carman
Is your webapp deployed in a .war file? What application server are you using? On 10/27/06, andyhot [EMAIL PROTECTED] wrote: Dear ken, please do not cross-post. I just got this email 3 times... And i can't even find what the question is... Cause it's sure that your

Re: Dynamic Radiogroup

2006-10-25 Thread James Carman
I don't think it matters where you define it within the HTML. Quite often, the field label will come before the field it labels. I've never had to resort to a .page/.jwc file in this case. On 10/24/06, Patrick Moore [EMAIL PROTECTED] wrote: your FieldLabel's field parameter is wrong, it

Re: ServletContextListener equivalent in Tapestry

2006-10-24 Thread James Carman
There is a configuration point called hivemind.Startup where you can register Runnable objects to be run at HM registry startup time (which is the same as Tapestry startup time). On 10/22/06, KEGan [EMAIL PROTECTED] wrote: Hi, I need to do some tasks when my Servlet web application is

Re: window.print() in Tapestry?

2006-10-24 Thread James Carman
You can use a @Script component to set up some JavaScript to run onload, I believe. On 10/24/06, Dennis Sinelnikov [EMAIL PROTECTED] wrote: Thank you for your reply, Roberto. That is what I figured as well. -Dennis Roberto Ramírez Vique wrote: About the onLoad, not sure but i don't know

RE: T4.1 problem

2006-10-18 Thread James Carman
Is there really a space at the end of your page-class-packages setting in your .application file? I don't know if that matters (Tapestry may be trimming the string first), but that might be your problem. -Original Message- From: Davor Hrg [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: T4.1 problem

2006-10-18 Thread James Carman
no, :( there is no space :( key=org.apache.tapestry.page-class-packages value=hr.hrg.ponpon On 10/18/06, James Carman [EMAIL PROTECTED] wrote: Is there really a space at the end of your page-class-packages setting in your .application file? I don't know if that matters (Tapestry may be trimming

RE: T4.1 problem

2006-10-18 Thread James Carman
tomcat\webapps\ponpon\WEB-INF si it's in WEB-INF if looked relatively On 10/18/06, James Carman [EMAIL PROTECTED] wrote: Well, I know that it works in 4.0, since I'm using that setting. Where is your ponon.application file located within your webapp? -Original Message- From: Davor

Re: T4.1 problem

2006-10-18 Thread James Carman
I don't think that makes a difference. Here's my .application file (with package names changed to protect the innocent): !DOCTYPE application PUBLIC -//Apache Software Foundation//Tapestry Specification 4.0//EN http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd; application

Re: T4.1 problem

2006-10-18 Thread James Carman
and it didnt work I moved it back into context and it worked I restarted tomcat each time finaly, my web app is not packed as .war, it is a folder in webapps in tomcat. another problem is when Home.html is in context dir the source of it can be downloaded via url Davor Hrg On 10/18/06, James Carman

Re: T4.1 problem

2006-10-18 Thread James Carman
-nameponpon/servlet-name url-pattern/app/url-pattern /servlet-mapping /web-app On 10/18/06, James Carman [EMAIL PROTECTED] wrote: The servlet engine won't allow the source to be downloaded via URL, because your tapestry servlet will intercept the request (assuming you've mapped

RE: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)

2006-10-17 Thread James Carman
So, this has nothing to do with the location of the component spec/template itself (not anymore). It's not finding your component class. Make sure that it's in the WEB-INF/classes directory. You should have a WEB/INF/classes/proto/component/ShowMessages.class file in there. Do you?

RE: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)

2006-10-17 Thread James Carman
The class=proto.component.ShowMessages part of your component specification (ShowMessages.jwc) says that there has to be a class called proto.component.ShowMessages. -Original Message- From: Ken nashua [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 1:56 PM To:

RE: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)

2006-10-17 Thread James Carman
Where are your .jwc/.html files located now? -Original Message- From: Ken nashua [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 2:32 PM To: users@tapestry.apache.org Subject: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks) Well i went into the

RE: @Component whoas... Tap-4.1.1 help please (thanks)

2006-10-13 Thread James Carman
As I said, Tapestry can't find your page class. It doesn't know that Login.html is supposed to use the Login class you've defined. Have you told it the default package to look for page classes? Are your templates/page classes in the right places? -Original Message- From: Ken nashua

RE: @Component whoas... Tap-4.1.1 help please (thanks)

2006-10-13 Thread James Carman
that Tapestry isn't finding his page class. He may have changed something in the meantime, though. -Original Message- From: Robert Zeigler [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 11:41 AM To: Tapestry users Subject: Re: @Component whoas... Tap-4.1.1 help please (thanks) James

RE: @Component whoas... Tap-4.1.1 help please (thanks)

2006-10-13 Thread James Carman
James Carman wrote: The fact that (from his previous email) Tapestry was saying that it can't find an emailAddress property on the generated page class BasePage_4 means that it's not using his Login page class or else the generated page class name would be something like Login_x. So, that leads

RE: RE @Component whoas... Tap-4.1.1 help please (thanks)

2006-10-13 Thread James Carman
The 4.0.x versions were ripe enough for that. I don't use page spec files at all in my applications, especially with Tapestry-Autowire. -Original Message- From: Ken nashua [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 1:10 PM To: users@tapestry.apache.org Subject: RE

RE: RE @Component whoas... Tap-4.1.1 help please (thanks)

2006-10-13 Thread James Carman
You're defining your component in both places. Take it out of the page spec file and see what happens. -Original Message- From: Ken nashua [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 1:17 PM To: users@tapestry.apache.org Subject: RE @Component whoas... Tap-4.1.1 help

RE: RE @Component whoas... Tap-4.1.1 help please (thanks)

2006-10-13 Thread James Carman
1. Autowire is a feature that I implemented as a separate library and was integrated into the 4.1 branch. Basically, it allows you to declare an abstract getter for a type of a HiveMind service. For example, you can do this: public abstract HttpServletRequest getHttpServletRequest(); And,

Re: File include

2006-10-12 Thread James Carman
por minuto. http://es.voice.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] James Carman, President Carman Consulting, Inc

Re: accessing state objects from EngineService

2006-10-09 Thread James Carman
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] James Carman, President Carman Consulting, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Thoughts about performance monitoring in Tapestry

2006-10-09 Thread James Carman
] James Carman, President Carman Consulting, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tapestry-captcha/acegi integration

2006-10-05 Thread James Carman
help Denis James Carman wrote: Denis, The hivemodule.xml file for Tapestry-Captcha will take care of wiring in the linkFactory and imageCaptchaService. James -Original Message- From: Denis McCarthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 11:08 AM

Re: tapestry-captcha/acegi integration

2006-10-05 Thread James Carman
) But I get the same exception in CaptchaEngineService when I try it with 4.0. If anyone knows of any error that would cause hivemind not to wire up services properly I'd be more than grateful - I know this is something small TIA Denis James Carman wrote: HiveMind doesn't require you

RE: tapestry-captcha/acegi integration

2006-10-04 Thread James Carman
Denis, The hivemodule.xml file for Tapestry-Captcha will take care of wiring in the linkFactory and imageCaptchaService. James -Original Message- From: Denis McCarthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 11:08 AM To: Tapestry users Subject:

RE: using hivemind in a test situation... looking for example hivemodule xml files.

2006-10-03 Thread James Carman
You can either build up your registry by hand using the RegistryBuilder (do not call constructDefaultRegistry) or you can test your service implementations outside the registry and plug in the dependencies (perhaps using mock objects) by hand. I usually like to test outside the registry if at all

RE: Timing processing time of a page

2006-09-26 Thread James Carman
Look at the bottom of the generated source. It will spit out the processing time automatically for you. For example: !-- Render time: ~ 0 ms -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 1:19 PM To:

RE: Timing processing time of a page

2006-09-26 Thread James Carman
processing time of a page James, Does this need to be enabled somehow? I don't see it in the HTML source. tap 4. Thanks, Greg -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 1:25 PM To: 'Tapestry users' Subject: RE: Timing processing

RE: How to listent for the Request Cycle End

2006-09-22 Thread James Carman
(StrictErrorHandler.java:39 ) --- James Carman [EMAIL PROTECTED] wrote: You can put it in your WEB-INF folder or in WEB-INF/classes/META-INF. Tapestry (actually HiveMind) will find it in either case. -Original Message- From: Dobrin Ivanov [mailto:[EMAIL PROTECTED] Sent: Friday, September

RE: OT - [Tapestry-Users] - prefix in mail subject?

2006-09-21 Thread James Carman
Can't you categorize based on the recipient? Gmail offers that as an option when filtering. -Original Message- From: Karthik N [mailto:[EMAIL PROTECTED] Sent: Thursday, September 21, 2006 10:01 AM To: Tapestry users Subject: OT - [Tapestry-Users] - prefix in mail subject? Is there any

Re: How to listent for the Request Cycle End

2006-09-20 Thread James Carman
://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] James Carman, President Carman Consulting, Inc

RE: changes to @EventListener

2006-09-20 Thread James Carman
Could you override that default behavior if you wanted and tell it not to submit the form? -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 12:47 PM To: Tapestry users Subject: changes to @EventListener I was thinking that it makes a

Re: How to listent for the Request Cycle End

2006-09-20 Thread James Carman
With this approach, you don't need a custom engine. It really works just like a servlet filter. I have used a custom engine for displaying images as is described in Enjoy Web development with Tapestry. Is there an alternative (better) way of doing this? Cheers, On 9/20/06, James Carman

RE: [OT] Tapestry + IDEA

2006-09-18 Thread James Carman
One reason folks like it is because it makes it easy to debug. The launchers will launch with debugging enabled. Of course, it's easy to configure your Tomcat instance to launch with remote debugging enabled. -Original Message- From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED] Sent:

RE: DirectArea component in Tapestry 4

2006-09-01 Thread James Carman
It's a HiveMind object provider. http://tapestry.apache.org/tapestry4/tapestry/hivedocs/service/tapestry.serv ices.EngineServiceObjectProvider.html -Original Message- From: Hajaansh [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 7:21 AM To: Tapestry users Subject: Re:

RE: DirectArea component in Tapestry 4

2006-09-01 Thread James Carman
And, you can see where it's contributed as an object provider here: http://tapestry.apache.org/tapestry4/tapestry/hivedocs/config/hivemind.Objec tProviders.html -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 7:24 AM To: 'Tapestry users

RE: DirectArea component in Tapestry 4

2006-09-01 Thread James Carman
: Friday, September 01, 2006 7:36 AM To: Tapestry users Subject: Re: DirectArea component in Tapestry 4 I meant the direct part not the engine-service: part. Cheers, On 9/1/06, James Carman [EMAIL PROTECTED] wrote: It's a HiveMind object provider. http://tapestry.apache.org/tapestry4/tapestry

RE: Tapestry Acegi

2006-09-01 Thread James Carman
services. This is to stop any circular depencecies being created. Could this cause a problem for TA? I guess I'm kind of working in the cark at the moment, but the concept of TA looks very, very promising! Rob Cole James Carman [EMAIL PROTECTED] 31/08/2006 18

RE: Auto-wiring in AssetService shouldn't be auto-wired?

2006-08-31 Thread James Carman
You can't use an interceptor to inject dependencies reliably. Just adding an interceptor to a service shouldn't prohibit it from being autowired properly or make it stop working. Are you sure you've added your interceptor properly? Did you write your own interceptor factory to do it?

RE: Tapestry Acegi

2006-08-31 Thread James Carman
Yes, we use Tapestry-Acegi at work and it works just fine for us. You have to make sure you get all of the dependencies. A lot of the work is done by the hivemind-acegi module (also available at JavaForge) and the hivemind-acegi-dao module (if you want to use it). -Original Message-

RE: Tapestry Acegi

2006-08-31 Thread James Carman
Oh, as for the @Secured annotation not being present, you have to add the acegi-security-tiger.jar file (tiger = JDK5) to your classpath. Tapestry-Acegi uses the built-in @Secured annotation available from Acegi to secure page classes and listener methods. For the build to work, you will have to

RE: TapIDEA future, post Time to move on

2006-08-31 Thread James Carman
This conversation isn't heading in the right direction. As the Tapestry community, we need to focus on trying to make Tapestry better. Personal attacks against people that you don't agree with are not going to help the situation (not blaming either party here, but I've seen a similar thread in

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread James Carman
: Populating Tapestry ASO after successful Acegi Auth James: I can't get access to the svn repo. Can you send the jars? Thanks, -jason -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:41 AM To: 'Tapestry users' Subject: RE: Populating Tapestry

RE: Anyone ever use StringEscapeUtils.unescapeHtml

2006-08-29 Thread James Carman
Have you tried setting the raw property to true? -Original Message- From: Teofilus Maximillian [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 10:56 PM To: tapestry-user@jakarta.apache.org Subject: Anyone ever use StringEscapeUtils.unescapeHtml Hi guys, I tried to use

RE: tapernate question

2006-08-19 Thread James Carman
like the existing. All you need is a servlet filter to commit close the current session. It's very few lines of code saved by using Spring ORM. Henrik James Carman [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] The main reason that I use the Spring stuff is for the transaction

RE: tapernate question

2006-08-17 Thread James Carman
and java.sql.BatchUpdateException. I am writing an application that has two fields that can violate the same contraints. The lost of HibernateException won't allow me to figure out the which field is duplicated. Xiaoshu -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16

RE: Search Text

2006-08-17 Thread James Carman
Are you talking about searching for text within the page that you're reading? -Original Message- From: Peter Dawn [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 1:39 AM To: tapestry-user@jakarta.apache.org Subject: Search Text guys, is there a component which allows text

RE: Search Text

2006-08-17 Thread James Carman
Hitting Ctrl-F on your browser won't do it? If it's the currently-displayed HTML document, your browser can do the searching for you, no? -Original Message- From: Peter Dawn [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 8:53 AM To: Tapestry users Subject: Re: Search Text

RE: Search Text

2006-08-17 Thread James Carman
Okay, cool. I am one of those guys who try to use the simplest solution that works. I was just checking if Ctrl-F applied. :-) -Original Message- From: Peter Dawn [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 5:50 PM To: Tapestry users Subject: Re: Search Text i will try

RE: tapernate question

2006-08-16 Thread James Carman
), but it seems not doing anything. How to hook with ExceptionPresenter? Xiaoshu -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 9:09 PM To: 'Tapestry users' Subject: RE: tapernate question You can put in a hook

RE: tapernate question

2006-08-16 Thread James Carman
won't allow me to figure out the which field is duplicated. Xiaoshu -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 6:05 AM To: 'Tapestry users' Subject: RE: tapernate question If you want more fine-grained control over what's going

RE: Xerces version

2006-08-16 Thread James Carman
We've (the HiveMind team) had a lot of trouble with OC4J. So, I feel your pain! -Original Message- From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 1:46 PM To: Tapestry users Subject: Re: Xerces version Hello folks, thanks for all the help. Well I'm

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread James Carman
Do you want to iterate the keys or the values? -Original Message- From: Mark Stang [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 3:36 PM To: Tapestry users; Tapestry users Subject: Tapestry 3 Iterating over a map. Can I treat it like a list? Anyone know what the syntax is?

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread James Carman
the values. -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wed 8/16/2006 1:39 PM To: 'Tapestry users' Subject: RE: Tapestry 3 Iterating over a map. Do you want to iterate the keys or the values? -Original Message- From: Mark Stang [mailto:[EMAIL PROTECTED

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread James Carman
Subject: RE: Tapestry 3 Iterating over a map. That sounds great, do you have any syntax? -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wed 8/16/2006 1:45 PM To: 'Tapestry users' Subject: RE: Tapestry 3 Iterating over a map. You can iterate over the entries

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread James Carman
. This will work with a Foreach? -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wed 8/16/2006 1:53 PM To: 'Tapestry users' Subject: RE: Tapestry 3 Iterating over a map. Well, you'd have to call map.entrySet() and for each entry in there, you'd call entry.getKey

RE: how can i solve this problem

2006-08-15 Thread James Carman
But, the parameter is based on a form field (a drop-down). So, wouldn't he have to submit the form to get the currently selected value? -Original Message- From: Chris Chiappone [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 3:13 PM To: Tapestry users Subject: Re: how can i

RE: Strange HiveMind/T4 error message

2006-08-11 Thread James Carman
There is a workaround for this. I don't remember it off the top of my head, but many have encountered this. Just search this list for the answer. It has something to do with the Jetty launcher in Eclipse setting up duplicate classpaths or something. -Original Message- From: news

RE: Tapestry 5 Discussions

2006-08-08 Thread James Carman
Isn't there some sort of ExpressionEvaluator service in HiveMind now? Is that where you'd plug in another expression language? -Original Message- From: Ben Eng [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 08, 2006 3:33 PM To: Tapestry users Subject: Re: Tapestry 5 Discussions

RE: how to do pagin

2006-08-02 Thread James Carman
Are you looking to only query for the rows that you need? Are you using Hibernate? If so, then I need to get my HibernateTableModel out there somewhere. OR, you can use the one that's becoming available in Trails. Chris IMed me this morning and said that he's done with it! Chris, I hope I

RE: Tapestry 5 Discussions

2006-08-01 Thread James Carman
... On 8/1/06, James Carman [EMAIL PROTECTED] wrote: So, you suggest waiting until the product is completely finished/usable before worrying about backward compatibility at all? I don't know about that. It might be wise to consider backward compatibility issues while architecting it. I don't

RE: Tapestry 5 Discussions

2006-08-01 Thread James Carman
Mark, you also have to consider a different type of user. For me, a component/framework extension developer (Tapernate, tapestry-acegi, etc.), I am not going to want to rewrite all of my cool stuff each time a new version of Tapestry comes out. No way will I maintain a version of my components

RE: Tapestry 5 Discussions -- Nice to see people paying attention

2006-07-30 Thread James Carman
are currently the two most active developers I think it has to count for something. We do this because we enjoy it, please don't try and take that away. If you think you can do a better job the door is always open. It ~is~ open source after all :) On 7/29/06, James Carman [EMAIL PROTECTED] wrote: Again

RE: Hivemind: creating a pooled service

2006-07-28 Thread James Carman
FYI, the HiveMind mailing lists have been moved. We are moving to an Apache top-level project, but we haven't moved the website yet. Anyway, have you tried this: service-point id=pooledObjectProvider interface=org.apache.hivemind.ServiceImplementationFactory

RE: RE: Hivemind: creating a pooled service

2006-07-28 Thread James Carman
20 different object ids :) g, kris James Carman [EMAIL PROTECTED] ulting.com

RE: RE: RE: Hivemind: creating a pooled service

2006-07-28 Thread James Carman
my mistake i've seen it in org.apache.tapestry.ApplicationServlet but had no clue what it was for :) it works fine now thank you James Carman

RE: Any news on Tap 4.1?

2006-07-27 Thread James Carman
Components can be autowired too! :-) -Original Message- From: Martin Strand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 3:21 PM To: Tapestry users Subject: Re: Any news on Tap 4.1? I just changed to 4.1 in pom.xml and everything still works. :) Nice to see autowiring for

RE: Any news on Tap 4.1?

2006-07-27 Thread James Carman
-spring.jar), do components from spring get autowired as well? Thanks, Matt -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 3:27 PM To: 'Tapestry users' Subject:RE: Any news on Tap 4.1? Components can be autowired too

RE: global hivemind service

2006-07-26 Thread James Carman
there... Where? Check HiveMind Utilities hivelock module for example. I know there are other existing code for this as well. Cheers Jean-Francois -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 26, 2006 8:23 PM To: 'Tapestry users' Subject: RE: global

RE: PermGen space - Caching is ON

2006-07-24 Thread James Carman
and it sounds from your discussion that making it larger will just delay the OOM condition anyway. Anybody else have any ideas? -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Sunday, July 23, 2006 6:03 AM To: Tapestry users Subject: Re: PermGen space Actually, Tapestry

RE: Are components treated as pages?

2006-07-24 Thread James Carman
I am doing exactly as you are and it works just fine for me. -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 7:44 AM To: Tapestry users Subject: Re: Are components treated as pages? I am looking at another project where I defined the form

RE: Hivemind: Difference between invoke-factory and create-instance

2006-07-24 Thread James Carman
Kris, The create-instance is a very simplistic mechanism. All it does is instantiate that class. It does no configuration or wiring of the instantiated object. If you want dependency injection, use invoke-factory instead, which by default uses the BuilderFactory to instantiate and configure

Re: PermGen space

2006-07-23 Thread James Carman
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] James Carman, President Carman Consulting, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Explicitly setting the locale

2006-07-23 Thread James Carman
locale for testing. This is somewhat time consuming. I would rather have links on the web page that override the locale sent by the browser ('Click here for German', 'Click here for English'). Does anyone know how to do this? Sincerely, Daniel Trebbien. James Carman, President Carman

Re: Table with large data set

2006-07-23 Thread James Carman
On 7/19/06, Jonathan Barker [EMAIL PROTECTED] wrote: +1 for wiki or SVN Jonathan -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 4:38 PM To: 'Tapestry users' Subject: RE: Table with large data set I have a HibernateTableModel

RE: Tapestry AspectJ

2006-07-21 Thread James Carman
I wrote a HiveMind module that allows you to inject HiveMind services/configurations into AspectJ aspects. It works similar to the way Spring does it. -Original Message- From: Adam Zimowski [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 10:30 AM To: users@tapestry.apache.org

RE: ASO and hivemind.xml

2006-07-20 Thread James Carman
You can use whatever you want for the module id (usually your application name, though) and the version has to have the format 1.0.0 (three dot-separated version numbers) . -Original Message- From: Blackwings [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 7:34 AM To: Tapestry

RE: ASO and hivemind.xml

2006-07-20 Thread James Carman
Have you tried using a StateObjectFactory? -Original Message- From: Blackwings [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 9:07 AM To: Tapestry users Subject: Re: ASO and hivemind.xml The situation is : I create class that extends ApplicationServlet and I specify it as the

RE: Re: JFly Application Framework is out

2006-07-19 Thread James Carman
Why do you even have Hibernate in the description of your project? It doesn't use Hibernate at all. At least your build.xml doesn't download any Hibernate library jars: target name=get-ext-libs ibiblio-dependency artifact=commons-codec version=1.3 group=commons-codec

RE: JFly Application Framework is out

2006-07-19 Thread James Carman
With all this hype, it had better be something really cool! :-) -Original Message- From: kiuma [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 8:40 AM To: users@tapestry.apache.org; users@tapestry.apache.org; users@tapestry.apache.org; [EMAIL PROTECTED] Subject: Re: JFly

RE: RE: JFly Application Framework is out

2006-07-19 Thread James Carman
me :-D - --- Original Message --- - From: James Carman [EMAIL PROTECTED] To: 'Tapestry users' users@tapestry.apache.org, 'kiuma' [EMAIL PROTECTED] Sent: Wed, 19 Jul 2006 08:41:59 With all this hype, it had better be something really cool! :-) -Original Message

RE: Table with large data set

2006-07-19 Thread James Carman
I have a HibernateTableModel (an IBasicTableModel impl) if you're interested. There's only one issue which I couldn't really overcome nicely. It has to do with the sorting of the columns. I didn't want to give up the ability to easily define my columns in the HTML (using the columns attribute of

RE: hivemind help

2006-07-19 Thread James Carman
Ron, Are you sure there are no other error messages above that? The resulting exception sounds like something that might happen with an invalid schema. Can you check the logs for other error/warn messages? James -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ron

RE: external link to a tapestry page

2006-07-18 Thread James Carman
If you can get to the HiveMind registry, you can lookup the ExternalService and use it. -Original Message- From: Valdemaras Repšys [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 8:27 AM To: Tapestry users Subject: Re: external link to a tapestry page Thanks for the answer,

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
All code within one request can easily just use one connection. That's what we do with Tapernate. -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 10:13 AM To: Tapestry users; Tapestry users Subject: A bit OT: how to manage database connections

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
a monster elsewhere slowing everything down. Plus you need to take into account how often the index page is actually invoked. - Original Message - From: James Carman [EMAIL PROTECTED] To: 'Tapestry users' users@tapestry.apache.org Sent: Monday, July 17, 2006 11:36 AM Subject: RE: A bit OT: how

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
heavy loads, how feasible will that be? On 7/17/06, James Carman [EMAIL PROTECTED] wrote: Oh, if you're worried about simultaneous connections to the database, you don't have to worry. You can set the maximum size of your pool to some reasonable number. Then, have your components wait until

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
simultaneously. I am using a connection pool. My problem is, if each one of those 9 components retrieve a connection from the pool for each page rendered, multiplied by the number of users, this could lead to a quick exhaustion of resources. On 7/17/06, James Carman [EMAIL PROTECTED] wrote: Yes

Re: How do I do a Servlet filter, or similar functionality... help please!

2006-07-17 Thread James Carman
transaction per HTTP request. So I thought I'd do it like a servlet filter - is this the wrong way? Then I thought maybe I could use my border component which wraps all pages - would that be possible? Better? Any help appreciated. Malin James Carman, President Carman Consulting, Inc

Re: Question about PageValidate

2006-07-17 Thread James Carman
have expected pageValidate should only get called when visiting only the enclosed page. -- ~chris James Carman, President Carman Consulting, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Retrieve hivemind messages from plain old java program

2006-07-16 Thread James Carman
Maybe you could mock the Messages object? -Original Message- From: spamsucks [mailto:[EMAIL PROTECTED] Sent: Sunday, July 16, 2006 3:56 PM To: Tapestry users Subject: Retrieve hivemind messages from plain old java program Hi everyone, I am trying to create some tests that depend upon

RE: Inject and the infrastructure namespace

2006-07-14 Thread James Carman
. I'm surprised if HiveMind lacks this feature common to most IoC containers. Thanks, Ezra Epstein -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 5:28 PM To: 'Tapestry users' Subject: RE: Inject and the infrastructure namespace Take a look

RE: Inject and the infrastructure namespace

2006-07-13 Thread James Carman
Take a look at the Infrastructure interface. Any property from the interface is available via the infrastructure: prefix. -Original Message- From: Epstein, Ezra [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 7:07 PM To: Tapestry users Subject: Inject and the infrastructure

RE: Inject and the infrastructure namespace GENERALIZED

2006-07-13 Thread James Carman
No, you can't do that. The object providers use locator strings (the stuff after the ':' to find/create objects). It is entirely up to the object provider how it wants to interpret them. Here's a description of the canned object providers that come with HiveMind. For a listing of all object

RE: suggestions on a conditonal render in the rewind

2006-07-13 Thread James Carman
Don't put a listener on the form itself and put one on the submit button (or @LinkSubmit or whatever). That's what I'm doing. I am implementing my own validation delegate which only displays error message indicators if its validated flag is set (which I do in my submit button listeners).

RE: How to do Tapestry 4.1 form cancel listener?

2006-07-13 Thread James Carman
Is there any way to specify, via JavaScript what listener method to call upon form submit? That'd be just as good as having an EventSubmit component. -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 10:32 PM To: Tapestry users Subject: Re:

<    1   2   3   4   >